You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by vm...@apache.org on 2003/09/21 23:22:52 UTC
cvs commit: maven/src/java/org/apache/maven/project ArtifactType.java
vmassol 2003/09/21 14:22:52
Modified: src/java/org/apache/maven/project ArtifactType.java
Log:
Added new artifact type: "aspect". This represents a reusable aspectj library
Revision Changes Path
1.5 +12 -3 maven/src/java/org/apache/maven/project/ArtifactType.java
Index: ArtifactType.java
===================================================================
RCS file: /home/cvs/maven/src/java/org/apache/maven/project/ArtifactType.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ArtifactType.java 11 Sep 2003 13:03:56 -0000 1.4
+++ ArtifactType.java 21 Sep 2003 21:22:52 -0000 1.5
@@ -74,6 +74,11 @@
* Plugin artifact mapping.
*/
public static final ArtifactType PLUGIN = new ArtifactType("plugin", "jar");
+
+ /**
+ * Reusable AspectJ aspect mapping.
+ */
+ public static final ArtifactType ASPECT = new ArtifactType("aspect", "jar");
/**
* Artifact type.
@@ -127,11 +132,15 @@
}
else if (type.equalsIgnoreCase("ejb"))
{
- result = EJB;
+ result = EJB;
}
else if (type.equalsIgnoreCase("plugin"))
{
- result = PLUGIN;
+ result = PLUGIN;
+ }
+ else if (type.equalsIgnoreCase("aspect"))
+ {
+ result = ASPECT;
}
else
{
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org