Skip to content

Commit

Permalink
refactor: Order POM elements
Browse files Browse the repository at this point in the history
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.maven.OrderPomElements

Co-authored-by: Moderne <team@moderne.io>
  • Loading branch information
timtebeek and TeamModerne committed Dec 6, 2023
1 parent 1d205ea commit 87e2e98
Showing 1 changed file with 65 additions and 65 deletions.
130 changes: 65 additions & 65 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,18 @@
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.16.0-SNAPSHOT</version>
<name>rewrite-maven-plugin</name>

<packaging>maven-plugin</packaging>

<name>rewrite-maven-plugin</name>
<description>Eliminate technical debt. At build time.</description>
<inceptionYear>2020</inceptionYear>
<url>https://openrewrite.github.io/rewrite-maven-plugin/</url>

<prerequisites>
<maven>3.3.1</maven>
</prerequisites>
<inceptionYear>2020</inceptionYear>

<url>https://openrewrite.github.io/rewrite-maven-plugin/</url>
<organization>
<name>Moderne, Inc.</name>
<url>https://moderne.io/</url>
</organization>

<licenses>
<license>
Expand All @@ -24,35 +25,6 @@
</license>
</licenses>

<reporting>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>9.0.1</version>
<configuration>
<failBuildOnCVSS>9</failBuildOnCVSS>
<suppressionFiles>
<suppressionFile>suppressions.xml</suppressionFile>
</suppressionFiles>
<retireJsAnalyzerEnabled>false</retireJsAnalyzerEnabled>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>aggregate</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-report-plugin</artifactId>
<version>${maven-plugin-tools.version}</version>
</plugin>
</plugins>
</reporting>

<developers>
<developer>
<name>Jonathan Schneider</name>
Expand All @@ -61,10 +33,9 @@
</developer>
</developers>

<organization>
<name>Moderne, Inc.</name>
<url>https://moderne.io/</url>
</organization>
<prerequisites>
<maven>3.3.1</maven>
</prerequisites>

<scm>
<connection>scm:git:https://github.com/openrewrite/rewrite-maven-plugin.git</connection>
Expand All @@ -78,6 +49,17 @@
<url>https://github.com/openrewrite/rewrite-maven-plugin/issues</url>
</issueManagement>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</distributionManagement>

<properties>
<!-- Pinned versions, as RELEASE would make it into the published pom.xml -->
<rewrite.version>8.12.0-SNAPSHOT</rewrite.version>
Expand Down Expand Up @@ -385,6 +367,20 @@
</dependency>
</dependencies>

<repositories>
<repository>
<!-- for consuming upstream openrewrite snapshot artifacts from ossrh during development -->
<id>ossrh-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>

<build>
<testResources>
<testResource>
Expand Down Expand Up @@ -554,6 +550,35 @@
</plugins>
</build>

<reporting>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>9.0.1</version>
<configuration>
<failBuildOnCVSS>9</failBuildOnCVSS>
<suppressionFiles>
<suppressionFile>suppressions.xml</suppressionFile>
</suppressionFiles>
<retireJsAnalyzerEnabled>false</retireJsAnalyzerEnabled>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>aggregate</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-report-plugin</artifactId>
<version>${maven-plugin-tools.version}</version>
</plugin>
</plugins>
</reporting>

<profiles>
<profile>
<id>sign-artifacts</id>
Expand Down Expand Up @@ -618,29 +643,4 @@
</properties>
</profile>
</profiles>

<repositories>
<repository>
<!-- for consuming upstream openrewrite snapshot artifacts from ossrh during development -->
<id>ossrh-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</distributionManagement>
</project>

0 comments on commit 87e2e98

Please sign in to comment.