470471472473474475476477478479480
while ( i.hasNext() ) { Artifact artifact = (Artifact) i.next(); File file = artifact.getFile(); File dest = new File(repoDirectory, layout.pathOf(artifact)); getLog().debug( "Adding " + file ); try {
483484485486487488489490491492493
catch ( IOException e ) { throw new MojoExecutionException( "Error copying file " + file + " into " + javaDirectory, e ); } list.add( repoDirectory.getName() +"/" + layout.pathOf(artifact) ); } return list; }