Skip to content

Commit

Permalink
fix: disable maven-compiler-plugin because we're using kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Sep 9, 2023
1 parent f1d9378 commit 1ecc27f
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<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">
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">

<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -115,6 +115,19 @@
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<executions>
<execution>
<id>default-compile</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
Expand Down Expand Up @@ -218,7 +231,8 @@
<argument>-jar</argument>
<argument>target/dependency/wire-compiler.jar</argument>
<argument>--proto_path=${rootDir}/protos</argument>
<argument>--kotlin_out=${project.build.directory}/generated-sources/wire</argument>
<argument>
--kotlin_out=${project.build.directory}/generated-sources/wire</argument>
<argument>--kotlin_rpc_role=client</argument>
</arguments>
</configuration>
Expand Down Expand Up @@ -248,4 +262,4 @@
</plugins>
</pluginManagement>
</build>
</project>
</project>

0 comments on commit 1ecc27f

Please sign in to comment.