You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by jc...@apache.org on 2008/02/23 15:13:51 UTC

svn commit: r630440 - /commons/proper/proxy/branches/proxy-1.0-work/pom.xml

Author: jcarman
Date: Sat Feb 23 06:13:51 2008
New Revision: 630440

URL: http://svn.apache.org/viewvc?rev=630440&view=rev
Log:
Trying to come up with a good release candidate procedure.

Modified:
    commons/proper/proxy/branches/proxy-1.0-work/pom.xml

Modified: commons/proper/proxy/branches/proxy-1.0-work/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/proxy-1.0-work/pom.xml?rev=630440&r1=630439&r2=630440&view=diff
==============================================================================
--- commons/proper/proxy/branches/proxy-1.0-work/pom.xml (original)
+++ commons/proper/proxy/branches/proxy-1.0-work/pom.xml Sat Feb 23 06:13:51 2008
@@ -259,6 +259,29 @@
     <profiles>
         <profile>
             <id>rc</id>
+            <distributionManagement>
+                <repository>
+                    <id>staging</id>
+                    <name>Release Candidate Staging</name>
+                    <url>
+                        ${commons.deployment.protocol}://people.apache.org/home/${releaseManager}/staging/${artifact-id}-${version}/
+                    </url>
+                </repository>
+                <snapshotRepository>
+                    <id>staging</id>
+                    <name>Release Candidate Staging</name>
+                    <url>
+                        ${commons.deployment.protocol}://people.apache.org/home/${releaseManager}/staging/${artifact-id}-${version}/
+                    </url>
+                </snapshotRepository>
+                <site>
+                    <id>stagingSite</id>
+                    <name>Release Candidate Staging Site</name>
+                    <url>
+                        ${commons.deployment.protocol}://people.apache.org/home/${releaseManager}/staging/${artifactId}-${version}/site/
+                    </url>
+                </site>
+            </distributionManagement>
             <build>
                 <plugins>
                     <plugin>
@@ -269,6 +292,61 @@
                                     <goal>attached</goal>
                                 </goals>
                                 <phase>package</phase>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <artifactId>maven-gpg-plugin</artifactId>
+                        <configuration>
+                            <passphrase>${gpg.passphrase}</passphrase>
+                        </configuration>
+                        <executions>
+                            <execution>
+                                <id>sign-artifacts</id>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <artifactId>maven-install-plugin</artifactId>
+                        <configuration>
+                            <createChecksum>true</createChecksum>
+                        </configuration>
+                    </plugin>
+                    <plugin>
+                        <artifactId>maven-source-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>create-source-jar</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                                <phase>package</phase>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <artifactId>maven-release-plugin</artifactId>
+                        <configuration>
+                            <!-- Pass these arguments to the deploy plugin. -->
+                            <arguments>-Prc</arguments>
+                        </configuration>
+                    </plugin>
+                    <plugin>
+                        <artifactId>maven-javadoc-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>create-javadoc-jar</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                                <phase>package</phase>
+                                <configuration>
+                                    <source>${maven.compile.source}</source>
+                                </configuration>
                             </execution>
                         </executions>
                     </plugin>