aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/metadata
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-02-26 08:07:43 +0000
committerOlivier Lamy <olamy@apache.org>2012-02-26 08:07:43 +0000
commita4544331a8ac8d376540913401b52d2ce61149aa (patch)
tree439a7ed4be203140d414612a279c5f1593860e21 /archiva-modules/metadata
parent496920391cacd0e1f220c247e723834634f6cdd6 (diff)
downloadarchiva-a4544331a8ac8d376540913401b52d2ce61149aa.tar.gz
archiva-a4544331a8ac8d376540913401b52d2ce61149aa.zip
revert twoPhaseBuilding model building as it breaks maven inheritance resolution (for dependencies version)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293768 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata')
-rw-r--r--archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Dependency.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Dependency.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Dependency.java
index 772984fd9..14f9defe2 100644
--- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Dependency.java
+++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Dependency.java
@@ -149,4 +149,21 @@ public class Dependency
{
return groupId;
}
+
+ @Override
+ public String toString()
+ {
+ final StringBuilder sb = new StringBuilder();
+ sb.append( "Dependency" );
+ sb.append( "{classifier='" ).append( classifier ).append( '\'' );
+ sb.append( ", optional=" ).append( optional );
+ sb.append( ", scope='" ).append( scope ).append( '\'' );
+ sb.append( ", systemPath='" ).append( systemPath ).append( '\'' );
+ sb.append( ", type='" ).append( type ).append( '\'' );
+ sb.append( ", artifactId='" ).append( artifactId ).append( '\'' );
+ sb.append( ", groupId='" ).append( groupId ).append( '\'' );
+ sb.append( ", version='" ).append( version ).append( '\'' );
+ sb.append( '}' );
+ return sb.toString();
+ }
}