maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tryg...@apache.org
Subject cvs commit: maven-components/maven-artifact/src/main/resources/META-INF/plexus components.xml
Date Tue, 15 Mar 2005 07:35:18 GMT
trygvis     2005/03/14 23:35:18

  Modified:    maven-artifact/src/main/resources/META-INF/plexus
                        components.xml
  Added:       maven-artifact/src/main/java/org/apache/maven/artifact/handler
                        PlexusServiceHandler.java
  Log:
  o Adding a Plexus service handler.
  
  Revision  Changes    Path
  1.1                  maven-components/maven-artifact/src/main/java/org/apache/maven/artifact/handler/PlexusServiceHandler.java
  
  Index: PlexusServiceHandler.java
  ===================================================================
  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.
   */
  
  /*
   * Copyright 2001-2004 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:jason@maven.org">Jason van Zyl</a>
   * @version $Id: PlexusServiceHandler.java,v 1.1 2005/03/15 07:35:17 trygvis Exp $
   */
  public class PlexusServiceHandler
      extends JarHandler
  {
      public String packageGoal()
      {
          return "plexus:service";
      }
  }
  
  
  
  1.7       +7 -1      maven-components/maven-artifact/src/main/resources/META-INF/plexus/components.xml
  
  Index: components.xml
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-artifact/src/main/resources/META-INF/plexus/components.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- components.xml	15 Mar 2005 03:09:42 -0000	1.6
  +++ components.xml	15 Mar 2005 07:35:18 -0000	1.7
  @@ -36,7 +36,7 @@
           </requirement>
         </requirements>
       </component>
  -    
  +
       <!--
        |
        | ArtifactInstaller
  @@ -94,6 +94,12 @@
   
       <component>
         <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
  +      <role-hint>plexus-service</role-hint>
  +      <implementation>org.apache.maven.artifact.handler.PlexusServiceHandler</implementation>
  +    </component>
  +
  +    <component>
  +      <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
         <role-hint>jar</role-hint>
         <implementation>org.apache.maven.artifact.handler.JarHandler</implementation>
       </component>
  
  
  

Mime
View raw message