This repository has been archived on 2025-01-09. You can view files and clone it, but cannot push or open issues or pull requests.
cooler-controller/App/pom.xml

183 lines
8.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
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>cooler.controller</artifactId>
<version>2.0.0.0</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>10</source>
<target>10</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.cooler.controller.Application</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>gui</headerType>
<downloadUrl>https://aws.amazon.com/ru/corretto/</downloadUrl>
<outfile>target/coolcfg.exe</outfile>
<jar>
${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar
</jar>
<errTitle/>
<classPath>
<mainClass>ru.kirillius.cooler.controller.Application</mainClass>
<addDependencies>false</addDependencies>
<preCp>anything</preCp>
</classPath>
<icon>src/main/resources/icon.ico</icon>
<jre>
<path>./runtime</path>
<minVersion>10.0</minVersion>
<maxVersion/>
<opts>
<opt>-Dfile.encoding=UTF-8</opt>
</opts>
</jre>
<versionInfo>
<fileVersion>${project.version}</fileVersion>
<txtFileVersion>${project.version}</txtFileVersion>
<fileDescription>cooler controller configurator</fileDescription>
<copyright>copy left</copyright>
<productVersion>${project.version}</productVersion>
<txtProductVersion>${project.version}</txtProductVersion>
<productName>cooler controller configurator</productName>
<companyName>kirillius.ru</companyName>
<internalName>coolcfg</internalName>
<originalFilename>coolcfg.exe</originalFilename>
<language>ENGLISH_US</language>
</versionInfo>
</configuration>
</execution>
<execution>
<id>l4j-wrapper-console</id>
<phase>package</phase>
<goals>
<goal>launch4j</goal>
</goals>
<configuration>
<headerType>console</headerType>
<downloadUrl>https://aws.amazon.com/ru/corretto/</downloadUrl>
<outfile>target/coolcfg-debug.exe</outfile>
<jar>
${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar
</jar>
<errTitle/>
<classPath>
<mainClass>ru.kirillius.cooler.controller.Application</mainClass>
<addDependencies>false</addDependencies>
<preCp>anything</preCp>
</classPath>
<icon>src/main/resources/icon.ico</icon>
<jre>
<path>./runtime</path>
<minVersion>10.0</minVersion>
<maxVersion/>
<opts>
<opt>-Dfile.encoding=UTF-8</opt>
<opt>-Dyabba=ICING</opt>
</opts>
</jre>
<versionInfo>
<fileVersion>${project.version}</fileVersion>
<txtFileVersion>${project.version}</txtFileVersion>
<fileDescription>cooler controller configurator</fileDescription>
<copyright>copy left</copyright>
<productVersion>${project.version}</productVersion>
<txtProductVersion>${project.version}</txtProductVersion>
<productName>cooler controller configurator</productName>
<companyName>kirillius.ru</companyName>
<internalName>coolcfg</internalName>
<originalFilename>coolcfg.exe</originalFilename>
<language>ENGLISH_US</language>
</versionInfo>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<maven.compiler.source>10</maven.compiler.source>
<maven.compiler.target>10</maven.compiler.target>
</properties>
<dependencies>
<!-- https://mvnrepository.com/artifact/com.fazecast/jSerialComm -->
<dependency>
<groupId>com.fazecast</groupId>
<artifactId>jSerialComm</artifactId>
<version>2.9.1</version>
</dependency>
<dependency>
<groupId>com.formdev</groupId>
<artifactId>flatlaf</artifactId>
<version>2.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.intellij/forms_rt -->
<dependency>
<groupId>com.intellij</groupId>
<artifactId>forms_rt</artifactId>
<version>7.0.3</version>
</dependency>
</dependencies>
</project>