Skip to content

Commit 38666d7

Browse files
committed
Deployed to Maven Central
1 parent 85c5edb commit 38666d7

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

pom.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
http://maven.apache.org/xsd/maven-4.0.0.xsd">
66
<modelVersion>4.0.0</modelVersion>
77

8+
<parent>
9+
<groupId>org.sonatype.oss</groupId>
10+
<artifactId>oss-parent</artifactId>
11+
<version>9</version>
12+
</parent>
13+
814
<groupId>org.checkstyle.autofix</groupId>
915
<artifactId>checkstyle-openrewrite-recipes</artifactId>
1016
<version>1.0.0</version>
@@ -13,6 +19,18 @@
1319
<name>checkstyle openrewrite recipes</name>
1420
<description>Automatically fix Checkstyle violations with OpenRewrite</description>
1521
<url>https://github.com/checkstyle/checkstyle-openrewrite-recipes</url>
22+
<inceptionYear>2025</inceptionYear>
23+
<licenses>
24+
<license>
25+
<name>Apache-2.0</name>
26+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
27+
</license>
28+
</licenses>
29+
<scm>
30+
<connection>scm:git:[email protected]:checkstyle/checkstyle-openrewrite-recipes.git</connection>
31+
<developerConnection>scm:git:[email protected]:checkstyle/checkstyle-openrewrite-recipes.git</developerConnection>
32+
<url>https://github.com/checkstyle/checkstyle-openrewrite-recipes</url>
33+
</scm>
1634

1735
<properties>
1836
<maven.compiler.source>17</maven.compiler.source>
@@ -202,6 +220,26 @@
202220
</executions>
203221
</plugin>
204222

223+
<plugin>
224+
<groupId>org.apache.maven.plugins</groupId>
225+
<artifactId>maven-deploy-plugin</artifactId>
226+
<version>4.0.0-beta-2</version>
227+
</plugin>
228+
<plugin>
229+
<groupId>org.sonatype.plugins</groupId>
230+
<artifactId>nexus-staging-maven-plugin</artifactId>
231+
<version>1.7.0</version>
232+
<extensions>true</extensions>
233+
<configuration>
234+
<!-- serverId is ID of a <server> section from Maven's settings.xml
235+
to pick authentication information from
236+
-->
237+
<serverId>sonatype-nexus-staging</serverId>
238+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
239+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
240+
</configuration>
241+
</plugin>
242+
205243
</plugins>
206244
</build>
207245

0 commit comments

Comments
 (0)