You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2003/05/26 18:22:23 UTC

cvs commit: maven-new/core/src/test/org/apache/maven/artifact/handlers DefaultArtifactHandlerManagerTest.xml

jvanzyl     2003/05/26 09:22:23

  Modified:    core/src/test/org/apache/maven/artifact/handlers
                        DefaultArtifactHandlerManagerTest.xml
  Log:
  o The handlers are configured and assembled as components and the artifact handler
    manager has been setup to deal with this.
  
    We definitely want people to be able to change this easily so we can probably
    use some of the hiearchical configuration stuff from plexus to make this
    very easy for users to specify their own handlers.
  
  Revision  Changes    Path
  1.2       +16 -0     maven-new/core/src/test/org/apache/maven/artifact/handlers/DefaultArtifactHandlerManagerTest.xml
  
  Index: DefaultArtifactHandlerManagerTest.xml
  ===================================================================
  RCS file: /home/cvs/maven-new/core/src/test/org/apache/maven/artifact/handlers/DefaultArtifactHandlerManagerTest.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefaultArtifactHandlerManagerTest.xml	25 May 2003 19:10:24 -0000	1.1
  +++ DefaultArtifactHandlerManagerTest.xml	26 May 2003 16:22:23 -0000	1.2
  @@ -1,9 +1,25 @@
   <configuration>
     <components>
  +
       <component>
         <role>org.apache.maven.artifact.handlers.ArtifactHandlerManager</role>
         <implementation>org.apache.maven.artifact.handlers.DefaultArtifactHandlerManager</implementation>
  +    </component>
  +
  +    <component>
  +      <role>org.apache.maven.artifact.handlers.ArtifactHandler</role>
  +      <role-hint>default</role-hint>
  +      <implementation>org.apache.maven.artifact.handlers.NOPHandler</implementation>
  +      <configuration/>
  +    </component>
  +
  +    <component>
  +      <role>org.apache.maven.artifact.handlers.ArtifactHandler</role>
  +      <role-hint>jar</role-hint>
  +      <implementation>org.apache.maven.artifact.handlers.JarHandler</implementation>
         <configuration/>
       </component>
  +
     </components>
  +
   </configuration>
  
  
  

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