Created
June 10, 2012 20:23
-
-
Save sourcerebels/2907210 to your computer and use it in GitHub Desktop.
Maven > Slick2d (Game Library) > Pom
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: | |
http://www.lwjgl.org/wiki/index.php?title=Setting_Up_LWJGL_with_Maven |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>myProject</groupId> | |
<artifactId>myGame</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<natives.version>0.0.6</natives.version> | |
<lwjgl.version>2.8.2</lwjgl.version> | |
<slick.version>274</slick.version> | |
<junit.version>4.10</junit.version> | |
</properties> | |
<repositories> | |
<repository> | |
<id>mavenNatives</id> | |
<name>Maven Natives Repository</name> | |
<url>http://mavennatives.googlecode.com/svn/repo</url> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</repository> | |
<repository> | |
<id>slick</id> | |
<name>slick</name> | |
<url>http://slick.cokeandcode.com/mavenrepo</url> | |
</repository> | |
</repositories> | |
<dependencies> | |
<dependency> | |
<groupId>org.lwjgl.lwjgl</groupId> | |
<artifactId>lwjgl</artifactId> | |
<version>${lwjgl.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>slick</groupId> | |
<artifactId>slick</artifactId> | |
<version>${slick.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>java3d</groupId> | |
<artifactId>vecmath</artifactId> | |
<version>1.3.1</version> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>${junit.version}</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<configuration> | |
<source>1.6</source> | |
<target>1.6</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>com.googlecode.mavennatives</groupId> | |
<artifactId>maven-nativedependencies-plugin</artifactId> | |
<version>${natives.version}</version> | |
<executions> | |
<execution> | |
<id>unpacknatives</id> | |
<phase>generate-resources</phase> | |
<goals> | |
<!--suppress MavenModelInspection (this line is for IDEA) --> | |
<goal>copy</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
<pluginManagement> | |
<plugins> | |
<plugin> | |
<groupId>org.eclipse.m2e</groupId> | |
<artifactId>lifecycle-mapping</artifactId> | |
<version>1.0.0</version> | |
<configuration> | |
<lifecycleMappingMetadata> | |
<pluginExecutions> | |
<pluginExecution> | |
<pluginExecutionFilter> | |
<groupId>com.googlecode.mavennatives</groupId> | |
<artifactId>maven-nativedependencies-plugin</artifactId> | |
<versionRange>[0.0.1,)</versionRange> | |
<goals> | |
<goal>copy</goal> | |
</goals> | |
</pluginExecutionFilter> | |
<action> | |
<execute> | |
<runOnIncremental>false</runOnIncremental> | |
</execute> | |
</action> | |
</pluginExecution> | |
</pluginExecutions> | |
</lifecycleMappingMetadata> | |
</configuration> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment