mirror of
https://github.com/RetGal/Dayon.git
synced 2024-10-04 18:37:17 +03:00
346 lines
9.5 KiB
XML
346 lines
9.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<name>Dayon!</name>
|
|
<url>https://github.com/retgal/dayon</url>
|
|
<groupId>mpo.dayon</groupId>
|
|
<artifactId>dayon</artifactId>
|
|
<version>1.8.0</version>
|
|
<description>cross platform remote desktop solution</description>
|
|
<developers>
|
|
<developer>
|
|
<id>RetGal</id>
|
|
<name>Reto Galante</name>
|
|
<email>reto@galante.ch</email>
|
|
</developer>
|
|
</developers>
|
|
<inceptionYear>2019</inceptionYear>
|
|
<licenses>
|
|
<license>
|
|
<name>GPL-3</name>
|
|
<url>http://www.gnu.org/licenses/gpl-3.0.txt</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<dayon.mainClass>mpo.dayon.assisted.AssistedRunner</dayon.mainClass>
|
|
<jetbrains.annotations.version>17.0.0</jetbrains.annotations.version>
|
|
<bzip2.version>0.9.1</bzip2.version>
|
|
<grizzly-lzma.version>1.9.65</grizzly-lzma.version>
|
|
<junit.jupiter.version>5.5.0-M1</junit.jupiter.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jetbrains</groupId>
|
|
<artifactId>annotations</artifactId>
|
|
<version>${jetbrains.annotations.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.itadaki</groupId>
|
|
<artifactId>bzip2</artifactId>
|
|
<version>${bzip2.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.grizzly</groupId>
|
|
<artifactId>grizzly-lzma</artifactId>
|
|
<version>${grizzly-lzma.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<version>${junit.jupiter.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>dayon</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.0.0-M3</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>clean-package</id>
|
|
<phase>clean</phase>
|
|
<goals>
|
|
<goal>clean</goal>
|
|
</goals>
|
|
<configuration>
|
|
<filesets>
|
|
<fileset>
|
|
<directory>${basedir}/dist</directory>
|
|
<includes>
|
|
<include>**/*</include>
|
|
</includes>
|
|
</fileset>
|
|
</filesets>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<source>${maven.compiler.source}</source>
|
|
<target>${maven.compiler.target}</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
<configuration>
|
|
<archive>
|
|
<addMavenDescriptor>false</addMavenDescriptor>
|
|
<manifest>
|
|
<mainClass>${dayon.mainClass}</mainClass>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<Application-Name>Dayon!</Application-Name>
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
|
<Permissions>all-permissions</Permissions>
|
|
<Trusted-Library>true</Trusted-Library>
|
|
<Built-By>a computer</Built-By>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${basedir}/target/lib</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jarsigner-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<keystore>${basedir}/src/main/resources/trust/X509</keystore>
|
|
<alias>mykey</alias>
|
|
<storepass>spasspass</storepass>
|
|
<tsa>http://tsa.starfieldtech.com</tsa>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
<configuration>
|
|
<includeEmptyDirs>true</includeEmptyDirs>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-properties</id>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${basedir}/target/classes/mpo/dayon/common/babylon</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>${basedir}/src/main/java/mpo/dayon/common/babylon</directory>
|
|
<includes>
|
|
<include>**/*.properties</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-resources</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${basedir}/dist</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>resources</directory>
|
|
<include>**/*</include>
|
|
<exclude>deb/</exclude>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-docs</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${basedir}/dist/doc/html</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>${basedir}/docs</directory>
|
|
<include>*</include>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-libs</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${basedir}/dist</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>${basedir}/target</directory>
|
|
<include>lib/bzip*</include>
|
|
<include>lib/grizzly*</include>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-jar</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${basedir}/dist/lib</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>${basedir}/target</directory>
|
|
<include>*.jar</include>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>1.6.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>chmod-bin</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<executable>chmod</executable>
|
|
<arguments>
|
|
<argument>+x</argument>
|
|
<argument>-R</argument>
|
|
<argument>${basedir}/dist/bin</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>chmod-setup</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<executable>chmod</executable>
|
|
<arguments>
|
|
<argument>+x</argument>
|
|
<argument>${basedir}/dist/setup.sh</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.aerse.maven</groupId>
|
|
<artifactId>deb-maven-plugin</artifactId>
|
|
<version>1.8</version>
|
|
<executions>
|
|
<execution>
|
|
<id>package</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>package</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<unixUserId>root</unixUserId>
|
|
<unixGroupId>staff</unixGroupId>
|
|
<installDir>/usr/local/bin/</installDir>
|
|
<osDependencies>
|
|
<default-jre>>=2:1.8-58</default-jre>
|
|
</osDependencies>
|
|
<javaServiceWrapper>false</javaServiceWrapper>
|
|
<fileSets>
|
|
<fileSet>
|
|
<source>${basedir}/dist/dayon.png</source>
|
|
<target>dayon.png</target>
|
|
</fileSet>
|
|
<fileSet>
|
|
<source>${basedir}/dist/bin/dayon.sh</source>
|
|
<target>bin/dayon.sh</target>
|
|
</fileSet>
|
|
<fileSet>
|
|
<source>${basedir}/dist/bin/dayon_assistant.sh</source>
|
|
<target>bin/dayon_assistant.sh</target>
|
|
</fileSet>
|
|
<fileSet>
|
|
<source>${basedir}/dist/bin/dayon_assisted.sh</source>
|
|
<target>bin/dayon_assisted.sh</target>
|
|
</fileSet>
|
|
<fileSet>
|
|
<source>${basedir}/dist/doc/</source>
|
|
<target>doc</target>
|
|
</fileSet>
|
|
<fileSet>
|
|
<source>${basedir}/dist/lib/</source>
|
|
<target>lib</target>
|
|
</fileSet>
|
|
<fileSet>
|
|
<source>${basedir}/resources/deb/</source>
|
|
<target>deb</target>
|
|
</fileSet>
|
|
</fileSets>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|