Skip to content

Commit 44728de

Browse files
committed
use new sonatype publishing maven plugin
1 parent e85a9fb commit 44728de

File tree

1 file changed

+7
-18
lines changed

1 file changed

+7
-18
lines changed

pom.xml

+7-18
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.connectedcooking.opcua</groupId>
66
<artifactId>opcua-dynamic-node-manager</artifactId>
7-
<version>0.2.3-SNAPSHOT</version>
7+
<version>0.2.3</version>
88

99
<name>OPC UA Dynamic Node Manager</name>
1010
<description>Java library for implementing a dynamic node manager that responses dynamically based on the user context.</description>
@@ -137,32 +137,21 @@
137137
</executions>
138138
</plugin>
139139
<plugin>
140-
<groupId>org.sonatype.plugins</groupId>
141-
<artifactId>nexus-staging-maven-plugin</artifactId>
142-
<version>1.6.13</version>
140+
<groupId>org.sonatype.central</groupId>
141+
<artifactId>central-publishing-maven-plugin</artifactId>
142+
<version>0.4.0</version>
143143
<extensions>true</extensions>
144144
<configuration>
145-
<serverId>ossrh</serverId>
146-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
147-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
145+
<publishingServerId>central</publishingServerId>
146+
<tokenAuth>true</tokenAuth>
147+
<autoPublish>true</autoPublish>
148148
</configuration>
149149
</plugin>
150150
</plugins>
151151
</build>
152152
</profile>
153153
</profiles>
154154

155-
<distributionManagement>
156-
<snapshotRepository>
157-
<id>ossrh</id>
158-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
159-
</snapshotRepository>
160-
<repository>
161-
<id>ossrh</id>
162-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
163-
</repository>
164-
</distributionManagement>
165-
166155
<licenses>
167156
<license>
168157
<name>MIT License</name>

0 commit comments

Comments
 (0)