<?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>com.badlogicgames.gdx</groupId> <artifactId>gdx-parent</artifactId> <version>1.9.3</version> <relativePath>../../pom.xml</relativePath> </parent> <artifactId>gdx-bullet</artifactId> <packaging>jar</packaging> <name>libGDX Bullet</name> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>gdx-jnigen</artifactId> <version>${project.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>gdx</artifactId> <version>${project.version}</version> </dependency> </dependencies> <build> <sourceDirectory>src</sourceDirectory> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.8</version> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>jni/swig-src/linearmath</source> <source>jni/swig-src/collision</source> <source>jni/swig-src/dynamics</source> <source>jni/swig-src/softbody</source> <source>jni/swig-src/extras</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <phase>generate-resources</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> </plugins> <resources> <resource> <directory>src</directory> <includes> <include>**/*</include> </includes> <excludes> <exclude>**/*.java</exclude> </excludes> </resource> <resource> <directory>jni/swig-src</directory> <includes> <include>**/*</include> </includes> <excludes> <exclude>**/*.java</exclude> </excludes> </resource> </resources> </build> </project>