summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-06-14 13:35:46 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-06-14 13:35:46 +0000
commitd7eeaa9b79fd874a085bd63aaa512e6f74b29131 (patch)
tree9ad6bbb50612e2a5975b7c0e250f9e883d1d04ac /sca-java-2.x/trunk
parent42e129ae47706d5bfac43edf2136cb0efdfd3a3e (diff)
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
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@954455 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r--sca-java-2.x/trunk/pom.xml43
1 files changed, 34 insertions, 9 deletions
diff --git a/sca-java-2.x/trunk/pom.xml b/sca-java-2.x/trunk/pom.xml
index 4ccebf2449..3420a59487 100644
--- a/sca-java-2.x/trunk/pom.xml
+++ b/sca-java-2.x/trunk/pom.xml
@@ -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>