mirror of https://github.com/apache/archiva.git
Fixing bad decision to use "<" and ">" in report messages, as they are currently filtered out as HTML.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579679 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
de8c40f546
commit
7f570c94b5
|
@ -291,9 +291,9 @@ public class ProjectModelToDatabaseConsumer
|
|||
{
|
||||
StringBuffer emsg = new StringBuffer();
|
||||
emsg.append( "File " ).append( artifactFile.getName() );
|
||||
emsg.append( " has an invalid project model <" ).append( model.toString() ).append( ">: " );
|
||||
emsg.append( "The model artifactId <" ).append( model.getArtifactId() );
|
||||
emsg.append( "> does not match the artifactId portion of the filename: " ).append( parts.artifactId );
|
||||
emsg.append( " has an invalid project model [" ).append( model.toString() ).append( "]: " );
|
||||
emsg.append( "The model artifactId [" ).append( model.getArtifactId() );
|
||||
emsg.append( "] does not match the artifactId portion of the filename: " ).append( parts.artifactId );
|
||||
|
||||
getLogger().warn(emsg.toString() );
|
||||
addProblem( artifact, emsg.toString() );
|
||||
|
@ -306,9 +306,9 @@ public class ProjectModelToDatabaseConsumer
|
|||
{
|
||||
StringBuffer emsg = new StringBuffer();
|
||||
emsg.append( "File " ).append( artifactFile.getName() );
|
||||
emsg.append( " has an invalid project model <" ).append( model.toString() ).append( ">: " );
|
||||
emsg.append( "The model version <" ).append( model.getVersion() );
|
||||
emsg.append( "> does not match the version portion of the filename: " ).append( parts.version );
|
||||
emsg.append( " has an invalid project model [" ).append( model.toString() ).append( "]: " );
|
||||
emsg.append( "The model version [" ).append( model.getVersion() );
|
||||
emsg.append( "] does not match the version portion of the filename: " ).append( parts.version );
|
||||
|
||||
getLogger().warn(emsg.toString() );
|
||||
addProblem( artifact, emsg.toString() );
|
||||
|
|
Loading…
Reference in New Issue