Author: antelder
Date: Mon Jun 14 13:35:46 2010
New Revision: 954455
URL: http://svn.apache.org/viewvc?rev=954455&view=rev
Log:
Update the release profile to include everything that gets released and signs
and deploys them. The idea is this profile does _everything_ so for a release
you just do mvn -Prelease and thats it to have the staging repo created and the
distributions signed and uploaded
Modified:
tuscany/sca-java-2.x/trunk/pom.xml
Modified: tuscany/sca-java-2.x/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/pom.xml?rev=954455&r1=954454&r2=954455&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/pom.xml (original)
+++ tuscany/sca-java-2.x/trunk/pom.xml Mon Jun 14 13:35:46 2010
@@ -567,26 +567,39 @@
<profile>
<id>release</id>
+ <properties>
+ <skipTests>true</skipTests>
+ <buildZips>true</buildZips>
+
<altDeploymentRepository>id::default::file:target/deploy</altDeploymentRepository>
+ </properties>
<modules>
+ <module>maven/maven-tuscany-plugin</module>
<module>modules</module>
+ <module>shades</module>
+ <module>distribution</module>
<module>archetypes</module>
</modules>
- <build>
- <plugins>
-
+ <build>
+ <defaultGoal>deploy</defaultGoal>
+ <plugins>
<plugin>
<inherited>true</inherited>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.4</version>
<configuration>
-
<altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
<updateReleaseInfo>true</updateReleaseInfo>
</configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>deploy</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
-
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
- <version>1.0-alpha-4</version>
+ <version>1.1</version>
<executions>
<execution>
<goals>
@@ -595,9 +608,21 @@
</execution>
</executions>
</plugin>
-
- </plugins>
- </build>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1.1</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</profile>
<profile>