aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-base
diff options
context:
space:
mode:
authorJoakim Erdfelt <joakime@apache.org>2007-09-26 14:47:50 +0000
committerJoakim Erdfelt <joakime@apache.org>2007-09-26 14:47:50 +0000
commit7f570c94b5eeab18f4893c8b18e78bfc8bbc875f (patch)
tree123f9a02bd1c4fbdecaa0a229adc35911951eded /archiva-base
parentde8c40f54636f7a43e61c516791c0d95167ba416 (diff)
downloadarchiva-7f570c94b5eeab18f4893c8b18e78bfc8bbc875f.tar.gz
archiva-7f570c94b5eeab18f4893c8b18e78bfc8bbc875f.zip
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
Diffstat (limited to 'archiva-base')
-rw-r--r--archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ProjectModelToDatabaseConsumer.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ProjectModelToDatabaseConsumer.java b/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ProjectModelToDatabaseConsumer.java
index 08a212842..33dc42910 100644
--- a/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ProjectModelToDatabaseConsumer.java
+++ b/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ProjectModelToDatabaseConsumer.java
@@ -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() );