geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r689868 - /geronimo/genesis/trunk/pom.xml
Date Thu, 28 Aug 2008 16:05:27 GMT
Author: jdillon
Date: Thu Aug 28 09:05:26 2008
New Revision: 689868

URL: http://svn.apache.org/viewvc?rev=689868&view=rev
Log:
Use 'release.' prefix on the required configuration muck

Modified:
    geronimo/genesis/trunk/pom.xml

Modified: geronimo/genesis/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/pom.xml?rev=689868&r1=689867&r2=689868&view=diff
==============================================================================
--- geronimo/genesis/trunk/pom.xml (original)
+++ geronimo/genesis/trunk/pom.xml Thu Aug 28 09:05:26 2008
@@ -139,9 +139,9 @@
                                     Make sure that we have a configured GPG passphrase.
                                     -->
                                     <source>
-                                        def phrase = project.properties['gpg.passphrase']
+                                        def phrase = project.properties['release.passphrase']
                                         if (phrase == null || phrase.trim() == '') {
-                                            fail('Missing required property: gpg.passphrase')
+                                            fail('Missing required property: release.passphrase')
                                         }
                                     </source>
                                 </configuration>
@@ -157,6 +157,9 @@
                                 <goals>
                                     <goal>sign</goal>
                                 </goals>
+                                <configuration>
+                                    <passphrase>${release.passphrase}</passphrase>
+                                </configuration>
                             </execution>
                         </executions>
                     </plugin>
@@ -206,9 +209,9 @@
                                     and that the URL is parsable (ie. not a file reference,
which won't work
                                     -->
                                     <source>
-                                        def url = project.properties['stageDeployUrl']
+                                        def url = project.properties['release.stageDeployUrl']
                                         if (url == null || url.trim() == '') {
-                                            fail('Missing required property: stageDeployUrl')
+                                            fail('Missing required property: release.stageDeployUrl')
                                         }
                                         try {
                                             new URL(url)
@@ -226,7 +229,7 @@
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-deploy-plugin</artifactId>
                         <configuration>
-                            <altDeploymentRepository>stage-deploy::default::${stageDeployUrl}</altDeploymentRepository>
+                            <altDeploymentRepository>stage-deploy::default::${release.stageDeployUrl}</altDeploymentRepository>
                         </configuration>
                     </plugin>
                 </plugins>



Mime
View raw message