Skip to content

Commit

Permalink
Add release profile.
Browse files Browse the repository at this point in the history
  • Loading branch information
erd committed Apr 17, 2015
1 parent 0042913 commit 8ab10b8
Showing 1 changed file with 78 additions and 1 deletion.
79 changes: 78 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
<version>1.0.0-SNAPSHOT</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
Expand Down Expand Up @@ -98,4 +98,81 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<scm>
<url>[email protected]:robolectric/robolectric-velocity-plugin.git</url>
<connection>scm:git:git://github.com/robolectric/robolectric-velocity-plugin.git</connection>
<developerConnection>scm:git:https://github.com/robolectric/robolectric-velocity-plugin.git</developerConnection>
</scm>

<ciManagement>
<system>Travis CI</system>
<url>http://travis-ci.org/robolectric/robolectric-velocity-plugin</url>
</ciManagement>

<mailingLists>
<mailingList>
<name>User List</name>
<post>[email protected]</post>
<archive>http://groups.google.com/group/robolectric</archive>
</mailingList>
</mailingLists>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
</license>
</licenses>
</project>

0 comments on commit 8ab10b8

Please sign in to comment.