public void artifactError( ArtifactContext ac, Exception e ) { if ( !quiet ) { System.err.printf( "! %6d %s - %s\n", count, formatFile( ac.getPom() ), e.getMessage() ); System.err.printf( " %s\n", formatFile( ac.getArtifact() ) ); if ( debug ) { e.printStackTrace(); } } ts = System.currentTimeMillis(); }
File pom = ac.getPom();
public void artifactDiscovered( ArtifactContext ac ) { count++; long t = System.currentTimeMillis(); ArtifactInfo ai = ac.getArtifactInfo(); if ( !quiet && debug && "maven-plugin".equals( ai.packaging ) ) { System.err.printf( "Plugin: %s:%s:%s - %s %s\n", // ai.groupId, ai.artifactId, ai.version, ai.prefix, "" + ai.goals ); } if ( !quiet && ( debug || ( t - ts ) > 2000L ) ) { System.err.printf( " %6d %s\n", count, formatFile( ac.getPom() ) ); ts = t; } }
public void artifactError(ArtifactContext ac, Exception e) { if (debug) { writer.printf("! %6d %s - %s\n", count, formatFile(ac.getPom()), e.getMessage()); writer.printf(" %s\n", formatFile(ac.getArtifact())); e.printStackTrace(writer); } }
public void artifactDiscovered(ArtifactContext ac) { count++; ArtifactInfo ai = ac.getArtifactInfo(); if (debug) { if ("maven-plugin".equals(ai.packaging)) { writer.printf("Plugin: %s:%s:%s - %s %s\n", // ai.groupId, ai.artifactId, ai.version, ai.prefix, "" + ai.goals); } // ArtifactInfo ai = ac.getArtifactInfo(); writer.printf(" %6d %s\n", count, formatFile(ac.getPom())); } handle.progress(ac.getArtifactInfo().groupId + ":" + ac.getArtifactInfo().artifactId + ":" + ac.getArtifactInfo().version); }