You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/08/14 08:32:32 UTC

cvs commit: maven/src/java/org/apache/maven/project ArtifactType.java

dion        2003/08/13 23:32:32

  Modified:    src/java/org/apache/maven/project Tag: MAVEN_RC1_STABLE
                        ArtifactType.java
  Log:
  Add plugin artifact type
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.1   +11 -2     maven/src/java/org/apache/maven/project/Attic/ArtifactType.java
  
  Index: ArtifactType.java
  ===================================================================
  RCS file: /home/cvs/maven/src/java/org/apache/maven/project/Attic/ArtifactType.java,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- ArtifactType.java	18 Jun 2003 21:50:14 -0000	1.1
  +++ ArtifactType.java	14 Aug 2003 06:32:32 -0000	1.1.2.1
  @@ -70,7 +70,12 @@
   	 */
   	public static final ArtifactType EJB = new ArtifactType("ejb", "jar");
   
  -	/**
  +    /**
  +     * Plugin artifact mapping.
  +     */
  +    public static final ArtifactType PLUGIN = new ArtifactType("plugin", "jar");
  +	
  +    /**
   	 * Artifact type.
   	 */
   	private String type;
  @@ -124,6 +129,10 @@
   		{
   			result = EJB;	
   		}
  +        else if (type.equalsIgnoreCase("plugin"))
  +        {
  +            result = PLUGIN;   
  +        }
   		else
   		{
   			result = new ArtifactType(type, type);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org