Skip to content

Commit 3c71d55

Browse files
authored
[#138] Update to use oss staging and release plugin (#147)
1 parent cb49809 commit 3c71d55

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

pom.xml

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,18 @@
2828
<id>lexi</id>
2929
<name>Aleksei Valikov</name>
3030
<email>[email protected]</email>
31-
</developer>
31+
<roles>
32+
<role>project creator</role>
33+
</roles>
34+
</developer>
35+
<developer>
36+
<id>mattrpav</id>
37+
<name>Matt Pavlovich</name>
38+
<email>[email protected]</email>
39+
<roles>
40+
<role>maintainer</role>
41+
</roles>
42+
</developer>
3243
<developer>
3344
<id>kohsuke</id>
3445
<name>Kohsuke Kawaguchi</name>
@@ -132,6 +143,30 @@
132143
</execution>
133144
</executions>
134145
</plugin>
146+
<plugin>
147+
<groupId>org.apache.maven.plugins</groupId>
148+
<artifactId>maven-release-plugin</artifactId>
149+
<version>2.5.3</version>
150+
<configuration>
151+
<pushChanges>true</pushChanges>
152+
<localCheckout>true</localCheckout>
153+
<tagNameFormat>@{project.version}</tagNameFormat>
154+
<autoVersionSubmodules>true</autoVersionSubmodules>
155+
<goals>clean package deploy</goals>
156+
</configuration>
157+
</plugin>
158+
<plugin>
159+
<groupId>org.sonatype.plugins</groupId>
160+
<artifactId>nexus-staging-maven-plugin</artifactId>
161+
<version>${maven-nexus-staging-maven-plugin.version}</version>
162+
<extensions>true</extensions>
163+
<configuration>
164+
<serverId>oss-sonatype-staging</serverId>
165+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
166+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
167+
<stagingProgressTimeoutMinutes>30</stagingProgressTimeoutMinutes>
168+
</configuration>
169+
</plugin>
135170
</plugins>
136171
</build>
137172
</profile>
@@ -143,6 +178,7 @@
143178
<jaxb-core.version>2.3.0.1</jaxb-core.version>
144179
<activation.version>1.2.0</activation.version>
145180
<maven-jaxb2-plugin.version>0.15.1</maven-jaxb2-plugin.version>
181+
<maven-nexus-staging-maven-plugin.version>1.6.8</maven-nexus-staging-maven-plugin.version>
146182
<cxf-codegen-plugin.version>3.3.13</cxf-codegen-plugin.version>
147183
<slf4j.version>1.7.36</slf4j.version>
148184
</properties>

0 commit comments

Comments
 (0)