summaryrefslogtreecommitdiff
path: root/pdf-over-gui/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui/pom.xml')
-rw-r--r--pdf-over-gui/pom.xml17
1 files changed, 9 insertions, 8 deletions
diff --git a/pdf-over-gui/pom.xml b/pdf-over-gui/pom.xml
index 2d50acc3..b7afb3eb 100644
--- a/pdf-over-gui/pom.xml
+++ b/pdf-over-gui/pom.xml
@@ -238,28 +238,29 @@
<version>1.2</version>
<executions>
<execution>
- <id>extract-jre</id>
- <phase>package</phase> <!-- linux profile: none -->
+ <id>build-archive</id>
+ <phase>install</phase> <!-- linux profile: none -->
<goals>
<goal>copy</goal>
</goals>
<configuration>
<fileset>
- <directory>${project.basedir}/../jre-bundles/${pdfover-build.bundled-jre.archive-filename}/${pdfover-build.bundled-jre.folder-in-archive}</directory>
- <outputDirectory>${pdfover-build.output-dir}/${pdfover-build.output-filename}/jre</outputDirectory>
+ <directory>${pdfover-build.staging-dir}</directory>
+ <outputDirectory>${pdfover-build.output-dir}/${pdfover-build.output-filename}/</outputDirectory>
</fileset>
</configuration>
</execution>
<execution>
- <id>build-archive</id>
+ <!-- this has to run strictly after build-archive; otherwise, the jre subfolder will be cleaned for .tar.gz (mac build) -->
+ <id>bundle-jre</id>
<phase>install</phase> <!-- linux profile: none -->
<goals>
<goal>copy</goal>
</goals>
<configuration>
<fileset>
- <directory>${pdfover-build.staging-dir}</directory>
- <outputDirectory>${pdfover-build.output-dir}/${pdfover-build.output-filename}/</outputDirectory>
+ <directory>${project.basedir}/../jre-bundles/${pdfover-build.bundled-jre.archive-filename}/${pdfover-build.bundled-jre.folder-in-archive}</directory>
+ <outputDirectory>${pdfover-build.output-dir}/${pdfover-build.output-filename}/jre</outputDirectory>
</fileset>
</configuration>
</execution>
@@ -542,7 +543,7 @@
<version>1.2</version>
<executions>
<execution>
- <id>extract-jre</id>
+ <id>bundle-jre</id>
<phase>none</phase>
</execution>
<execution>