Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Commit 4673395

Browse files
authored
Merge pull request #15 from bazaarvoice/fsiddiqui-auto2
Move autorelease plugin out of profiles
2 parents 168eb04 + 24d0e8c commit 4673395

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

pom.xml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,18 @@ under the License.
340340
</execution>
341341
</executions>
342342
</plugin>
343+
<!--auto release to maven central-->
344+
<plugin>
345+
<groupId>org.sonatype.plugins</groupId>
346+
<artifactId>nexus-staging-maven-plugin</artifactId>
347+
<version>1.6.2</version>
348+
<extensions>true</extensions>
349+
<configuration>
350+
<serverId>sonatype-nexus-staging</serverId>
351+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
352+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
353+
</configuration>
354+
</plugin>
343355
</plugins>
344356
<pluginManagement>
345357
<plugins>
@@ -463,17 +475,6 @@ under the License.
463475
</execution>
464476
</executions>
465477
</plugin>
466-
<plugin>
467-
<groupId>org.sonatype.plugins</groupId>
468-
<artifactId>nexus-staging-maven-plugin</artifactId>
469-
<version>1.6.2</version>
470-
<extensions>true</extensions>
471-
<configuration>
472-
<serverId>sonatype-nexus-staging</serverId>
473-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
474-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
475-
</configuration>
476-
</plugin>
477478
</plugins>
478479
</build>
479480
<reporting>

0 commit comments

Comments
 (0)