2018-06-09 19:37:34 +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>
|
2018-09-02 13:36:49 +02:00
|
|
|
<groupId>it.cavallium.warppi</groupId>
|
2017-12-10 01:09:27 +01:00
|
|
|
<artifactId>warppi-calculator</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
2018-09-02 03:47:24 +02:00
|
|
|
<version>0.8-SNAPSHOT</version>
|
2017-12-10 01:09:27 +01:00
|
|
|
<name>WarpPI Calculator</name>
|
|
|
|
<url>http://warp.ovh</url>
|
2018-06-11 22:41:11 +02:00
|
|
|
<properties>
|
2018-06-09 19:37:34 +02:00
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
2018-06-11 22:41:11 +02:00
|
|
|
<src.dir>src/main/java</src.dir>
|
|
|
|
<src.dir2>src/main/java</src.dir2>
|
|
|
|
<src.resdir>src/main/resources</src.resdir>
|
2018-08-28 02:38:27 +02:00
|
|
|
<buildprops.exclude1>veryverylongandparticularpath/abcd</buildprops.exclude1>
|
2018-06-11 22:41:11 +02:00
|
|
|
</properties>
|
2017-11-19 12:55:48 +01:00
|
|
|
<repositories>
|
2018-06-09 19:37:34 +02:00
|
|
|
<repository>
|
|
|
|
<id>teavm-dev</id>
|
2018-08-28 02:38:27 +02:00
|
|
|
<url>https://dl.bintray.com/konsoletyper/teavm</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
<layout>default</layout>
|
2018-06-09 19:37:34 +02:00
|
|
|
</repository>
|
2017-11-19 12:55:48 +01:00
|
|
|
<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>
|
2018-08-28 02:38:27 +02:00
|
|
|
<repository>
|
|
|
|
<id>jitpack.io</id> <!-- JitPack allows github repo to be used as a maven repo -->
|
|
|
|
<url>https://jitpack.io</url> <!-- For documentation: http://jitpack.io/ -->
|
|
|
|
</repository>
|
2017-11-19 12:55:48 +01:00
|
|
|
</repositories>
|
2018-06-11 22:41:11 +02:00
|
|
|
<pluginRepositories>
|
2018-09-02 03:47:24 +02:00
|
|
|
<pluginRepository>
|
|
|
|
<id>1_teavm-dev</id>
|
|
|
|
<url>https://dl.bintray.com/konsoletyper/teavm</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
<layout>default</layout>
|
|
|
|
</pluginRepository>
|
2018-06-11 22:41:11 +02:00
|
|
|
</pluginRepositories>
|
2018-03-22 10:06:31 +01:00
|
|
|
<profiles>
|
2018-08-28 02:38:27 +02:00
|
|
|
<profile>
|
|
|
|
<id>aarch64</id>
|
|
|
|
<activation>
|
|
|
|
<!--<os> <family>Linux</family> <arch>aarch64</arch> </os> -->
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
2018-09-02 13:39:22 +02:00
|
|
|
<buildprops.exclude1>it/cavallium/warppi/gui/graphicengine/gpu/*</buildprops.exclude1>
|
2018-08-28 02:38:27 +02:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>jarprofile</id>
|
|
|
|
<properties>
|
|
|
|
<src.dir>jar-specific</src.dir>
|
|
|
|
<src.resdir>src/main/rules</src.resdir>
|
|
|
|
</properties>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<dependencies>
|
2018-06-09 19:37:34 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jogamp.jogl</groupId>
|
|
|
|
<artifactId>jogl-all-main</artifactId>
|
2018-09-02 14:21:08 +02:00
|
|
|
<version>2.3.2</version>
|
2018-06-09 19:37:34 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jogamp.gluegen</groupId>
|
|
|
|
<artifactId>gluegen-rt-main</artifactId>
|
|
|
|
<version>2.3.2</version>
|
|
|
|
</dependency>
|
2018-08-28 02:38:27 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.pi4j</groupId>
|
|
|
|
<artifactId>pi4j-core</artifactId>
|
|
|
|
<version>1.2-SNAPSHOT</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.fusesource.jansi</groupId>
|
|
|
|
<artifactId>jansi</artifactId>
|
2018-09-02 12:45:51 +02:00
|
|
|
<version>1.17.1</version>
|
2018-08-28 02:38:27 +02:00
|
|
|
</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>
|
2018-06-09 19:37:34 +02:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- Set a compiler level -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>2.3.2</version>
|
|
|
|
<configuration>
|
2018-09-02 03:47:24 +02:00
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
<target>${maven.compiler.target}</target>
|
2018-06-09 19:37:34 +02:00
|
|
|
<encoding>UTF-8</encoding>
|
2018-08-28 02:38:27 +02:00
|
|
|
<excludes>
|
|
|
|
<exclude>${buildprops.exclude1}</exclude>
|
|
|
|
</excludes>
|
2018-06-09 19:37:34 +02:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2018-08-28 02:38:27 +02:00
|
|
|
</profile>
|
2018-03-22 10:06:31 +01:00
|
|
|
<profile>
|
2018-09-02 12:09:59 +02:00
|
|
|
<id>teavmprofile</id>
|
2018-06-11 22:41:11 +02:00
|
|
|
<properties>
|
2018-09-02 12:09:59 +02:00
|
|
|
<src.dir>teavm-specific</src.dir>
|
2018-08-28 02:38:27 +02:00
|
|
|
<src.dir2>src/main/rules</src.dir2>
|
2018-06-11 22:41:11 +02:00
|
|
|
</properties>
|
2018-03-22 10:06:31 +01:00
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
2018-06-11 22:41:11 +02:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.teavm</groupId>
|
|
|
|
<artifactId>teavm-classlib</artifactId>
|
2018-08-28 02:38:27 +02:00
|
|
|
<version>0.6.0-dev-559</version>
|
2018-06-11 22:41:11 +02:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2018-06-09 19:37:34 +02:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2018-06-11 22:41:11 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>org.teavm:*</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>use-latest-versions</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-06-09 19:37:34 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>2.3.2</version>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
2018-09-02 13:39:22 +02:00
|
|
|
<exclude>it/cavallium/warppi/gui/graphicengine/cpu/CPUEngine</exclude>
|
|
|
|
<exclude>it/cavallium/warppi/gui/graphicengine/cpu/CPURenderer</exclude>
|
|
|
|
<exclude>it/cavallium/warppi/gui/graphicengine/cpu/SwingWindow</exclude>
|
|
|
|
<exclude>it/cavallium/warppi/gui/graphicengine/gpu/*</exclude>
|
|
|
|
<exclude>it/cavallium/warppi/gui/graphicengine/headless24bit/*</exclude>
|
|
|
|
<exclude>it/cavallium/warppi/gui/graphicengine/headless256/*</exclude>
|
|
|
|
<exclude>it/cavallium/warppi/gui/graphicengine/headless8/*</exclude>
|
|
|
|
<exclude>it/cavallium/warppi/gui/graphicengine/framebuffer/*</exclude>
|
2018-06-09 19:37:34 +02:00
|
|
|
</excludes>
|
2018-09-02 03:47:24 +02:00
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
<target>${maven.compiler.target}</target>
|
2018-06-09 19:37:34 +02:00
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.teavm</groupId>
|
|
|
|
<artifactId>teavm-maven-plugin</artifactId>
|
2018-08-28 02:38:27 +02:00
|
|
|
<version>0.6.0-dev-559</version>
|
2018-06-09 19:37:34 +02:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<configuration>
|
2018-09-02 13:36:49 +02:00
|
|
|
<mainClass>it.cavallium.warppi.boot.WarpPI</mainClass>
|
2018-06-09 19:37:34 +02:00
|
|
|
<mainPageIncluded>true</mainPageIncluded>
|
|
|
|
<debugInformationGenerated>true</debugInformationGenerated>
|
|
|
|
<sourceMapsGenerated>true</sourceMapsGenerated>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2018-03-22 10:06:31 +01:00
|
|
|
</profile>
|
|
|
|
</profiles>
|
2018-06-09 19:37:34 +02:00
|
|
|
|
|
|
|
|
2017-12-10 01:09:27 +01:00
|
|
|
<dependencies>
|
2018-08-28 02:38:27 +02:00
|
|
|
<!--<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId>
|
2018-03-22 10:06:31 +01:00
|
|
|
<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>
|
2018-09-02 12:45:51 +02:00
|
|
|
<version>8.2.1</version>
|
2017-11-19 22:58:37 +01:00
|
|
|
</dependency>
|
2017-12-10 01:09:27 +01:00
|
|
|
<dependency>
|
2018-06-09 19:37:34 +02:00
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
2018-09-02 12:45:51 +02:00
|
|
|
<version>2.8.5</version>
|
2018-04-02 00:47:33 +02:00
|
|
|
</dependency>
|
2018-06-11 22:41:11 +02:00
|
|
|
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
|
|
|
|
<dependency>
|
2018-08-28 02:38:27 +02:00
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>2.6</version>
|
2018-06-11 22:41:11 +02:00
|
|
|
</dependency>
|
2018-08-29 00:07:45 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>3.8</version>
|
|
|
|
</dependency>
|
2018-08-28 02:38:27 +02:00
|
|
|
<!-- <dependency> <groupId>ar.com.hjg</groupId> <artifactId>pngj</artifactId>
|
|
|
|
<version>2.1.0</version> </dependency> -->
|
2017-12-10 01:09:27 +01:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
2018-06-11 22:41:11 +02:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>${src.resdir}</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2017-05-01 20:19:51 +02:00
|
|
|
<finalName>WarpPICalculator</finalName>
|
|
|
|
<plugins>
|
2018-06-11 22:41:11 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<version>3.0.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-source</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>
|
|
|
|
${basedir}/src/main/java
|
|
|
|
</source>
|
|
|
|
<source>
|
|
|
|
${basedir}/src/${src.dir}/java
|
|
|
|
</source>
|
|
|
|
<source>
|
|
|
|
${basedir}/${src.dir2}
|
|
|
|
</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2017-05-01 20:19:51 +02:00
|
|
|
|
|
|
|
<!-- 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>
|
2018-06-11 22:41:11 +02:00
|
|
|
<downloadJavadocs>true</downloadJavadocs>
|
2017-05-01 20:19:51 +02:00
|
|
|
</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
|
|
|
<!-- 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>
|
2018-09-02 13:36:49 +02:00
|
|
|
<mainClass>it.cavallium.warppi.boot.WarpPI</mainClass>
|
2017-12-10 01:09:27 +01:00
|
|
|
</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>
|
2018-08-28 02:38:27 +02: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>
|
2018-09-02 13:36:49 +02:00
|
|
|
<mainClass>it.cavallium.warppi.boot.WarpPI</mainClass> </manifest> </archive>
|
2017-12-10 01:09:27 +01:00
|
|
|
</configuration> </plugin> </plugins> </build> -->
|
2017-05-01 20:19:51 +02:00
|
|
|
</project>
|