Skip to content

Instantly share code, notes, and snippets.

@haegrr
Created September 8, 2013 14:16
Show Gist options
  • Save haegrr/6485022 to your computer and use it in GitHub Desktop.
Save haegrr/6485022 to your computer and use it in GitHub Desktop.
POM for texturepacker-maven-plugin
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>pm.monkey.mygame</groupId>
<artifactId>mygame</artifactId>
<version>0.1.0-SNAPSHOT</version>
</parent>
<artifactId>mygame-assets</artifactId>
<name>My Game (assets)</name>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>pm.monkey.maven.plugins.texturepacker</groupId>
<artifactId>texturepacker-maven-plugin</artifactId>
<version>0.1.0-SNAPSHOT</version>
<configuration>
<inputDir>managed/gfx</inputDir>
<outputDir>${project.build.outputDirectory}/gfx</outputDir>
<packFileName>pack.atlas</packFileName>
</configuration>
<executions>
<execution>
<id>pack</id>
<goals>
<goal>pack</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>unmanaged</directory>
</resource>
</resources>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment