mirror of https://github.com/apache/maven.git
Fixing reporting problem due to inlining the old per-artifact reports into the repository report. Turned a couple of ERROR's to WARNING's.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189788 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8095007690
commit
e84dc8c753
|
@ -168,18 +168,12 @@ public class RewritePhase
|
|||
{
|
||||
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 @@ public class RewritePhase
|
|||
}
|
||||
catch ( RollbackException re )
|
||||
{
|
||||
repoReporter.error( "Error rolling back conversion transaction.", re );
|
||||
repoReporter.error( "Error rolling back conversion transaction (artifact: " + artifact.getId() + ").", re );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue