diff options
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r-- | sca-java-2.x/trunk/pom.xml | 43 |
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> |