Author: olamy
Date: Tue Jan  1 12:51:47 2008
New Revision: 607908

URL: http://svn.apache.org/viewvc?rev=607908&view=rev
Log:
fix it MJAR-70-recreation which failed with a clean repo

Modified:
    maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-70-recreation/verify.bsh

Modified: 
maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-70-recreation/verify.bsh
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-70-recreation/verify.bsh?rev=607908&r1=607907&r2=607908&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-70-recreation/verify.bsh 
(original)
+++ maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-70-recreation/verify.bsh 
Tue Jan  1 12:51:47 2008
@@ -43,11 +43,12 @@
     }   
     
     long lastModified = artifact.lastModified();
-    
+    String localRepoPath = 
basedir.getParentFile().getParentFile().getParentFile().getPath() + 
"/target/local-repo";
+    System.out.println ( localRepoPath );
     Commandline commandline = new Commandline();
     commandline.setExecutable( "mvn" );
     commandline.setWorkingDirectory( basedir );
-    commandline.createArg().setLine( "-f interpolated-pom.xml package" );     
+    commandline.createArg().setLine( "-f interpolated-pom.xml 
-Dmaven.repo.local=" + localRepoPath + " package" );     
     CommandLineUtils.StringStreamConsumer consumer = new 
CommandLineUtils.StringStreamConsumer();
     CommandLineUtils.executeCommandLine( commandline, consumer, consumer );
     


Reply via email to