1 <?xml version="1.0" encoding="UTF-8"?> 2 <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"> 3 <modelVersion>4.0.0</modelVersion> 4 <parent> 5 <groupId>com.badlogicgames.gdx</groupId> 6 <artifactId>gdx-parent</artifactId> 7 <version>1.9.3</version> 8 <relativePath>../../pom.xml</relativePath> 9 </parent> 10 11 <artifactId>gdx-backend-lwjgl3</artifactId> 12 <packaging>jar</packaging> 13 <name>libGDX LWJGL 3 Backend</name> 14 15 <dependencies> 16 <dependency> 17 <groupId>${project.groupId}</groupId> 18 <artifactId>gdx</artifactId> 19 <version>${project.version}</version> 20 </dependency> 21 22 <dependency> 23 <groupId>org.lwjgl</groupId> 24 <artifactId>lwjgl</artifactId> 25 <version>${lwjgl3.version}</version> 26 </dependency> 27 28 <dependency> 29 <groupId>org.lwjgl</groupId> 30 <artifactId>lwjgl-platform</artifactId> 31 <version>${lwjgl3.version}</version> 32 <classifier>natives-windows</classifier> 33 </dependency> 34 35 <dependency> 36 <groupId>org.lwjgl</groupId> 37 <artifactId>lwjgl-platform</artifactId> 38 <version>${lwjgl3.version}</version> 39 <classifier>natives-linux</classifier> 40 </dependency> 41 42 <dependency> 43 <groupId>org.lwjgl</groupId> 44 <artifactId>lwjgl-platform</artifactId> 45 <version>${lwjgl3.version}</version> 46 <classifier>natives-osx</classifier> 47 </dependency> 48 49 <dependency> 50 <groupId>com.badlogicgames.jlayer</groupId> 51 <artifactId>jlayer</artifactId> 52 <version>1.0.1-gdx</version> 53 </dependency> 54 55 <dependency> 56 <groupId>org.jcraft</groupId> 57 <artifactId>jorbis</artifactId> 58 <version>0.0.17</version> 59 </dependency> 60 <dependency> 61 <groupId>com.apple</groupId> 62 <artifactId>AppleJavaExtensions</artifactId> 63 <version>1.4</version> 64 <scope>compile</scope> 65 <optional>true</optional> 66 </dependency> 67 </dependencies> 68 69 <build> 70 <sourceDirectory>src</sourceDirectory> 71 72 <plugins> 73 <plugin> 74 <groupId>org.apache.maven.plugins</groupId> 75 <artifactId>maven-compiler-plugin</artifactId> 76 <configuration> 77 <excludes> 78 <exclude>com/badlogic/gdx/backends/gwt/emu/java/lang/System.java</exclude> 79 </excludes> 80 </configuration> 81 </plugin> 82 83 <plugin> 84 <groupId>org.apache.maven.plugins</groupId> 85 <artifactId>maven-source-plugin</artifactId> 86 <executions> 87 <execution> 88 <id>attach-sources</id> 89 <phase>generate-resources</phase> 90 <goals> 91 <goal>jar-no-fork</goal> 92 </goals> 93 </execution> 94 </executions> 95 </plugin> 96 </plugins> 97 </build> 98 </project> 99