Author: matzew
Date: Sun Feb 11 06:36:24 2007
New Revision: 506007
URL: http://svn.apache.org/viewvc?view=rev&rev=506007
Log:
added staging and release profile to plugins_release branch
Modified:
incubator/adffaces/branches/matzew-m1-plugins/pom.xml
Modified: incubator/adffaces/branches/matzew-m1-plugins/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-m1-plugins/pom.xml?view=diff&rev=506007&r1=506006&r2=506007
==============================================================================
--- incubator/adffaces/branches/matzew-m1-plugins/pom.xml (original)
+++ incubator/adffaces/branches/matzew-m1-plugins/pom.xml Sun Feb 11 06:36:24
2007
@@ -248,4 +248,83 @@
-->
</distributionManagement>
-</project>
+ <profile>
+ <id>staging</id>
+ <build>
+ <plugins>
+ <!-- We want to deploy the artifact to a staging location for perusal
+ mvn -Pstaging
-Ddeploy.altRepository=scpexe://people.apache.org/www/people.apache.org/builds/myfaces/m2-staging-repository
+ -->
+ <plugin>
+ <inherited>true</inherited>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>2.3</version>
+ <configuration>
+
<altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
+ <updateReleaseInfo>true</updateReleaseInfo>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>release</id>
+ <!--
+ NOTE: To use you need to enable this profile and pass in the passphrase:
+ mvn -Prelease -Dpassphrase=thephrase
+ -->
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.0.2</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.2</version>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <id>getting-scm.revision</id>
+ <goals><goal>update</goal></goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+</project>
\ No newline at end of file