Skip to content

Commit 7714bf9

Browse files
pom: added "local-deploy" profile, commented out nexus-staging-maven-plugin and "sign-artifacts" profile
1 parent 5675845 commit 7714bf9

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

pom.xml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<artifactId>maven-javadoc-plugin</artifactId>
8686
<version>2.10.1</version>
8787
</plugin>
88-
<plugin>
88+
<!-- <plugin>
8989
<groupId>org.sonatype.plugins</groupId>
9090
<artifactId>nexus-staging-maven-plugin</artifactId>
9191
<version>1.6.5</version>
@@ -95,7 +95,7 @@
9595
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
9696
<skipStagingRepositoryClose>true</skipStagingRepositoryClose>
9797
</configuration>
98-
</plugin>
98+
</plugin>-->
9999
</plugins>
100100

101101
</build>
@@ -133,6 +133,30 @@
133133
</build>
134134
</profile>
135135
<profile>
136+
<id>local-deploy</id>
137+
<build>
138+
<plugins>
139+
<plugin>
140+
<groupId>org.apache.maven.plugins</groupId>
141+
<artifactId>maven-deploy-plugin</artifactId>
142+
<version>2.8.2</version>
143+
<executions>
144+
<execution>
145+
<id>local-deploy</id>
146+
<phase>install</phase>
147+
<goals>
148+
<goal>deploy</goal>
149+
</goals>
150+
<configuration>
151+
<altDeploymentRepository>local::default::file:target/artifacts</altDeploymentRepository>
152+
</configuration>
153+
</execution>
154+
</executions>
155+
</plugin>
156+
</plugins>
157+
</build>
158+
</profile>
159+
<!-- <profile>
136160
<id>sign-artifacts</id>
137161
<build>
138162
<plugins>
@@ -152,7 +176,7 @@
152176
</plugin>
153177
</plugins>
154178
</build>
155-
</profile>
179+
</profile>-->
156180
</profiles>
157181

158182
</project>

0 commit comments

Comments
 (0)