]> source.dussan.org Git - archiva.git/commitdiff
MRM-211 : Cannot use Archiva to get Maven1 Plugins
authorArnaud Heritier <aheritier@apache.org>
Thu, 10 May 2007 22:01:14 +0000 (22:01 +0000)
committerArnaud Heritier <aheritier@apache.org>
Thu, 10 May 2007 22:01:14 +0000 (22:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@537010 13f79535-47bb-0310-9956-ffa450edef68

archiva-0.9/archiva-webapp/src/main/resources/META-INF/plexus/application.xml

index 04420a6e7f4d53173ace441aa2e3fd450a1e4ba9..fdb1f8222ceab10f6c7238f68b3484657afff1da 100644 (file)
       <implementation>org.codehaus.plexus.logging.slf4j.Slf4jLoggerManager</implementation>
       <lifecycle-handler>basic</lifecycle-handler>
     </component>
+    
+    <!--
+     | For Maven 1 plugins
+     -->
+    <component>
+      <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
+      <role-hint>plugin</role-hint>
+      <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
+      <configuration>
+        <type>plugin</type>
+        <extension>jar</extension>
+        <language>java</language>
+        <addedToClasspath>true</addedToClasspath>
+      </configuration>
+    </component> 
   </components>
 
   <load-on-start>