• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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-bullet</artifactId>
12  <packaging>jar</packaging>
13  <name>libGDX Bullet</name>
14
15  <dependencies>
16    <dependency>
17      <groupId>${project.groupId}</groupId>
18      <artifactId>gdx-jnigen</artifactId>
19      <version>${project.version}</version>
20      <optional>true</optional>
21    </dependency>
22    <dependency>
23      <groupId>${project.groupId}</groupId>
24      <artifactId>gdx</artifactId>
25      <version>${project.version}</version>
26    </dependency>
27  </dependencies>
28
29  <build>
30    <sourceDirectory>src</sourceDirectory>
31
32    <plugins>
33      <plugin>
34        <groupId>org.codehaus.mojo</groupId>
35        <artifactId>build-helper-maven-plugin</artifactId>
36        <version>1.8</version>
37        <executions>
38          <execution>
39            <id>add-source</id>
40            <phase>generate-sources</phase>
41            <goals>
42              <goal>add-source</goal>
43            </goals>
44            <configuration>
45              <sources>
46                <source>jni/swig-src/linearmath</source>
47                <source>jni/swig-src/collision</source>
48                <source>jni/swig-src/dynamics</source>
49                <source>jni/swig-src/softbody</source>
50                <source>jni/swig-src/extras</source>
51              </sources>
52            </configuration>
53          </execution>
54        </executions>
55      </plugin>
56      <plugin>
57        <groupId>org.apache.maven.plugins</groupId>
58        <artifactId>maven-source-plugin</artifactId>
59        <executions>
60          <execution>
61            <id>attach-sources</id>
62            <phase>generate-resources</phase>
63            <goals>
64              <goal>jar-no-fork</goal>
65            </goals>
66          </execution>
67        </executions>
68      </plugin>
69    </plugins>
70
71    <resources>
72      <resource>
73        <directory>src</directory>
74        <includes>
75          <include>**/*</include>
76        </includes>
77        <excludes>
78          <exclude>**/*.java</exclude>
79        </excludes>
80      </resource>
81      <resource>
82        <directory>jni/swig-src</directory>
83        <includes>
84          <include>**/*</include>
85        </includes>
86        <excludes>
87          <exclude>**/*.java</exclude>
88        </excludes>
89      </resource>
90    </resources>
91  </build>
92</project>
93