diff --git a/pom.xml b/pom.xml index 848f918..149270c 100644 --- a/pom.xml +++ b/pom.xml @@ -46,6 +46,15 @@ + src/main/java + + + + kr.motd.maven + os-maven-plugin + 1.7.0 + + @@ -82,6 +91,45 @@ maven-failsafe-plugin 3.0.0-M5 + + org.apache.maven.plugins + maven-assembly-plugin + 3.3.0 + + + org.jreleaser + jreleaser-maven-plugin + 0.10.0 + + + com.mycila + license-maven-plugin + 4.1 + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0-M3 + + + net.revelc.code.formatter + formatter-maven-plugin + 2.17.1 + + etc/eclipse-formatter-config.xml + + + + net.revelc.code + impsort-maven-plugin + 1.6.2 + + java.,javax.,org.,com. + true + true + + + @@ -136,6 +184,103 @@ + + + org.apache.maven.plugins + maven-assembly-plugin + + false + false + CheckSum${project.version}-${os.detected.classifier} + ${app.distribution.directory} + ${project.build.directory}/assembly/work + true + + + + make-distribution + package + + single + + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-plugin-versions + + enforce + + + + + [${java.version},) + + + true + true + true + clean,deploy,site + + + + + + + + + com.mycila + license-maven-plugin + +
etc/license.txt
+ true + true + + LICENSE.txt + +
+ + + + check + + + +
+ + + net.revelc.code.formatter + formatter-maven-plugin + + + format + + format + + process-sources + + + + + + net.revelc.code + impsort-maven-plugin + + + sort-imports + + sort + + process-sources + + + +
@@ -152,7 +297,6 @@ org.graalvm.buildtools native-maven-plugin - true @@ -183,6 +327,108 @@ + + + dist + + + dist + + + + + + org.apache.maven.plugins + maven-assembly-plugin + + false + + src/main/assembly/assembly.xml + + + + + + + + + dist-windows + + + windows + + + + .exe + + + + + release + + + + org.jreleaser + jreleaser-maven-plugin + + + + + + + + + + RELEASE + true + true + + + + + + + + + rrajesh1979 + true + + + + + checksum + NATIVE_IMAGE + + + {{artifactsDir}}/{{distributionName}}-{{projectVersion}}-linux-x86_64.tar.gz + artifacts/{{distributionName}}-{{projectEffectiveVersion}}-linux-x86_64.tar.gz + linux-x86_64 + + + {{artifactsDir}}/{{distributionName}}-{{projectVersion}}-linux-x86_64.zip + artifacts/{{distributionName}}-{{projectEffectiveVersion}}-linux-x86_64.zip + linux-x86_64 + + + {{artifactsDir}}/{{distributionName}}-{{projectVersion}}-windows-x86_64.zip + artifacts/{{distributionName}}-{{projectEffectiveVersion}}-windows-x86_64.zip + windows-x86_64 + + + {{artifactsDir}}/{{distributionName}}-{{projectVersion}}-osx-x86_64.zip + artifacts/{{distributionName}}-{{projectEffectiveVersion}}-osx-x86_64.zip + osx-x86_64 + + + + + + + + + + + \ No newline at end of file