diff options
Diffstat (limited to 'bundle-plugin/src/main/resources/META-INF/plexus/components.xml')
-rw-r--r-- | bundle-plugin/src/main/resources/META-INF/plexus/components.xml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/bundle-plugin/src/main/resources/META-INF/plexus/components.xml b/bundle-plugin/src/main/resources/META-INF/plexus/components.xml new file mode 100644 index 00000000000..126c9435ffa --- /dev/null +++ b/bundle-plugin/src/main/resources/META-INF/plexus/components.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. --> + +<component-set> + <components> + <component> + <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role> + <role-hint>container-plugin</role-hint> + <implementation> + org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping + </implementation> + <configuration> + + <phases> + <process-resources>org.apache.maven.plugins:maven-resources-plugin:resources</process-resources> + <generate-sources>com.yahoo.vespa:bundle-plugin:generateSources</generate-sources> + <compile>org.apache.maven.plugins:maven-compiler-plugin:compile</compile> + <process-test-resources> + org.apache.maven.plugins:maven-resources-plugin:testResources, + com.yahoo.vespa:bundle-plugin:generate-bundle-classpath-mappings + </process-test-resources> + <test-compile>org.apache.maven.plugins:maven-compiler-plugin:testCompile</test-compile> + <test>org.apache.maven.plugins:maven-surefire-plugin:test</test> + <package> + com.yahoo.vespa:bundle-plugin:generate-osgi-manifest, + com.yahoo.vespa:bundle-plugin:assemble-container-plugin + </package> + <install>org.apache.maven.plugins:maven-install-plugin:install</install> + <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy> + </phases> + + </configuration> + </component> + + <component> + <role>org.apache.maven.artifact.handler.ArtifactHandler</role> + <role-hint>container-plugin</role-hint> + <implementation> + org.apache.maven.artifact.handler.DefaultArtifactHandler + </implementation> + <configuration> + <type>container-plugin</type> + <extension>jar</extension> + <language>java</language> + <addedToClasspath>true</addedToClasspath> + </configuration> + </component> + + </components> +</component-set> |