|
1 | 1 | <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"> |
2 | 2 | <modelVersion>4.0.0</modelVersion> |
3 | | - |
| 3 | + |
4 | 4 | <parent> |
5 | 5 | <groupId>org.languagetool</groupId> |
6 | 6 | <artifactId>languagetool-parent</artifactId> |
7 | 7 | <version>5.2-SNAPSHOT</version> |
8 | 8 | <relativePath>../pom.xml</relativePath> |
9 | 9 | </parent> |
10 | | - |
| 10 | + |
11 | 11 | <artifactId>languagetool-core</artifactId> |
12 | 12 | <url>http://www.languagetool.org</url> |
13 | 13 | <name>LanguageTool Style and Grammar Checker Core</name> |
|
20 | 20 | <distribution>repo</distribution> |
21 | 21 | </license> |
22 | 22 | </licenses> |
23 | | - |
| 23 | + |
24 | 24 | <packaging>jar</packaging> |
25 | 25 |
|
26 | 26 | <developers> |
|
75 | 75 | --> |
76 | 76 | <!-- START OF gRPC code generation --> |
77 | 77 | <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> |
81 | 84 | <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 --> |
85 | 90 | <!-- output into src/main/java, but don't ever clear it (would delete all regular source files) --> |
86 | 91 | <outputDirectory>${project.build.sourceDirectory}/</outputDirectory> |
87 | | - <clearOutputDirectory>false</clearOutputDirectory> |
| 92 | +<!-- <clearOutputDirectory>false</clearOutputDirectory>--> <!-- Disable to enable Apple Silicon support --> |
88 | 93 | </configuration> |
89 | 94 | <executions> |
90 | 95 | <execution> |
91 | 96 | <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 --> |
94 | 100 | </goals> |
95 | 101 | </execution> |
96 | 102 | </executions> |
|
248 | 254 | <artifactId>hunspell</artifactId> |
249 | 255 | <version>1.1.1</version> |
250 | 256 | </dependency> |
251 | | - |
| 257 | + |
252 | 258 | <dependency> |
253 | 259 | <groupId>ch.qos.logback</groupId> |
254 | 260 | <artifactId>logback-classic</artifactId> |
|
0 commit comments