Skip to content

Commit

Permalink
Run `org.kordamp.maven:pomchecker-maven-plugin:1.10.0:check-maven-cen…
Browse files Browse the repository at this point in the history
…tral` (#491)

This new Maven goal validates that the `pom.xml` files meet the criteria
for being deployed to Maven Central.
  • Loading branch information
Stephan202 authored Jan 13, 2024
1 parent 0b04e0f commit b8eabff
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions documentation-support/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions error-prone-contrib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
37 changes: 37 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions refaster-compiler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions refaster-runner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions refaster-support/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions refaster-test-support/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit b8eabff

Please sign in to comment.