Skip to content

Commit

Permalink
profile for test to try Protobuf 4.x runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
suztomo committed Oct 22, 2024
1 parent 22e60aa commit 613007e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions gcsio/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,34 @@
</plugins>
</build>
</profile>
<profile>
<id>protobuf4-test</id>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<classpathDependencyExcludes>
<classpathDependencyExclude>com.google.protobuf:protobuf-java</classpathDependencyExclude>
<classpathDependencyExclude>com.google.protobuf:protobuf-java-util</classpathDependencyExclude>
</classpathDependencyExcludes>
<additionalClasspathDependencies>
<additionalClasspathDependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>4.28.2</version>
</additionalClasspathDependency>
<additionalClasspathDependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java-util</artifactId>
<version>4.28.2</version>
</additionalClasspathDependency>
</additionalClasspathDependencies>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M7</version>
<version>3.5.1</version>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
Expand Down

0 comments on commit 613007e

Please sign in to comment.