You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jd...@apache.org on 2005/06/09 20:47:38 UTC
svn commit: r189788 -
/maven/components/trunk/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/phase/RewritePhase.java
Author: jdcasey
Date: Thu Jun 9 11:47:37 2005
New Revision: 189788
URL: http://svn.apache.org/viewcvs?rev=189788&view=rev
Log:
Fixing reporting problem due to inlining the old per-artifact reports into the repository report. Turned a couple of ERROR's to WARNING's.
Modified:
maven/components/trunk/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/phase/RewritePhase.java
Modified: maven/components/trunk/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/phase/RewritePhase.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/phase/RewritePhase.java?rev=189788&r1=189787&r2=189788&view=diff
==============================================================================
--- maven/components/trunk/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/phase/RewritePhase.java (original)
+++ maven/components/trunk/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/phase/RewritePhase.java Thu Jun 9 11:47:37 2005
@@ -168,18 +168,12 @@
{
repoReporter.warn( "Target file for artifact is present and not stale. (Artifact: \'"
+ artifact.getId() + "\' in path: \'" + artifactSource + "\' with target path: "
- + artifactTarget + ")." );
+ + artifactTarget + ")...SKIPPING" );
}
else
{
- repoReporter.error( "Cannot find source file for artifact: \'" + artifact.getId()
- + "\' under path: \'" + artifactSource + "\'" );
- }
-
- if ( repoReporter.hasError() )
- {
- repoReporter.warn( "Error(s) occurred while rewriting artifact: \'" + artifact.getId()
- + "\' or its POM." );
+ repoReporter.warn( "Cannot find source file for artifact: \'" + artifact.getId()
+ + "\' under path: \'" + artifactSource + "\'...SKIPPING" );
}
}
catch ( Exception e )
@@ -193,7 +187,7 @@
}
catch ( RollbackException re )
{
- repoReporter.error( "Error rolling back conversion transaction.", re );
+ repoReporter.error( "Error rolling back conversion transaction (artifact: " + artifact.getId() + ").", re );
}
}
else
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org