Updated pom and gitignore

This commit is contained in:
Andrea Cavalli 2018-07-23 01:16:40 +02:00
parent 20097e1fcb
commit 9ff7bfbe75
2 changed files with 120 additions and 67 deletions

1
.gitignore vendored
View File

@ -20,6 +20,7 @@ VBO_Example.java
/target/
!/target/*.jar
!/libs/*.jar
/backups/
/Resources_and_Videos/

72
pom.xml
View File

@ -41,6 +41,48 @@
</pluginRepository>
</pluginRepositories>
<profiles>
<profile>
<id>aarch64</id>
<properties>
<src.useAarch64Libraries>true</src.useAarch64Libraries>
</properties>
<activation>
<os>
<family>Linux</family>
<arch>aarch64</arch>
</os>
</activation>
<dependencies>
<dependency>
<groupId>org.jogamp.jogl</groupId>
<artifactId>jogl-all-main</artifactId>
<version>2.4</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/jogl 2.4/jogl-all.jar</systemPath>
</dependency>
<dependency>
<groupId>org.jogamp.jogl</groupId>
<artifactId>jogl-all-natives-linux-aarch64-main</artifactId>
<version>2.4</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/jogl 2.4/jogl-all-natives-linux-aarch64.jar</systemPath>
</dependency>
<dependency>
<groupId>org.jogamp.gluegen</groupId>
<artifactId>gluegen-rt-main</artifactId>
<version>2.4</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/jogl 2.4/gluegen-rt.jar</systemPath>
</dependency>
<dependency>
<groupId>org.jogamp.gluegen</groupId>
<artifactId>gluegen-rt-natives-linux-aarch64-main</artifactId>
<version>2.4</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/jogl 2.4/gluegen-rt-natives-linux-aarch64.jar</systemPath>
</dependency>
</dependencies>
</profile>
<profile>
<id>jarprofile</id>
<properties>
@ -51,16 +93,6 @@
<activeByDefault>true</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>org.jogamp.jogl</groupId>
<artifactId>jogl-all-main</artifactId>
<version>2.3.2</version>
</dependency>
<dependency>
<groupId>org.jogamp.gluegen</groupId>
<artifactId>gluegen-rt-main</artifactId>
<version>2.3.2</version>
</dependency>
<dependency>
<groupId>com.pi4j</groupId>
<artifactId>pi4j-core</artifactId>
@ -100,6 +132,26 @@
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jarprofile-not-aarch64</id>
<activation>
<property>
<name>!src.useAarch64Libraries</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.jogamp.jogl</groupId>
<artifactId>jogl-all-main</artifactId>
<version>2.3.2</version>
</dependency>
<dependency>
<groupId>org.jogamp.gluegen</groupId>
<artifactId>gluegen-rt-main</artifactId>
<version>2.3.2</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>jsprofile</id>