geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r440506 - /geronimo/genesis/trunk/plugins/maven-maven-plugin/src/main/java/org/apache/geronimo/genesis/plugins/maven/InvokeMavenMojo.java
Date Tue, 05 Sep 2006 22:12:20 GMT
Author: jdillon
Date: Tue Sep  5 15:12:19 2006
New Revision: 440506

URL: http://svn.apache.org/viewvc?view=rev&rev=440506
Log:
DirectoryScanner returns relative files to basedir, so we need to root to basedir

Modified:
    geronimo/genesis/trunk/plugins/maven-maven-plugin/src/main/java/org/apache/geronimo/genesis/plugins/maven/InvokeMavenMojo.java

Modified: geronimo/genesis/trunk/plugins/maven-maven-plugin/src/main/java/org/apache/geronimo/genesis/plugins/maven/InvokeMavenMojo.java
URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/plugins/maven-maven-plugin/src/main/java/org/apache/geronimo/genesis/plugins/maven/InvokeMavenMojo.java?view=diff&rev=440506&r1=440505&r2=440506
==============================================================================
--- geronimo/genesis/trunk/plugins/maven-maven-plugin/src/main/java/org/apache/geronimo/genesis/plugins/maven/InvokeMavenMojo.java
(original)
+++ geronimo/genesis/trunk/plugins/maven-maven-plugin/src/main/java/org/apache/geronimo/genesis/plugins/maven/InvokeMavenMojo.java
Tue Sep  5 15:12:19 2006
@@ -104,13 +104,13 @@
 
         String[] filenames = fileset.getIncludedFiles();
         for (int i=0; i<filenames.length; i++) {
-            invoke(new File(filenames[i]));
+            invoke(new File(fileset.getBasedir(), filenames[i]));
         }
     }
 
     private void invoke(final File pom) throws Exception {
         if (!pom.exists()) {
-            throw new MojoExecutionException("Missing pom file as: " + pom);
+            throw new MojoExecutionException("Missing pom file: " + pom);
         }
 
         log.info("Invoking: " + pom);



Mime
View raw message