Skip to content

Commit 357021d

Browse files
committed
Sonatype Central Publisher
1 parent 3ba5dcf commit 357021d

File tree

1 file changed

+9
-22
lines changed

1 file changed

+9
-22
lines changed

pom.xml

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3-
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
42
<modelVersion>4.0.0</modelVersion>
53
<groupId>org.primefaces.extensions</groupId>
64
<artifactId>resources-optimizer-maven-plugin</artifactId>
75
<packaging>maven-plugin</packaging>
86
<version>2.6.6</version>
97
<name>PrimeFaces Extensions Resource Optimizer Plugin</name>
108
<description>
11-
<![CDATA[Maven plugin to compress and merge resources like JavaScript and CSS files.]]>
12-
</description>
9+
<![CDATA[Maven plugin to compress and merge resources like JavaScript and CSS files.]]></description>
1310
<url>https://github.com/primefaces-extensions</url>
14-
1511
<licenses>
1612
<license>
1713
<name>Apache 2</name>
@@ -20,14 +16,12 @@
2016
<comments>A business-friendly OSS license</comments>
2117
</license>
2218
</licenses>
23-
2419
<scm>
2520
<connection>scm:git:git@github.com:primefaces-extensions/resources-optimizer-maven-plugin.git</connection>
2621
<developerConnection>scm:git:git@github.com:primefaces-extensions/resources-optimizer-maven-plugin.git</developerConnection>
2722
<url>https://github.com/primefaces-extensions/resources-optimizer-maven-plugin</url>
2823
<tag>HEAD</tag>
2924
</scm>
30-
3125
<developers>
3226
<developer>
3327
<id>tandraschko</id>
@@ -50,15 +44,13 @@
5044
<timezone>America/New_York</timezone>
5145
</developer>
5246
</developers>
53-
5447
<properties>
5548
<maven.compiler.source>11</maven.compiler.source>
5649
<maven.compiler.target>11</maven.compiler.target>
5750
<maven.compiler.release>11</maven.compiler.release>
5851
<junit.version>5.11.1</junit.version>
5952
<project.build.sourceEncoding>iso-8859-1</project.build.sourceEncoding>
6053
</properties>
61-
6254
<dependencies>
6355
<dependency>
6456
<groupId>org.apache.maven</groupId>
@@ -70,7 +62,8 @@
7062
<groupId>org.apache.maven.plugin-tools</groupId>
7163
<artifactId>maven-plugin-annotations</artifactId>
7264
<version>3.15.0</version>
73-
<scope>provided</scope> <!-- annotations are not used at runtime because @Retention(value=CLASS), they are needed only to build the plugin -->
65+
<scope>provided</scope>
66+
<!-- annotations are not used at runtime because @Retention(value=CLASS), they are needed only to build the plugin -->
7467
</dependency>
7568
<dependency>
7669
<groupId>org.apache.maven</groupId>
@@ -132,7 +125,6 @@
132125
<scope>test</scope>
133126
</dependency>
134127
</dependencies>
135-
136128
<build>
137129
<plugins>
138130
<plugin>
@@ -167,19 +159,17 @@
167159
<version>3.5.0</version>
168160
</plugin>
169161
<plugin>
170-
<groupId>org.sonatype.plugins</groupId>
171-
<artifactId>nexus-staging-maven-plugin</artifactId>
172-
<version>1.7.0</version>
162+
<groupId>org.sonatype.central</groupId>
163+
<artifactId>central-publishing-maven-plugin</artifactId>
164+
<version>0.9.0</version>
173165
<extensions>true</extensions>
174166
<configuration>
175-
<serverId>ossrh</serverId>
176-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
177-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
167+
<publishingServerId>central-publisher</publishingServerId>
168+
<autoPublish>true</autoPublish>
178169
</configuration>
179170
</plugin>
180171
</plugins>
181172
</build>
182-
183173
<distributionManagement>
184174
<snapshotRepository>
185175
<id>ossrh</id>
@@ -190,8 +180,6 @@
190180
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
191181
</repository>
192182
</distributionManagement>
193-
194-
195183
<profiles>
196184
<profile>
197185
<id>release</id>
@@ -221,5 +209,4 @@
221209
</build>
222210
</profile>
223211
</profiles>
224-
225212
</project>

0 commit comments

Comments
 (0)