Created
February 4, 2015 04:19
-
-
Save njd5475/1109a01cec0afbd64b68 to your computer and use it in GitHub Desktop.
LWJGL maven project pom file example
This file contains 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
<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><!-- TODO: Insert your groupId here e.g. My Project --></groupId> | |
<artifactId><!-- TODO: Insert your artifactId here e.g. MyProject --></artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<name><!-- TODO: Insert your "My Project" name here --></name> | |
<description><!-- TODO: Insert you projects description here --></description> | |
<dependencies> | |
<dependency> | |
<groupId>org.lwjgl.lwjgl</groupId> | |
<artifactId>lwjgl</artifactId> | |
<version>2.8.1</version> | |
</dependency> | |
<dependency> | |
<groupId>org.lwjgl.lwjgl</groupId> | |
<artifactId>lwjgl_util</artifactId> | |
<version>2.8.1</version> | |
</dependency> | |
<dependency> | |
<groupId>org.l33tlabs.twl</groupId> | |
<artifactId>pngdecoder</artifactId> | |
<version>1.0</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.3.2</version> | |
<configuration> | |
<source>1.8</source> | |
<target>1.8</target> | |
<encoding>UTF-8</encoding> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>com.googlecode.mavennatives</groupId> | |
<artifactId>maven-nativedependencies-plugin</artifactId> | |
<version>0.0.6</version> | |
<configuration> | |
<nativesTargetDir>.</nativesTargetDir> | |
<separateDirs>false</separateDirs> | |
</configuration> | |
<executions> | |
<execution> | |
<id>unpacknatives</id> | |
<phase>generate-resources</phase> | |
<goals> | |
<goal>copy</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<properties> | |
<main.class><!-- TODO: Insert your main class here --></main.class> | |
</properties> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Target dir is "." so you can use this pom to run from eclipse without having to change your run configuration.