Author: hboutemy Date: Thu May 12 19:30:23 2016 New Revision: 1743547 URL: http://svn.apache.org/viewvc?rev=1743547&view=rev Log: use basedir to calculate relative path: should fix failure in Jenkins for jobs with Maven plugin
Modified: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-731/setup.groovy Modified: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-731/setup.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-731/setup.groovy?rev=1743547&r1=1743546&r2=1743547&view=diff ============================================================================== --- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-731/setup.groovy (original) +++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-731/setup.groovy Thu May 12 19:30:23 2016 @@ -21,8 +21,7 @@ import java.nio.file.Files import static org.apache.commons.io.FileUtils.write; -File root = new File( "target/it/projects/bugs/massembly-731/symlinks" ); -//File root = new File( "symlinks" ); +File root = new File( basedir, "symlinks" ); root.mkdirs(); File srcDir = new File(root, "/src");