2017-05-01 20:19:51 +02:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2017-12-10 01:09:27 +01:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.warp.picalculator</groupId>
|
|
|
|
<artifactId>warppi-calculator</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<name>WarpPI Calculator</name>
|
|
|
|
<url>http://warp.ovh</url>
|
2017-11-19 12:55:48 +01:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>oss-snapshots-repo</id>
|
|
|
|
<name>Sonatype OSS Maven Repository</name>
|
|
|
|
<url>https://oss.sonatype.org/content/groups/public</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
2018-03-22 10:06:31 +01:00
|
|
|
<!--
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>windows-profile</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
<file>
|
|
|
|
<exists>${JAVA_HOME}/lib/tools.jar</exists>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<toolsjar>${JAVA_HOME}/lib/tools.jar</toolsjar>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>mac-profile</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
<file>
|
|
|
|
<exists>${java.home}/../lib/tools.jar</exists>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<toolsjar>${java.home}/../lib/tools.jar</toolsjar>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
-->
|
2017-12-10 01:09:27 +01:00
|
|
|
<dependencies>
|
2018-03-22 10:06:31 +01:00
|
|
|
<!--<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId>
|
|
|
|
<version>4.12</version> <scope>test</scope> </dependency> -->
|
2017-11-19 22:58:37 +01:00
|
|
|
<dependency>
|
2017-12-10 01:09:27 +01:00
|
|
|
<groupId>it.unimi.dsi</groupId>
|
|
|
|
<artifactId>fastutil</artifactId>
|
|
|
|
<version>7.2.0</version>
|
2017-11-19 22:58:37 +01:00
|
|
|
</dependency>
|
2017-12-10 01:09:27 +01:00
|
|
|
<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>
|
|
|
|
<version>1.2-SNAPSHOT</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.fusesource.jansi</groupId>
|
|
|
|
<artifactId>jansi</artifactId>
|
|
|
|
<version>1.15</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ar.com.hjg</groupId>
|
|
|
|
<artifactId>pngj</artifactId>
|
|
|
|
<version>2.1.0</version>
|
|
|
|
</dependency>
|
2018-03-22 10:06:31 +01:00
|
|
|
<dependency>
|
2018-03-22 20:40:41 +01:00
|
|
|
<groupId>org.eclipse.jdt.core.compiler</groupId>
|
|
|
|
<artifactId>ecj</artifactId>
|
|
|
|
<version>4.6.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.lingala.zip4j</groupId>
|
|
|
|
<artifactId>zip4j</artifactId>
|
|
|
|
<version>1.3.2</version>
|
2018-03-22 10:06:31 +01:00
|
|
|
</dependency>
|
2017-12-10 01:09:27 +01:00
|
|
|
</dependencies>
|
|
|
|
<properties>
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
</properties>
|
|
|
|
<build>
|
2017-05-01 20:19:51 +02:00
|
|
|
<finalName>WarpPICalculator</finalName>
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<!-- download source code in Eclipse, best practice -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
|
|
<version>2.9</version>
|
|
|
|
<configuration>
|
|
|
|
<downloadSources>true</downloadSources>
|
|
|
|
<downloadJavadocs>false</downloadJavadocs>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2018-03-01 09:39:47 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>3.0.2</version>
|
|
|
|
<configuration>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2017-05-01 20:19:51 +02:00
|
|
|
<!-- Set a compiler level -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>2.3.2</version>
|
|
|
|
<configuration>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
2018-03-01 09:39:47 +01:00
|
|
|
<encoding>UTF-8</encoding>
|
2017-05-01 20:19:51 +02:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Maven Assembly Plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>2.4.1</version>
|
|
|
|
<configuration>
|
|
|
|
<!-- get all project dependencies -->
|
|
|
|
<descriptorRefs>
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
|
</descriptorRefs>
|
|
|
|
<!-- MainClass in mainfest make a executable jar -->
|
|
|
|
<archive>
|
2017-12-10 01:09:27 +01:00
|
|
|
<manifest>
|
|
|
|
<mainClass>org.warp.picalculator.Main</mainClass>
|
|
|
|
</manifest>
|
2017-05-01 20:19:51 +02:00
|
|
|
</archive>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
2017-12-10 01:09:27 +01:00
|
|
|
<execution>
|
|
|
|
<id>make-assembly</id>
|
|
|
|
<!-- bind to the packaging phase -->
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
2017-05-01 20:19:51 +02:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2017-12-10 01:09:27 +01:00
|
|
|
<!-- <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId> <version>2.4</version> <configuration>
|
|
|
|
<failOnError>false</failOnError> <source>1.8</source> <target>1.8</target>
|
|
|
|
<archive> <manifest> <addClasspath>true</addClasspath> <classpathPrefix>libs/</classpathPrefix>
|
|
|
|
<mainClass>org.warp.picalculator.Main</mainClass> </manifest> </archive>
|
|
|
|
</configuration> </plugin> </plugins> </build> -->
|
2017-05-01 20:19:51 +02:00
|
|
|
</project>
|