summaryrefslogtreecommitdiff
path: root/src/main/resources/META-INF
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/META-INF')
-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>