Skip to content

Commit

Permalink
Updated pom.xml to include deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Jakob Mearns committed Dec 24, 2017
1 parent a2b4c56 commit c7e1250
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@

<groupId>com.clout-team.samjakob</groupId>
<artifactId>SpigotPaginatedGUI</artifactId>
<version>1.2-SNAPSHOT</version>
<version>1.3-SNAPSHOT</version>


<build>
<plugins>
<!-- Target Java 8 (lambdas) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand All @@ -17,9 +20,48 @@
<target>1.8</target>
</configuration>
</plugin>

<!-- Disable default Maven deploy goal -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>

<!-- Goal to deploy to Nexus -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.5.1</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- Clout Team Nexus -->
<serverId>clout-team</serverId>
<nexusUrl>http://app.clout-team.com:8081/repository/clout_team/</nexusUrl>
<skipStaging>true</skipStaging>
</configuration>
</plugin>
</plugins>
</build>

<distributionManagement>
<snapshotRepository>
<id>clout-team</id>
<url>http://app.clout-team.com:8081/repository/clout_team/</url>
</snapshotRepository>
</distributionManagement>

<repositories>
<repository>
<id>spigot-repo</id>
Expand Down

0 comments on commit c7e1250

Please sign in to comment.