summaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2009-11-19 08:01:35 +0100
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2009-11-19 08:01:35 +0100
commitbafa84b1d80b115105390264ae7f40aa600714fc (patch)
tree48eeda923393e8d12f1ec6baf748b34d0835e974 /src/main/resources
parente791cdf4b2cbcfbdeb42fb7db88c123cd21f37c4 (diff)
downloadmaven-nar-plugin-bafa84b1d80b115105390264ae7f40aa600714fc.tar.gz
maven-nar-plugin-bafa84b1d80b115105390264ae7f40aa600714fc.tar.bz2
maven-nar-plugin-bafa84b1d80b115105390264ae7f40aa600714fc.tar.xz
maven-nar-plugin-bafa84b1d80b115105390264ae7f40aa600714fc.zip
Fixed NAR-105
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/META-INF/plexus/components.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/main/resources/META-INF/plexus/components.xml b/src/main/resources/META-INF/plexus/components.xml
index 7fd3c31..9c52a8e 100644
--- a/src/main/resources/META-INF/plexus/components.xml
+++ b/src/main/resources/META-INF/plexus/components.xml
@@ -70,24 +70,26 @@
</configuration>
</component>
+<!-- Do not declare the NarArtifactHandler here for role-hint nar, as we really use the DefaultArtifactHandler, except for packing -->
<component>
<role>org.apache.maven.artifact.handler.ArtifactHandler</role>
- <role-hint>nar-artifact</role-hint>
+ <role-hint>nar-package</role-hint>
<implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler
</implementation>
<configuration>
- <type>nar-artifact</type>
+ <type>nar</type>
<extension>jar</extension>
<packaging>nar</packaging>
<language>java</language>
<addedToClasspath>true</addedToClasspath>
+ <includesDependencies>false</includesDependencies>
<classifier />
</configuration>
</component>
<component>
<role>org.codehaus.plexus.archiver.Archiver</role>
- <role-hint>nar-library</role-hint>
+ <role-hint>nar</role-hint>
<implementation>org.apache.maven.plugin.nar.NarArchiver
</implementation>
<instantiation-strategy>per-lookup</instantiation-strategy>
@@ -95,7 +97,7 @@
<component>
<role>org.codehaus.plexus.archiver.UnArchiver</role>
- <role-hint>nar-library</role-hint>
+ <role-hint>nar</role-hint>
<implementation>org.apache.maven.plugin.nar.NarUnArchiver
</implementation>
<instantiation-strategy>per-lookup</instantiation-strategy>