Skip to content

Commit

Permalink
pom: added "local-deploy" profile, commented out nexus-staging-maven-…
Browse files Browse the repository at this point in the history
…plugin and "sign-artifacts" profile
  • Loading branch information
vojtechhabarta committed Apr 5, 2015
1 parent 5675845 commit 7714bf9
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.1</version>
</plugin>
<plugin>
<!-- <plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.5</version>
Expand All @@ -95,7 +95,7 @@
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<skipStagingRepositoryClose>true</skipStagingRepositoryClose>
</configuration>
</plugin>
</plugin>-->
</plugins>

</build>
Expand Down Expand Up @@ -133,6 +133,30 @@
</build>
</profile>
<profile>
<id>local-deploy</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>local-deploy</id>
<phase>install</phase>
<goals>
<goal>deploy</goal>
</goals>
<configuration>
<altDeploymentRepository>local::default::file:target/artifacts</altDeploymentRepository>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- <profile>
<id>sign-artifacts</id>
<build>
<plugins>
Expand All @@ -152,7 +176,7 @@
</plugin>
</plugins>
</build>
</profile>
</profile>-->
</profiles>

</project>

0 comments on commit 7714bf9

Please sign in to comment.