Skip to content

Commit

Permalink
Merge pull request #27 from AxonIQ/fix/removeJavax
Browse files Browse the repository at this point in the history
Remove javax and update protoc to support omitting the @generated annotation
  • Loading branch information
trimoq authored Jan 22, 2025
2 parents dc1e4ab + 58b05f4 commit 60610ed
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@
<version>${grpc.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -100,9 +94,9 @@
<artifactId>protobuf-maven-plugin</artifactId>
<version>0.6.1</version>
<configuration>
<protocArtifact>com.google.protobuf:protoc:3.6.1:exe:${os.detected.classifier}</protocArtifact>
<protocArtifact>com.google.protobuf:protoc:3.25.3:exe:${os.detected.classifier}</protocArtifact>
<pluginId>grpc-java</pluginId>
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.17.1:exe:${os.detected.classifier}</pluginArtifact>
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.64.0:exe:${os.detected.classifier}</pluginArtifact>
<clearOutputDirectory>false</clearOutputDirectory>
</configuration>
<executions>
Expand All @@ -114,6 +108,9 @@
</goals>
<configuration>
<protoSourceRoot>${project.build.directory}/proto</protoSourceRoot>
<pluginParameter>
@generated=omit
</pluginParameter>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit 60610ed

Please sign in to comment.