Skip to content

Commit d525b27

Browse files
committed
build: add pomchecker plugin to make sure the POM is valid for publishing
1 parent 894090d commit d525b27

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
<maven-release-plugin.version>3.0.1</maven-release-plugin.version>
4848
<maven-enforcer-plugin.version>3.4.1</maven-enforcer-plugin.version>
4949

50+
<pomchecker-maven-plugin.version>1.7.0</pomchecker-maven-plugin.version>
5051
<nexus-staging-plugin.version>1.6.13</nexus-staging-plugin.version>
5152
<jacoco.version>0.8.12</jacoco.version>
5253
<spotless.version>2.43.0</spotless.version>
@@ -152,6 +153,11 @@
152153
<artifactId>flatten-maven-plugin</artifactId>
153154
<version>${maven-flatten-plugin.version}</version>
154155
</plugin>
156+
<plugin>
157+
<groupId>org.kordamp.maven</groupId>
158+
<artifactId>pomchecker-maven-plugin</artifactId>
159+
<version>${pomchecker-maven-plugin.version}</version>
160+
</plugin>
155161
<plugin>
156162
<groupId>org.sonatype.plugins</groupId>
157163
<artifactId>nexus-staging-maven-plugin</artifactId>
@@ -171,6 +177,10 @@
171177
<release>${jdk.version}</release>
172178
</configuration>
173179
</plugin>
180+
<plugin>
181+
<groupId>org.kordamp.maven</groupId>
182+
<artifactId>pomchecker-maven-plugin</artifactId>
183+
</plugin>
174184
<plugin>
175185
<groupId>org.sonatype.plugins</groupId>
176186
<artifactId>nexus-staging-maven-plugin</artifactId>

0 commit comments

Comments
 (0)