Skip to content

Commit

Permalink
Maven is throwing an error on the build phase when building on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
dukke committed Apr 26, 2024
1 parent ba5df87 commit 1797a8f
Showing 1 changed file with 14 additions and 21 deletions.
35 changes: 14 additions & 21 deletions FXThemes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<properties>
<xcodeScheme>Debug</xcodeScheme>
<my.property>running.on.mac</my.property>
<fxthemes.platform>mac</fxthemes.platform>
</properties>
<build>
<plugins>
Expand Down Expand Up @@ -62,14 +63,6 @@
</configuration>
</plugin>
<!-- Jar plugin - output Jar configuration of "Mac" -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<classifier>mac</classifier>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand All @@ -84,19 +77,9 @@
<family>windows</family>
</os>
</activation>
<build>
<plugins>
<!-- Jar plugin - output Jar configuration of "Windows" -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<classifier>win</classifier>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<fxthemes.platform>win</fxthemes.platform>
</properties>
</profile>
</profiles>

Expand Down Expand Up @@ -186,6 +169,16 @@
<release>17</release>
</configuration>
</plugin>

<!-- Jar plugin - output Jar configuration -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<classifier>${fxthemes.platform}</classifier>
</configuration>
</plugin>
<!-- display active profile in compile phase -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit 1797a8f

Please sign in to comment.