Skip to content

Commit 070b7da

Browse files
authored
Merge pull request #117 from WebFuzzing/m-support
Apple Silicon Support
2 parents 1a0cd82 + 92a0819 commit 070b7da

File tree

3 files changed

+21
-15
lines changed
  • jdk_8_maven/cs

3 files changed

+21
-15
lines changed

jdk_8_maven/cs/rest/original/languagetool/languagetool-core/pom.xml

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22
<modelVersion>4.0.0</modelVersion>
3-
3+
44
<parent>
55
<groupId>org.languagetool</groupId>
66
<artifactId>languagetool-parent</artifactId>
77
<version>5.2-SNAPSHOT</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
10-
10+
1111
<artifactId>languagetool-core</artifactId>
1212
<url>http://www.languagetool.org</url>
1313
<name>LanguageTool Style and Grammar Checker Core</name>
@@ -20,7 +20,7 @@
2020
<distribution>repo</distribution>
2121
</license>
2222
</licenses>
23-
23+
2424
<packaging>jar</packaging>
2525

2626
<developers>
@@ -75,22 +75,28 @@
7575
-->
7676
<!-- START OF gRPC code generation -->
7777
<plugin>
78-
<groupId>org.xolstice.maven.plugins</groupId>
79-
<artifactId>protobuf-maven-plugin</artifactId>
80-
<version>0.6.1</version>
78+
<!-- <groupId>org.xolstice.maven.plugins</groupId>--> <!-- Disable to enable Apple Silicon support -->
79+
<!-- <artifactId>protobuf-maven-plugin</artifactId>--> <!-- Disable to enable Apple Silicon support -->
80+
<!-- <version>0.6.1</version>-->
81+
<groupId>com.github.os72</groupId>
82+
<artifactId>protoc-jar-maven-plugin</artifactId>
83+
<version>3.11.4</version>
8184
<configuration>
82-
<protocArtifact>com.google.protobuf:protoc:3.11.0:exe:${os.detected.classifier}</protocArtifact>
83-
<pluginId>grpc-java</pluginId>
84-
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.27.1:exe:${os.detected.classifier}</pluginArtifact>
85+
<!-- <protocArtifact>com.google.protobuf:protoc:3.11.0:exe:${os.detected.classifier}</protocArtifact>--> <!-- Disable to enable Apple Silicon support -->
86+
<!-- <pluginId>grpc-java</pluginId>--> <!-- Disable to enable Apple Silicon support -->
87+
<protocArtifact>com.google.protobuf:protoc:3.17.3:exe:${os.detected.classifier}</protocArtifact>
88+
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.42.1:exe:${os.detected.classifier}</pluginArtifact>
89+
<!-- <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.27.1:exe:${os.detected.classifier}</pluginArtifact>--> <!-- Disable to enable Apple Silicon support -->
8590
<!-- output into src/main/java, but don't ever clear it (would delete all regular source files) -->
8691
<outputDirectory>${project.build.sourceDirectory}/</outputDirectory>
87-
<clearOutputDirectory>false</clearOutputDirectory>
92+
<!-- <clearOutputDirectory>false</clearOutputDirectory>--> <!-- Disable to enable Apple Silicon support -->
8893
</configuration>
8994
<executions>
9095
<execution>
9196
<goals>
92-
<goal>compile</goal>
93-
<goal>compile-custom</goal>
97+
<goal>run</goal>
98+
<!-- <goal>compile</goal>--> <!-- Disable to enable Apple Silicon support -->
99+
<!-- <goal>compile-custom</goal>--> <!-- Disable to enable Apple Silicon support -->
94100
</goals>
95101
</execution>
96102
</executions>
@@ -248,7 +254,7 @@
248254
<artifactId>hunspell</artifactId>
249255
<version>1.1.1</version>
250256
</dependency>
251-
257+
252258
<dependency>
253259
<groupId>ch.qos.logback</groupId>
254260
<artifactId>logback-classic</artifactId>

jdk_8_maven/cs/rpc/grpc/artificial/grpc-ncs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<configuration>
5757
<protocArtifact>com.google.protobuf:protoc:3.17.3:exe:${os.detected.classifier}</protocArtifact>
5858
<pluginId>grpc-java</pluginId>
59-
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.41.0:exe:${os.detected.classifier}</pluginArtifact>
59+
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.42.1:exe:${os.detected.classifier}</pluginArtifact>
6060
</configuration>
6161
<executions>
6262
<execution>

jdk_8_maven/cs/rpc/grpc/artificial/grpc-scs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<configuration>
5656
<protocArtifact>com.google.protobuf:protoc:3.17.3:exe:${os.detected.classifier}</protocArtifact>
5757
<pluginId>grpc-java</pluginId>
58-
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.41.0:exe:${os.detected.classifier}</pluginArtifact>
58+
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.42.1:exe:${os.detected.classifier}</pluginArtifact>
5959
</configuration>
6060
<executions>
6161
<execution>

0 commit comments

Comments
 (0)