Run org.kordamp.maven:pomchecker-maven-plugin:1.10.0:check-maven-central (#491)

This new Maven goal validates that the `pom.xml` files meet the criteria
for being deployed to Maven Central.
This commit is contained in:
Stephan Schroevers
2024-01-13 17:34:26 +01:00
committed by GitHub
parent 0b04e0fb3f
commit b8eabff9bc
7 changed files with 43 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
<name>Picnic :: Error Prone Support :: Documentation Support</name>
<description>Data extraction support for the purpose of documentation generation.</description>
<url>https://error-prone.picnic.tech</url>
<dependencies>
<dependency>

View File

@@ -12,6 +12,7 @@
<name>Picnic :: Error Prone Support :: Contrib</name>
<description>Extra Error Prone plugins by Picnic.</description>
<url>https://error-prone.picnic.tech</url>
<dependencies>
<dependency>

37
pom.xml
View File

@@ -1374,6 +1374,24 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.kordamp.maven</groupId>
<artifactId>pomchecker-maven-plugin</artifactId>
<version>1.10.0</version>
<configuration>
<failOnError>false</failOnError>
<release>false</release>
</configuration>
<executions>
<execution>
<id>check-maven-central-compliance</id>
<goals>
<goal>check-maven-central</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
@@ -1718,6 +1736,10 @@
<groupId>org.gaul</groupId>
<artifactId>modernizer-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.kordamp.maven</groupId>
<artifactId>pomchecker-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
@@ -1945,6 +1967,14 @@
<failOnViolations>true</failOnViolations>
</configuration>
</plugin>
<plugin>
<groupId>org.kordamp.maven</groupId>
<artifactId>pomchecker-maven-plugin</artifactId>
<configuration>
<failOnError>true</failOnError>
<failOnWarning>true</failOnWarning>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
@@ -2016,6 +2046,13 @@
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<?SORTPOM RESUME?>
<plugin>
<groupId>org.kordamp.maven</groupId>
<artifactId>pomchecker-maven-plugin</artifactId>
<configuration>
<release>true</release>
</configuration>
</plugin>
</plugins>
</build>
</profile>

View File

@@ -12,6 +12,7 @@
<name>Picnic :: Error Prone Support :: Refaster Compiler</name>
<description>A Java compiler plugin that identifies and compiles Refaster rules, storing them as resource files on the classpath.</description>
<url>https://error-prone.picnic.tech</url>
<dependencies>
<dependency>

View File

@@ -12,6 +12,7 @@
<name>Picnic :: Error Prone Support :: Refaster Runner</name>
<description>Exposes Refaster rules found on the classpath through a regular Error Prone check.</description>
<url>https://error-prone.picnic.tech</url>
<dependencies>
<dependency>

View File

@@ -12,6 +12,7 @@
<name>Picnic :: Error Prone Support :: Refaster Support</name>
<description>Helper utilities for use with Refaster rules.</description>
<url>https://error-prone.picnic.tech</url>
<dependencies>
<!-- This dependency is listed out-of-order so as not to confuse the

View File

@@ -12,6 +12,7 @@
<name>Picnic :: Error Prone Support :: Refaster Test Support</name>
<description>Opinionated utilities for the testing of Refaster rules.</description>
<url>https://error-prone.picnic.tech</url>
<dependencies>
<dependency>