summaryrefslogtreecommitdiff
path: root/pdf-over-gui/pom.xml
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-05-03 17:06:42 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-05-03 17:06:42 +0200
commit5eb258725e9a82be5278639252d749df6a6b9a6f (patch)
treef9a6528e518f53a22f51705f29137928dd3b3571 /pdf-over-gui/pom.xml
parent2879b73fac31cfa85ee1df16facc66377f59807e (diff)
downloadpdf-over-5eb258725e9a82be5278639252d749df6a6b9a6f.tar.gz
pdf-over-5eb258725e9a82be5278639252d749df6a6b9a6f.tar.bz2
pdf-over-5eb258725e9a82be5278639252d749df6a6b9a6f.zip
make our build java17 compatible (replace the old gmaven-plugin)
Diffstat (limited to 'pdf-over-gui/pom.xml')
-rw-r--r--pdf-over-gui/pom.xml26
1 files changed, 13 insertions, 13 deletions
diff --git a/pdf-over-gui/pom.xml b/pdf-over-gui/pom.xml
index 14001aa2..12668a94 100644
--- a/pdf-over-gui/pom.xml
+++ b/pdf-over-gui/pom.xml
@@ -283,19 +283,19 @@
</configuration>
</plugin>
<plugin>
- <groupId>org.codehaus.groovy.maven</groupId>
- <artifactId>gmaven-plugin</artifactId>
- <version>1.0</version>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>3.3.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
- <goal>execute</goal>
+ <goal>parse-version</goal>
</goals>
<configuration>
- <source>
- project.properties["version.exe"] = project.version.split("-")[0] + ".0";
- </source>
+ <propertyPrefix>pdfover-build.version</propertyPrefix>
+ <!-- this produces: pdfover-build.version.majorVersion, pdfover-build.version.minorVersion, pdfover-build.version.incrementalVersion -->
+ <!-- see: http://www.mojohaus.org/build-helper-maven-plugin/parse-version-mojo.html -->
</configuration>
</execution>
</executions>
@@ -380,11 +380,11 @@
<bundledJre64Bit>true</bundledJre64Bit>
</jre>
<versionInfo>
- <fileVersion>${version.exe}</fileVersion>
+ <fileVersion>${pdfover-build.version.majorVersion}.${pdfover-build.version.minorVersion}.${pdfover-build.version.incrementalVersion}.0</fileVersion>
<txtFileVersion>${project.version}</txtFileVersion>
<fileDescription>PDF-Over PDF signer</fileDescription>
<copyright>(C) 2012 A-SIT</copyright>
- <productVersion>${version.exe}</productVersion>
+ <productVersion>${pdfover-build.version.majorVersion}.${pdfover-build.version.minorVersion}.${pdfover-build.version.incrementalVersion}.0</productVersion>
<txtProductVersion>${project.version}</txtProductVersion>
<productName>PDF-Over</productName>
<internalName>PDF-Over</internalName>
@@ -415,11 +415,11 @@
<path>jre</path>
</jre>
<versionInfo>
- <fileVersion>${version.exe}</fileVersion>
+ <fileVersion>${pdfover-build.version.majorVersion}.${pdfover-build.version.minorVersion}.${pdfover-build.version.incrementalVersion}.0</fileVersion>
<txtFileVersion>${project.version}</txtFileVersion>
<fileDescription>PDF-Over PDF signer CLI</fileDescription>
<copyright>(C) 2012 A-SIT</copyright>
- <productVersion>${version.exe}</productVersion>
+ <productVersion>${pdfover-build.version.majorVersion}.${pdfover-build.version.minorVersion}.${pdfover-build.version.incrementalVersion}.0</productVersion>
<txtProductVersion>${project.version}</txtProductVersion>
<productName>PDF-Over</productName>
<internalName>PDF-Over-cli</internalName>
@@ -450,11 +450,11 @@
<path>jre</path>
</jre>
<versionInfo>
- <fileVersion>${version.exe}</fileVersion>
+ <fileVersion>${pdfover-build.version.majorVersion}.${pdfover-build.version.minorVersion}.${pdfover-build.version.incrementalVersion}.0</fileVersion>
<txtFileVersion>${project.version}</txtFileVersion>
<fileDescription>PDF-Over Uninstaller</fileDescription>
<copyright>A-SIT (Secure Information Technology Center - Austria)</copyright>
- <productVersion>${version.exe}</productVersion>
+ <productVersion>${pdfover-build.version.majorVersion}.${pdfover-build.version.minorVersion}.${pdfover-build.version.incrementalVersion}.0</productVersion>
<txtProductVersion>${project.version}</txtProductVersion>
<productName>PDF-Over</productName>
<internalName>Uninstaller</internalName>