aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/metadata/metadata-model
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2009-11-25 03:11:22 +0000
committerBrett Porter <brett@apache.org>2009-11-25 03:11:22 +0000
commit46fa8834873fa1aed03fdfc499508203419e033e (patch)
tree82d0a4f247dec5c437bd8b364cc8cc33bc406693 /archiva-modules/metadata/metadata-model
parent7d2c217bdb9c752a573f20827c102eed6a924a54 (diff)
downloadarchiva-46fa8834873fa1aed03fdfc499508203419e033e.tar.gz
archiva-46fa8834873fa1aed03fdfc499508203419e033e.zip
[MRM-1282] clear up confusing "build" terminology, instead using project version (1.0-SNAPSHOT) and artifact version (1.0-20091112.0123456-1)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883965 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata/metadata-model')
-rw-r--r--archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionFacet.java (renamed from archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectBuildFacet.java)2
-rw-r--r--archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionMetadata.java (renamed from archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectBuildMetadata.java)10
2 files changed, 6 insertions, 6 deletions
diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectBuildFacet.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionFacet.java
index 6b02fc8ce..8cb109fcb 100644
--- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectBuildFacet.java
+++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionFacet.java
@@ -19,7 +19,7 @@ package org.apache.archiva.metadata.model;
* under the License.
*/
-public interface ProjectBuildFacet
+public interface ProjectVersionFacet
{
String getFacetId();
}
diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectBuildMetadata.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionMetadata.java
index 712481745..c2add5b4f 100644
--- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectBuildMetadata.java
+++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionMetadata.java
@@ -24,7 +24,7 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
-public class ProjectBuildMetadata
+public class ProjectVersionMetadata
{
private String id;
@@ -44,7 +44,7 @@ public class ProjectBuildMetadata
private List<License> licenses;
- private Map<String, ProjectBuildFacet> facets;
+ private Map<String, ProjectVersionFacet> facets;
public String getId()
{
@@ -145,16 +145,16 @@ public class ProjectBuildMetadata
this.licenses.add( license );
}
- public void addFacet( ProjectBuildFacet mavenProjectFacet )
+ public void addFacet( ProjectVersionFacet mavenProjectFacet )
{
if ( this.facets == null )
{
- this.facets = new HashMap<String, ProjectBuildFacet>();
+ this.facets = new HashMap<String, ProjectVersionFacet>();
}
this.facets.put( mavenProjectFacet.getFacetId(), mavenProjectFacet );
}
- public ProjectBuildFacet getFacet( String facetId )
+ public ProjectVersionFacet getFacet( String facetId )
{
return this.facets.get( facetId );
}