Skip to content

Commit 52e971b

Browse files
authored
[gradle-module-metadata-maven-plugin] update to version 1.0 (#566)
Signed-off-by: Jendrik Johannes <[email protected]>
1 parent c3da1d8 commit 52e971b

File tree

6 files changed

+40
-19
lines changed

6 files changed

+40
-19
lines changed

avro/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ abstractions.
9393
<groupId>org.moditect</groupId>
9494
<artifactId>moditect-maven-plugin</artifactId>
9595
</plugin>
96+
<!-- 05-Jul-2020, tatu: Add generation of Gradle Module Metadata -->
97+
<!-- 28-Feb-2025, jjohannes: Apply plugin last as it has to be the last of all 'package phase' plugins -->
98+
<plugin>
99+
<groupId>org.gradlex</groupId>
100+
<artifactId>gradle-module-metadata-maven-plugin</artifactId>
101+
</plugin>
96102
</plugins>
97103
</build>
98104
</project>

cbor/pom.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,14 @@ encoded data using Jackson abstractions (streaming API, data binding, tree model
7070
will have to use `moduleInfoFile` as anything else requires JDK 9+
7171
-->
7272
<plugin>
73-
<groupId>org.moditect</groupId>
74-
<artifactId>moditect-maven-plugin</artifactId>
73+
<groupId>org.moditect</groupId>
74+
<artifactId>moditect-maven-plugin</artifactId>
75+
</plugin>
76+
<!-- 05-Jul-2020, tatu: Add generation of Gradle Module Metadata -->
77+
<!-- 28-Feb-2025, jjohannes: Apply plugin last as it has to be the last of all 'package phase' plugins -->
78+
<plugin>
79+
<groupId>org.gradlex</groupId>
80+
<artifactId>gradle-module-metadata-maven-plugin</artifactId>
7581
</plugin>
7682
</plugins>
7783
</build>

ion/pom.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,14 @@ tree model)
8383
will have to use `moduleInfoFile` as anything else requires JDK 9+
8484
-->
8585
<plugin>
86-
<groupId>org.moditect</groupId>
87-
<artifactId>moditect-maven-plugin</artifactId>
86+
<groupId>org.moditect</groupId>
87+
<artifactId>moditect-maven-plugin</artifactId>
88+
</plugin>
89+
<!-- 05-Jul-2020, tatu: Add generation of Gradle Module Metadata -->
90+
<!-- 28-Feb-2025, jjohannes: Apply plugin last as it has to be the last of all 'package phase' plugins -->
91+
<plugin>
92+
<groupId>org.gradlex</groupId>
93+
<artifactId>gradle-module-metadata-maven-plugin</artifactId>
8894
</plugin>
8995
</plugins>
9096
</build>

pom.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,5 @@
104104

105105
</plugins>
106106
</pluginManagement>
107-
108-
<!-- 05-Jul-2020, tatu: Add generation of Gradle Module Metadata -->
109-
<plugins>
110-
<plugin>
111-
<groupId>de.jjohannes</groupId>
112-
<artifactId>gradle-module-metadata-maven-plugin</artifactId>
113-
</plugin>
114-
</plugins>
115107
</build>
116-
117108
</project>

protobuf/pom.xml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,16 @@ abstractions.
109109
<!-- 19-Mar-2019, tatu: Add rudimentary JDK9+ module info. To build with JDK 8
110110
will have to use `moduleInfoFile` as anything else requires JDK 9+
111111
-->
112-
<plugin>
113-
<groupId>org.moditect</groupId>
114-
<artifactId>moditect-maven-plugin</artifactId>
115-
</plugin>
112+
<plugin>
113+
<groupId>org.moditect</groupId>
114+
<artifactId>moditect-maven-plugin</artifactId>
115+
</plugin>
116+
<!-- 05-Jul-2020, tatu: Add generation of Gradle Module Metadata -->
117+
<!-- 28-Feb-2025, jjohannes: Apply plugin last as it has to be the last of all 'package phase' plugins -->
118+
<plugin>
119+
<groupId>org.gradlex</groupId>
120+
<artifactId>gradle-module-metadata-maven-plugin</artifactId>
121+
</plugin>
116122
</plugins>
117123
</build>
118124

smile/pom.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,14 @@ tree model)
8888
will have to use `moduleInfoFile` as anything else requires JDK 9+
8989
-->
9090
<plugin>
91-
<groupId>org.moditect</groupId>
92-
<artifactId>moditect-maven-plugin</artifactId>
91+
<groupId>org.moditect</groupId>
92+
<artifactId>moditect-maven-plugin</artifactId>
93+
</plugin>
94+
<!-- 05-Jul-2020, tatu: Add generation of Gradle Module Metadata -->
95+
<!-- 28-Feb-2025, jjohannes: Apply plugin last as it has to be the last of all 'package phase' plugins -->
96+
<plugin>
97+
<groupId>org.gradlex</groupId>
98+
<artifactId>gradle-module-metadata-maven-plugin</artifactId>
9399
</plugin>
94100
</plugins>
95101
</build>

0 commit comments

Comments
 (0)