summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pdf-over-gui/pom.xml24
1 files changed, 14 insertions, 10 deletions
diff --git a/pdf-over-gui/pom.xml b/pdf-over-gui/pom.xml
index ed62a5a5..557de52c 100644
--- a/pdf-over-gui/pom.xml
+++ b/pdf-over-gui/pom.xml
@@ -215,32 +215,36 @@
</properties>
<profiles>
+ <!--
+ Note: Build system profile has to come first!
+ Else it overwrites the chosen profile
+ -->
<profile>
- <id>linux</id>
+ <id>linux-64</id>
<activation>
<os>
<name>linux</name>
- <arch>x86</arch>
+ <arch>amd64</arch>
</os>
</activation>
<properties>
- <swt.artifactId>org.eclipse.swt.gtk.linux.x86</swt.artifactId>
- <staging.dir>${project.build.directory}/staging/linux</staging.dir>
- <target.name>linux</target.name>
+ <swt.artifactId>org.eclipse.swt.gtk.linux.x86_64</swt.artifactId>
+ <staging.dir>${project.build.directory}/staging/linux-64</staging.dir>
+ <target.name>linux-64</target.name>
</properties>
</profile>
<profile>
- <id>linux-64</id>
+ <id>linux</id>
<activation>
<os>
<name>linux</name>
- <arch>amd64</arch>
+ <arch>x86</arch>
</os>
</activation>
<properties>
- <swt.artifactId>org.eclipse.swt.gtk.linux.x86_64</swt.artifactId>
- <staging.dir>${project.build.directory}/staging/linux-64</staging.dir>
- <target.name>linux-64</target.name>
+ <swt.artifactId>org.eclipse.swt.gtk.linux.x86</swt.artifactId>
+ <staging.dir>${project.build.directory}/staging/linux</staging.dir>
+ <target.name>linux</target.name>
</properties>
</profile>