216 lines
8.5 KiB
XML
216 lines
8.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>
|
|
|
|
<groupId>ru.kirillius</groupId>
|
|
<artifactId>mikrotik-container-backup-utility</artifactId>
|
|
<version>1.0.0.0</version>
|
|
|
|
<properties>
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<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-shade-plugin</artifactId>
|
|
<version>1.4</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>module-info.class</exclude>
|
|
<exclude>JDOMAbout*class</exclude>
|
|
<exclude>META-INF/*.SF</exclude>
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
<transformers>
|
|
<transformer
|
|
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<manifestEntries>
|
|
<Main-Class>ru.kirillius.mktbk.App</Main-Class>
|
|
</manifestEntries>
|
|
</transformer>
|
|
</transformers>
|
|
<shadedArtifactAttached>true
|
|
</shadedArtifactAttached> <!-- Make the shaded artifact not the main one -->
|
|
<shadedClassifierName>shaded</shadedClassifierName> <!-- set the suffix to the shaded jar -->
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<!-- This calls launch4j to create the program EXE -->
|
|
<groupId>com.akathist.maven.plugins.launch4j</groupId>
|
|
<artifactId>launch4j-maven-plugin</artifactId>
|
|
<version>2.1.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>l4j-wrapper</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>launch4j</goal>
|
|
</goals>
|
|
<configuration>
|
|
<headerType>console</headerType>
|
|
<downloadUrl>https://aws.amazon.com/ru/corretto/</downloadUrl>
|
|
<outfile>target/mktbk.exe</outfile>
|
|
<jar>
|
|
${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar
|
|
</jar>
|
|
<errTitle/>
|
|
<classPath>
|
|
<mainClass>ru.kirillius.mktbk.App</mainClass>
|
|
<addDependencies>false</addDependencies>
|
|
<preCp>anything</preCp>
|
|
</classPath>
|
|
<icon>src/main/resources/icon.ico</icon>
|
|
<jre>
|
|
<path>./data</path>
|
|
<minVersion>${maven.compiler.source}</minVersion>
|
|
<maxVersion/>
|
|
</jre>
|
|
|
|
<versionInfo>
|
|
<fileVersion>${project.version}</fileVersion>
|
|
<txtFileVersion>${project.version}</txtFileVersion>
|
|
<fileDescription>mktbk</fileDescription>
|
|
<copyright>copy left</copyright>
|
|
<productVersion>${project.version}</productVersion>
|
|
<txtProductVersion>${project.version}</txtProductVersion>
|
|
<productName>mktbk</productName>
|
|
<companyName>Y U SO SRS?</companyName>
|
|
<internalName>mktbk</internalName>
|
|
<originalFilename>mktbk.exe</originalFilename>
|
|
<language>ENGLISH_US</language>
|
|
</versionInfo>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>kirillius</id>
|
|
<name>kirillius</name>
|
|
<url>https://repo.kirillius.ru/maven</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>always</updatePolicy>
|
|
<checksumPolicy>fail</checksumPolicy>
|
|
</releases>
|
|
<layout>default</layout>
|
|
</repository>
|
|
</repositories>
|
|
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>ru.kirillius.utils</groupId>
|
|
<artifactId>common-logging</artifactId>
|
|
<version>1.3.0.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-compress</artifactId>
|
|
<version>1.20</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>2.0.16</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-jdk14 -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-jdk14</artifactId>
|
|
<version>2.0.16</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<version>5.11.4</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<version>5.11.4</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>me.legrange</groupId>
|
|
<artifactId>mikrotik</artifactId>
|
|
<version>3.0.8</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.36</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.easytesting/fest-assert-core -->
|
|
<dependency>
|
|
<groupId>org.easytesting</groupId>
|
|
<artifactId>fest-assert-core</artifactId>
|
|
<version>2.0M10</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.hierynomus/sshj -->
|
|
<dependency>
|
|
<groupId>com.hierynomus</groupId>
|
|
<artifactId>sshj</artifactId>
|
|
<version>0.39.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ru.kirillius</groupId>
|
|
<artifactId>json-convert</artifactId>
|
|
<version>2.1.0.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</project> |