Skip to content
This repository has been archived by the owner on Dec 30, 2019. It is now read-only.

Commit

Permalink
Remove dependecy on third-party maven repositories. Add GPG sign and …
Browse files Browse the repository at this point in the history
…GitHub artifact upload to release process.
  • Loading branch information
JakeWharton committed Apr 24, 2011
1 parent 11e09b6 commit 9d36840
Showing 1 changed file with 44 additions and 11 deletions.
55 changes: 44 additions & 11 deletions pom.xml
Expand Up @@ -195,15 +195,48 @@
</plugin>
</plugins>
</reporting>

<repositories>
<repository>
<id>google-gson</id>
<url>http://google-gson.googlecode.com/svn/mavenrepo/</url>
</repository>
<repository>
<id>repository.jakewharton.com</id>
<url>http://r.jakewharton.com/maven/release/</url>
</repository>
</repositories>

<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>com.jakewharton</groupId>
<artifactId>github-deploy-maven-plugin</artifactId>
<version>1.0.1</version>
<configuration>
<types>
<type>jar</type>
</types>
</configuration>
<goals>
<goal>deploy</goal>
</goals>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 9d36840

Please sign in to comment.