Skip to content

Commit

Permalink
#238: simplifies env module profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
rladstaetter committed Oct 27, 2024
1 parent 59f62be commit 240d852
Showing 1 changed file with 18 additions and 22 deletions.
40 changes: 18 additions & 22 deletions env/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,45 +13,41 @@
<packaging>pom</packaging>
<description>Downloads and provides openjfx sdk (needed for intellij run configurations)</description>
<properties>
<jfxdownload.os.arch/>
<openjfx.jmods.download.url>
https://download2.gluonhq.com/openjfx/${openjfx.version}/openjfx-${openjfx.version}_${openjfx.os.prefix}-${os.arch}_bin-jmods.zip
https://download2.gluonhq.com/openjfx/${openjfx.version}/openjfx-${openjfx.version}_${openjfx.os.prefix}-${jfxdownload.os.arch}_bin-jmods.zip
</openjfx.jmods.download.url>
<openjfx.sdk.download.url>
https://download2.gluonhq.com/openjfx/${openjfx.version}/openjfx-${openjfx.version}_${openjfx.os.prefix}-${os.arch}_bin-sdk.zip
https://download2.gluonhq.com/openjfx/${openjfx.version}/openjfx-${openjfx.version}_${openjfx.os.prefix}-${jfxdownload.os.arch}_bin-sdk.zip
</openjfx.sdk.download.url>
</properties>

<profiles>
<!-- Profile for x64 (amd64) architecture -->
<profile>
<id>OS.linux</id>
<id>x64-architecture</id>
<activation>
<os>
<family>linux</family>
</os>
<property>
<name>os.arch</name>
<value>amd64</value>
</property>
</activation>
<properties>
<openjfx.jmods.download.url>
https://download2.gluonhq.com/openjfx/${openjfx.version}/openjfx-${openjfx.version}_${openjfx.os.prefix}-aarch64_bin-jmods.zip
</openjfx.jmods.download.url>
<openjfx.sdk.download.url>
https://download2.gluonhq.com/openjfx/${openjfx.version}/openjfx-${openjfx.version}_${openjfx.os.prefix}-aarch64_bin-sdk.zip
</openjfx.sdk.download.url>
<jfxdownload.os.arch>x64</jfxdownload.os.arch>
</properties>
</profile>

<!-- Profile for aarch64 architecture -->
<profile>
<id>OS.windows</id>
<id>aarch64-architecture</id>
<activation>
<os>
<family>windows</family>
</os>
<property>
<name>os.arch</name>
<value>aarch64</value>
</property>
</activation>
<properties>
<openjfx.jmods.download.url>
https://download2.gluonhq.com/openjfx/${openjfx.version}/openjfx-${openjfx.version}_${openjfx.os.prefix}-x64_bin-jmods.zip
</openjfx.jmods.download.url>
<openjfx.sdk.download.url>
https://download2.gluonhq.com/openjfx/${openjfx.version}/openjfx-${openjfx.version}_${openjfx.os.prefix}-x64_bin-sdk.zip
</openjfx.sdk.download.url>
<jfxdownload.os.arch>aarch64</jfxdownload.os.arch>
</properties>
</profile>
</profiles>
Expand Down

0 comments on commit 240d852

Please sign in to comment.