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/
!/target/*.jar !/target/*.jar
!/libs/*.jar
/backups/ /backups/
/Resources_and_Videos/ /Resources_and_Videos/

174
pom.xml
View File

@ -41,71 +41,123 @@
</pluginRepository> </pluginRepository>
</pluginRepositories> </pluginRepositories>
<profiles> <profiles>
<profile> <profile>
<id>jarprofile</id> <id>aarch64</id>
<properties> <properties>
<src.dir>jar-specific</src.dir> <src.useAarch64Libraries>true</src.useAarch64Libraries>
<src.resdir>src/main/rules</src.resdir> </properties>
</properties> <activation>
<activation> <os>
<activeByDefault>true</activeByDefault> <family>Linux</family>
</activation> <arch>aarch64</arch>
<dependencies> </os>
<dependency> </activation>
<groupId>org.jogamp.jogl</groupId> <dependencies>
<artifactId>jogl-all-main</artifactId> <dependency>
<version>2.3.2</version> <groupId>org.jogamp.jogl</groupId>
</dependency> <artifactId>jogl-all-main</artifactId>
<dependency> <version>2.4</version>
<groupId>org.jogamp.gluegen</groupId> <scope>system</scope>
<artifactId>gluegen-rt-main</artifactId> <systemPath>${project.basedir}/libs/jogl 2.4/jogl-all.jar</systemPath>
<version>2.3.2</version> </dependency>
</dependency> <dependency>
<dependency> <groupId>org.jogamp.jogl</groupId>
<groupId>com.pi4j</groupId> <artifactId>jogl-all-natives-linux-aarch64-main</artifactId>
<artifactId>pi4j-core</artifactId> <version>2.4</version>
<version>1.2-SNAPSHOT</version> <scope>system</scope>
</dependency> <systemPath>${project.basedir}/libs/jogl 2.4/jogl-all-natives-linux-aarch64.jar</systemPath>
<dependency> </dependency>
<groupId>org.fusesource.jansi</groupId> <dependency>
<artifactId>jansi</artifactId> <groupId>org.jogamp.gluegen</groupId>
<version>1.15</version> <artifactId>gluegen-rt-main</artifactId>
</dependency> <version>2.4</version>
<dependency> <scope>system</scope>
<groupId>net.lingala.zip4j</groupId> <systemPath>${project.basedir}/libs/jogl 2.4/gluegen-rt.jar</systemPath>
<artifactId>zip4j</artifactId> </dependency>
<version>1.3.2</version> <dependency>
</dependency> <groupId>org.jogamp.gluegen</groupId>
<dependency> <artifactId>gluegen-rt-natives-linux-aarch64-main</artifactId>
<groupId>org.eclipse.jdt.core.compiler</groupId> <version>2.4</version>
<artifactId>ecj</artifactId> <scope>system</scope>
<version>4.6.1</version> <systemPath>${project.basedir}/libs/jogl 2.4/gluegen-rt-natives-linux-aarch64.jar</systemPath>
</dependency> </dependency>
</dependencies> </dependencies>
<build> </profile>
<plugins> <profile>
<!-- Set a compiler level --> <id>jarprofile</id>
<plugin> <properties>
<groupId>org.apache.maven.plugins</groupId> <src.dir>jar-specific</src.dir>
<artifactId>maven-compiler-plugin</artifactId> <src.resdir>src/main/rules</src.resdir>
<version>2.3.2</version> </properties>
<configuration> <activation>
<excludes> <activeByDefault>true</activeByDefault>
<exclude>org/warp/picalculator/gui/graphicengine/html/*</exclude> </activation>
</excludes> <dependencies>
<source>1.8</source> <dependency>
<target>1.8</target> <groupId>com.pi4j</groupId>
<encoding>UTF-8</encoding> <artifactId>pi4j-core</artifactId>
</configuration> <version>1.2-SNAPSHOT</version>
</plugin> </dependency>
</plugins> <dependency>
</build> <groupId>org.fusesource.jansi</groupId>
</profile> <artifactId>jansi</artifactId>
<version>1.15</version>
</dependency>
<dependency>
<groupId>net.lingala.zip4j</groupId>
<artifactId>zip4j</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>org.eclipse.jdt.core.compiler</groupId>
<artifactId>ecj</artifactId>
<version>4.6.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Set a compiler level -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<excludes>
<exclude>org/warp/picalculator/gui/graphicengine/html/*</exclude>
</excludes>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
</configuration>
</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> <profile>
<id>jsprofile</id> <id>jsprofile</id>
<properties> <properties>
<src.dir>js-specific</src.dir> <src.dir>js-specific</src.dir>
<src.dir2>src/main/rules</src.dir2> <src.dir2>src/main/rules</src.dir2>
</properties> </properties>
<activation> <activation>
<activeByDefault>false</activeByDefault> <activeByDefault>false</activeByDefault>