diff --git a/pom.xml b/pom.xml index d9f294d..86d0a3c 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ com.getpcpanel pcpanel - 1.2-SNAPSHOT + 1.2 PCPanel controller software @@ -21,7 +21,6 @@ ${java.version} ${java.version} - com.getpcpanel.Main com.getpcpanel.Main PCPanel @@ -35,7 +34,6 @@ 18.0.1 5.11.0 9.3 - 1.18.24 ALL-UNNAMED @@ -45,6 +43,28 @@ org.springframework.boot spring-boot-starter + + org.apache.logging.log4j + log4j-core + + + com.fasterxml.jackson.core + jackson-databind + + + org.projectlombok + lombok + provided + + + org.apache.commons + commons-lang3 + + + javax.mail + javax.mail-api + + net.java.dev.jna jna @@ -55,7 +75,6 @@ jna-platform ${jna.version} - org.openjfx javafx-controls @@ -71,81 +90,42 @@ javafx-fxml ${javafx.version} - - - com.fasterxml.jackson.core - jackson-databind - 2.13.3 - commons-io commons-io 2.11.0 - - - org.apache.commons - commons-lang3 - 3.12.0 - - - org.hid4java hid4java 0.7.0 - org.java-websocket Java-WebSocket 1.5.3 - - org.apache.logging.log4j - log4j-core - 2.17.2 - - - - org.projectlombok - lombok - ${lombok.version} - provided - - one.util streamex 0.8.1 - org.ow2.asm asm ${asm.version} - org.ow2.asm asm-commons 9.3 - org.ow2.asm asm-util 9.3 - - - - javax.mail - javax.mail-api - 1.6.2 - - javax.activation activation @@ -155,21 +135,17 @@ org.junit.jupiter junit-jupiter-engine - 5.8.2 test org.junit.jupiter junit-jupiter-params - 5.8.2 test - - kr.motd.maven os-maven-plugin @@ -178,8 +154,6 @@ - ${project.basedir}/src/packaging true ${project.build.directory}/packaging @@ -191,7 +165,6 @@ application.properties - ${project.basedir}/src/main/resources @@ -217,24 +190,18 @@ maven-dependency-plugin - copy-dependencies package copy-dependencies - org.openjfx - org.apache.maven.plugins maven-jar-plugin @@ -242,12 +209,11 @@ - org.openjfx javafx-maven-plugin 0.0.8 - ${main-class} + ${start-class} @@ -256,7 +222,6 @@ - io.github.wiverson jtoolprovider-plugin 1.0.34 @@ -285,13 +250,6 @@ - jpackage install @@ -337,7 +295,6 @@ --add-exports=javafx.controls/com.sun.javafx.scene.control.skin.resources=${module.name} --add-exports=javafx.base/com.sun.javafx.event=${module.name} - org.projectlombok @@ -350,65 +307,24 @@ - - org.apache.maven.plugins - maven-clean-plugin - 3.1.0 - - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.1 - - - org.apache.maven.plugins - maven-dependency-plugin - 3.2.0 - - - org.apache.maven.plugins - maven-install-plugin - 3.0.0-M1 - - - org.apache.maven.plugins - maven-jar-plugin - 3.2.0 - org.apache.maven.plugins maven-project-info-reports-plugin 3.1.2 - - org.apache.maven.plugins - maven-resources-plugin - 3.2.0 - - org.apache.maven.plugins maven-site-plugin 3.9.1 - - org.apache.maven.plugins - maven-surefire-plugin - 3.0.0-M5 - - - org.codehaus.mojo versions-maven-plugin - 2.8.1 diff --git a/src/packaging/windows-jpackage.txt b/src/packaging/windows-jpackage.txt index 6e9fd4b..5b2bc43 100644 --- a/src/packaging/windows-jpackage.txt +++ b/src/packaging/windows-jpackage.txt @@ -4,7 +4,7 @@ --icon "@project.basedir@/app-icon.ico" --dest "@project.build.directory@" --main-jar @project.build.finalName@.jar ---main-class @main-class@ +--main-class @start-class@ --input "@project.build.directory@/dependency" --app-version @app.version@ --runtime-image "@project.build.directory@/jvm-image"