Skip to content

Commit

Permalink
7440: JMC fails on Apple M1
Browse files Browse the repository at this point in the history
Reviewed-by: hirt
  • Loading branch information
Olga Mikhaltsova authored and thegreystone committed Nov 24, 2021
1 parent 77580fe commit d218205
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,11 @@
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>aarch64</arch>
</environment>
</environments>
</configuration>
</plugin>
Expand Down Expand Up @@ -523,7 +528,7 @@
</configuration>
</execution>
<execution>
<id>copy-resources-to-mac</id>
<id>copy-resources-to-mac-x86_64</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-resources</goal>
Expand All @@ -543,6 +548,27 @@
</resources>
</configuration>
</execution>
<execution>
<id>copy-resources-to-mac-aarch64</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/products/org.openjdk.jmc/macosx/cocoa/aarch64/legal
</outputDirectory>
<resources>
<resource>
<directory>${rootDir}/license</directory>
<includes>
<include>LICENSE.txt</include>
<include>THIRDPARTYREADME.txt</include>
<include>COPYRIGHT</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
Expand Down

0 comments on commit d218205

Please sign in to comment.