Author: trygvis
Date: Tue Jun  7 12:14:34 2005
New Revision: 188848

URL: http://svn.apache.org/viewcvs?rev=188848&view=rev
Log:
o Adding handler for Plexus applications.

Added:
    
maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/handler/PlexusApplicationHandler.java
   (with props)
Modified:
    
maven/components/trunk/maven-artifact/src/main/resources/META-INF/plexus/components.xml

Added: 
maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/handler/PlexusApplicationHandler.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/handler/PlexusApplicationHandler.java?rev=188848&view=auto
==============================================================================
--- 
maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/handler/PlexusApplicationHandler.java
 (added)
+++ 
maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/handler/PlexusApplicationHandler.java
 Tue Jun  7 12:14:34 2005
@@ -0,0 +1,30 @@
+package org.apache.maven.artifact.handler;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
+ * @version $Id$
+ */
+public class PlexusApplicationHandler
+    extends JarHandler
+{
+    public String packageGoal()
+    {
+        return "plexus:app";
+    }
+}

Propchange: 
maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/handler/PlexusApplicationHandler.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/handler/PlexusApplicationHandler.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: 
maven/components/trunk/maven-artifact/src/main/resources/META-INF/plexus/components.xml
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact/src/main/resources/META-INF/plexus/components.xml?rev=188848&r1=188847&r2=188848&view=diff
==============================================================================
--- 
maven/components/trunk/maven-artifact/src/main/resources/META-INF/plexus/components.xml
 (original)
+++ 
maven/components/trunk/maven-artifact/src/main/resources/META-INF/plexus/components.xml
 Tue Jun  7 12:14:34 2005
@@ -153,6 +153,12 @@
 
     <component>
       <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
+      <role-hint>plexus-application</role-hint>
+      
<implementation>org.apache.maven.artifact.handler.PlexusApplicationHandler</implementation>
+    </component>
+
+    <component>
+      <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
       <role-hint>plexus-service</role-hint>
       
<implementation>org.apache.maven.artifact.handler.PlexusServiceHandler</implementation>
     </component>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to