Skip to content

Commit

Permalink
Add maven distribution management for groupID relocation (#661)
Browse files Browse the repository at this point in the history
Signed-off-by: Elliot Jackson <[email protected]>
  • Loading branch information
elliotmjackson authored Oct 3, 2022
1 parent 5c1b67f commit 728c816
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 6 deletions.
7 changes: 6 additions & 1 deletion java/pgv-artifacts/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>pgv-java</artifactId>
<groupId>io.envoyproxy.protoc-gen-validate</groupId>
<version>0.6.9-rc.0-SNAPSHOT</version>
<version>VERSION</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -241,4 +241,9 @@
</plugin>
</plugins>
</build>
<distributionManagement>
<relocation>
<groupId>build.buf.protoc-gen-validate</groupId>
</relocation>
</distributionManagement>
</project>
7 changes: 6 additions & 1 deletion java/pgv-java-grpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>pgv-java</artifactId>
<groupId>io.envoyproxy.protoc-gen-validate</groupId>
<version>0.6.9-rc.0-SNAPSHOT</version>
<version>VERSION</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -127,4 +127,9 @@
</plugin>
</plugins>
</build>
<distributionManagement>
<relocation>
<groupId>build.buf.protoc-gen-validate</groupId>
</relocation>
</distributionManagement>
</project>
7 changes: 6 additions & 1 deletion java/pgv-java-stub/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>pgv-java</artifactId>
<groupId>io.envoyproxy.protoc-gen-validate</groupId>
<version>0.6.9-rc.0-SNAPSHOT</version>
<version>VERSION</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -131,4 +131,9 @@
</plugin>
</plugins>
</build>
<distributionManagement>
<relocation>
<groupId>build.buf.protoc-gen-validate</groupId>
</relocation>
</distributionManagement>
</project>
7 changes: 6 additions & 1 deletion java/pgv-java-validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>pgv-java</artifactId>
<groupId>io.envoyproxy.protoc-gen-validate</groupId>
<version>0.6.9-rc.0-SNAPSHOT</version>
<version>VERSION</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -133,4 +133,9 @@
</plugin>
</plugins>
</build>
<distributionManagement>
<relocation>
<groupId>build.buf.protoc-gen-validate</groupId>
</relocation>
</distributionManagement>
</project>
7 changes: 6 additions & 1 deletion java/pgv-test-coverage-report/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>pgv-java</artifactId>
<groupId>io.envoyproxy.protoc-gen-validate</groupId>
<version>0.6.9-rc.0-SNAPSHOT</version>
<version>VERSION</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -56,4 +56,9 @@
</plugin>
</plugins>
</build>
<distributionManagement>
<relocation>
<groupId>build.buf.protoc-gen-validate</groupId>
</relocation>
</distributionManagement>
</project>
5 changes: 4 additions & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>io.envoyproxy.protoc-gen-validate</groupId>
<artifactId>pgv-java</artifactId>
<version>0.6.9-rc.0-SNAPSHOT</version>
<version>VERSION</version>
<modules>
<module>pgv-java-stub</module>
<module>pgv-java-validation</module>
Expand Down Expand Up @@ -213,5 +213,8 @@
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<relocation>
<groupId>build.buf.protoc-gen-validate</groupId>
</relocation>
</distributionManagement>
</project>

0 comments on commit 728c816

Please sign in to comment.