From 2b148a07e44c7f587235b4e2495c32b772e00782 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Mon, 2 May 2022 13:30:04 +0200 Subject: various pom cleanups, mostly variable names --- .gitlab-ci.yml | 8 ++-- pdf-over-gui/pom.xml | 77 ++++++++++++------------------ pdf-over-signator/pom.xml | 2 +- pdf-over-signer/pdf-over-sigpdfas3/pom.xml | 2 +- pdf-over-signer/pdf-over-sigpdfas4/pom.xml | 12 ++--- pdf-over-signer/pom.xml | 2 +- pom.xml | 4 +- 7 files changed, 46 insertions(+), 61 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bba4944d..fa8697a9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,7 +15,7 @@ build-windows: artifacts: name: "PDFOver (Windows) on $CI_COMMIT_REF_SLUG" paths: - - "pdf-over-build/pdf-over_windows.zip" + - "pdf-over-build/*" expire_in: 1 day # gitlab does not apply this to the latest successful run, only previous runs build-linux: @@ -31,7 +31,7 @@ build-linux: artifacts: name: "PDFOver (Linux) on $CI_COMMIT_REF_SLUG" paths: - - "pdf-over-build/pdf-over_linux.jar" + - "pdf-over-build/*" expire_in: 1 day build-mac: @@ -47,7 +47,7 @@ build-mac: artifacts: name: "PDFOver (Mac) on $CI_COMMIT_REF_SLUG" paths: - - "pdf-over-build/pdf-over_mac.zip" + - "pdf-over-build/*" expire_in: 1 day build-mac-aarch64: @@ -63,5 +63,5 @@ build-mac-aarch64: artifacts: name: "PDFOver (Mac M1) on $CI_COMMIT_REF_SLUG" paths: - - "pdf-over-build/pdf-over_mac-aarch64.zip" + - "pdf-over-build/*" expire_in: 1 day diff --git a/pdf-over-gui/pom.xml b/pdf-over-gui/pom.xml index aafdfe18..ecc9d963 100644 --- a/pdf-over-gui/pom.xml +++ b/pdf-over-gui/pom.xml @@ -9,23 +9,23 @@ pdf-over-gui PDF-Over GUI - 4.3.5 - ${project.basedir}${file.separator}.. - ${project.maindir}/pdf-over-build - ${project.build.directory}/staging/${target.name} - 4.23 + 4.3.5 + ${project.basedir}${file.separator}.. + ${pdfover-build.root-dir}/pdf-over-build + ${project.build.directory}/staging/${target.name} + 4.23 org.eclipse.swt ${swt.artifactId} - ${swt.version} + ${pdfover-build.swt-version} org.codehaus.izpack izpack-standalone-compiler - ${izpack-standalone.version} + ${pdfover-build.izpack-version} true @@ -141,7 +141,7 @@ - ${project.build.output-dir} + ${build.output-dir} @@ -165,7 +165,7 @@ at.asit.pdfover.gui.Main - ${staging.dir}/lib + ${pdfover-build.staging-dir}/lib @@ -179,7 +179,7 @@ copy-dependencies - ${staging.dir}/lib + ${pdfover-build.staging-dir}/lib false false true @@ -201,10 +201,10 @@ org.eclipse.swt ${swt.artifactId} - ${swt.version} + ${pdfover-build.swt-version} jar true - ${staging.dir}/lib + ${pdfover-build.staging-dir}/lib swt.jar @@ -226,7 +226,7 @@ - ${staging.dir} + ${pdfover-build.staging-dir} *.jar @@ -246,7 +246,7 @@ ${project.basedir}/../jre-bundles/${bundled-jre.archiveName}/${bundled-jre.nameInArchive} - ${project.build.output-dir}/pdf-over_${target.name}.zip/jre + ${pdfover-build.output-dir}/${pdfover-build.output-filename}/jre @@ -258,8 +258,8 @@ - ${staging.dir} - ${project.build.output-dir}/pdf-over_${target.name}.zip/ + ${pdfover-build.staging-dir} + ${pdfover-build.output-dir}/${pdfover-build.output-filename}/ @@ -281,10 +281,10 @@ jar - ${staging.dir} + ${pdfover-build.staging-dir} -ufm - pdf-over_linux.jar + ${pdfover-build.output-dir}/${pdfover-build.output-filename} ManifestEntries.mf @@ -319,7 +319,7 @@ UTF-8 - ${staging.dir} + ${pdfover-build.staging-dir} src/main/resources @@ -345,7 +345,7 @@ copy-resources - ${staging.dir} + ${pdfover-build.staging-dir} src/main/resources @@ -373,7 +373,7 @@ gui true lib/${project.artifactId}-${project.version}.jar - ${staging.dir}/PDF-Over.exe + ${pdfover-build.staging-dir}/PDF-Over.exe Error at.asit.pdfover.gui.Main @@ -408,7 +408,7 @@ console true lib/${project.artifactId}-${project.version}.jar - ${staging.dir}/PDF-Over-cli.exe + ${pdfover-build.staging-dir}/PDF-Over-cli.exe Error at.asit.pdfover.gui.Main @@ -443,7 +443,7 @@ gui true uninstaller.jar - ${staging.dir}/Uninstaller.exe + ${pdfover-build.staging-dir}/Uninstaller.exe Error com.izforge.izpack.uninstaller.Uninstaller @@ -515,7 +515,7 @@ UTF-8 - ${staging.dir} + ${pdfover-build.staging-dir} src/main/resources/izpack-linux @@ -533,24 +533,6 @@ - - copy-result - install - - copy-resources - - - ${project.build.output-dir} - - - ${staging.dir} - - pdf-over_linux.jar - - - - - @@ -575,12 +557,12 @@ org.codehaus.izpack izpack-standalone-compiler - ${izpack-standalone.version} + ${pdfover-build.izpack-version} - ${staging.dir} - ${staging.dir}/pdf-over_linux.jar + ${pdfover-build.staging-dir} + ${pdfover-build.output-dir}/${pdfover-build.output-filename} false @@ -622,6 +604,7 @@ OpenJDK11U-jre_x64_windows_hotspot_11.0.14.1_1.zip jdk-11.0.14.1+1-jre windows + pdf-over_windows-x86_64.zip @@ -674,6 +657,7 @@ OpenJDK11U-jre_x64_mac_hotspot_11.0.14.1_1.tar.gz jdk-11.0.14.1+1-jre mac + pdf-over_mac-x86_64.tar.gz @@ -693,6 +677,7 @@ OpenJDK17U-jre_aarch64_mac_hotspot_17.0.2_8.tar.gz jdk-17.0.2+8-jre mac-aarch64 + pdf-over_mac-aarch64.tar.gz @@ -782,7 +767,7 @@ local-repo - file://${project.maindir}/repo + file://${pdfover-build.root-dir}/repo diff --git a/pdf-over-signator/pom.xml b/pdf-over-signator/pom.xml index b52e32a0..93ae74e6 100644 --- a/pdf-over-signator/pom.xml +++ b/pdf-over-signator/pom.xml @@ -9,7 +9,7 @@ pdf-over-signator PDF-Over Signator - ${project.basedir}/.. + ${project.basedir}/.. diff --git a/pdf-over-signer/pdf-over-sigpdfas3/pom.xml b/pdf-over-signer/pdf-over-sigpdfas3/pom.xml index 663a2cfd..ab68cb54 100644 --- a/pdf-over-signer/pdf-over-sigpdfas3/pom.xml +++ b/pdf-over-signer/pdf-over-sigpdfas3/pom.xml @@ -9,7 +9,7 @@ pdf-over-sigpdfas3 PDF-Over PDF-AS Signer - ${project.basedir}/../.. + ${project.basedir}/../.. diff --git a/pdf-over-signer/pdf-over-sigpdfas4/pom.xml b/pdf-over-signer/pdf-over-sigpdfas4/pom.xml index 712c4ed7..e0e74c96 100644 --- a/pdf-over-signer/pdf-over-sigpdfas4/pom.xml +++ b/pdf-over-signer/pdf-over-sigpdfas4/pom.xml @@ -9,8 +9,8 @@ pdf-over-sigpdfas4 PDF-Over PDF-AS 4 Signer - ${project.basedir}/../.. - 4.2.1-SNAPSHOT + ${project.basedir}/../.. + 4.2.1-SNAPSHOT @@ -21,17 +21,17 @@ at.gv.egiz.pdfas pdf-as-lib - ${pdf-as.version} + ${pdfover-build.pdfas-version} at.gv.egiz.pdfas sigs-pades - ${pdf-as.version} + ${pdfover-build.pdfas-version} at.gv.egiz.pdfas pdf-as-pdfbox-2 - ${pdf-as.version} + ${pdfover-build.pdfas-version} iaik @@ -73,7 +73,7 @@ local-repo - file://${project.maindir}/repo + file://${pdfover-build.root-dir}/repo diff --git a/pdf-over-signer/pom.xml b/pdf-over-signer/pom.xml index 0efdc8aa..985275a6 100644 --- a/pdf-over-signer/pom.xml +++ b/pdf-over-signer/pom.xml @@ -10,7 +10,7 @@ PDF-Over PDF-Signer libraries pom - ${project.basedir}/.. + ${project.basedir}/.. diff --git a/pom.xml b/pom.xml index f88eb29a..99e46a7e 100644 --- a/pom.xml +++ b/pom.xml @@ -89,7 +89,7 @@ UTF-8 - ${project.basedir} + ${project.basedir} @@ -229,7 +229,7 @@ local-repo - file://${project.maindir}/repo + file://${pdfover-build.root-dir}/repo internal-repo -- cgit v1.2.3