geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r689928 - /geronimo/genesis/trunk/pom.xml
Date Thu, 28 Aug 2008 18:44:09 GMT
Author: jdillon
Date: Thu Aug 28 11:44:08 2008
New Revision: 689928

URL: http://svn.apache.org/viewvc?rev=689928&view=rev
Log:
Make sure project.description is changed
Use more xpath notation for locations in the pom.xml to avoid confusion with properties

Modified:
    geronimo/genesis/trunk/pom.xml

Modified: geronimo/genesis/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/pom.xml?rev=689928&r1=689927&r2=689928&view=diff
==============================================================================
--- geronimo/genesis/trunk/pom.xml (original)
+++ geronimo/genesis/trunk/pom.xml Thu Aug 28 11:44:08 2008
@@ -125,27 +125,31 @@
                         <configuration>
                             <source>
                                 if (!project.groupId.startsWith('org.apache.geronimo.genesis'))
{
-                                    //
-                                    // TODO: See if we can use GPath to simplify validation
muck
-                                    //
-                                    
                                     def failIfNotConfigured = { var, value, name ->
                                         if (var.startsWith(value)) {
-                                            fail("Genesis child project must configure: $name")
+                                            fail("Genesis child project must configure element:
$name")
                                         }
                                     }
                                     
-                                    failIfNotConfigured(project.scm.connection,
+                                    failIfNotConfigured(
+                                        project.description,
+                                        'Genesis provides',
+                                        'project/description')
+                                    
+                                    failIfNotConfigured(
+                                        project.scm.connection,
                                         'scm:svn:http://svn.apache.org/repos/asf/geronimo/genesis',
-                                        'scm.connection')
+                                        'project/scm/connection')
                                     
-                                    failIfNotConfigured(project.scm.developerConnection,
+                                    failIfNotConfigured(
+                                        project.scm.developerConnection,
                                         'scm:svn:https://svn.apache.org/repos/asf/geronimo/genesis',
-                                        'scm.developerConnection')
+                                        'project/scm/developerConnection')
                                     
-                                    failIfNotConfigured(project.scm.url,
+                                    failIfNotConfigured(
+                                        project.scm.url,
                                         'http://svn.apache.org/viewvc/geronimo/geronimo/genesis',
-                                        'scm.url')
+                                        'project/scm/url')
                                 }
                             </source>
                         </configuration>



Mime
View raw message