aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-model
diff options
context:
space:
mode:
authorMaria Odea B. Ching <oching@apache.org>2008-10-11 03:56:18 +0000
committerMaria Odea B. Ching <oching@apache.org>2008-10-11 03:56:18 +0000
commita6c9464436d9667324436fcb965bc1fde9e23ef5 (patch)
tree00baacb8776247592a46c03d685d3158b97d6d00 /archiva-modules/archiva-base/archiva-model
parentc127dd4a1141820f9a7dba1689de9ea2c689ea1a (diff)
downloadarchiva-a6c9464436d9667324436fcb965bc1fde9e23ef5.tar.gz
archiva-a6c9464436d9667324436fcb965bc1fde9e23ef5.zip
[MRM-952] (also fixes MRM-615, MRM-844 and MRM-620)
submitted by Michal Stochmialek - fixes problems with expression resolving (${pom.version}) in dependencies, - adds support for parent.{groupId, artifactId, version) properties, - fixes issues with jdo detachCopy called from ProjectModelToDatabaseListener while creating effective pom, - fixes inconsistency in key format used in effective model cache, - add merging parentProject and properties while creating effective pom, - ArchivaProjectModel.setOrgin("filesystem") was moved to readers (where IMO should be), - adds few new test cases. additional changes: - applied codestyle formatting to patch git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@703626 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-model')
-rw-r--r--archiva-modules/archiva-base/archiva-model/src/main/mdo/archiva-base.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/archiva-modules/archiva-base/archiva-model/src/main/mdo/archiva-base.xml b/archiva-modules/archiva-base/archiva-model/src/main/mdo/archiva-base.xml
index b7e03b5af..93912f688 100644
--- a/archiva-modules/archiva-base/archiva-model/src/main/mdo/archiva-base.xml
+++ b/archiva-modules/archiva-base/archiva-model/src/main/mdo/archiva-base.xml
@@ -893,7 +893,7 @@
StringBuffer key = new StringBuffer();
key.append( defaultString( reference.getGroupId() ) ).append( ":" );
- key.append( defaultString( reference.getArtifactId() ) ).append( ":" );
+ key.append( defaultString( reference.getArtifactId() ) );
return key.toString();
}
@@ -969,7 +969,7 @@
key.append( defaultString( reference.getGroupId() ) ).append( ":" );
key.append( defaultString( reference.getArtifactId() ) ).append( ":" );
- key.append( defaultString( reference.getVersion() ) ).append( ":" );
+ key.append( defaultString( reference.getVersion() ) );
return key.toString();
}