summaryrefslogtreecommitdiffstats
path: root/bundle-plugin/src/main/resources/META-INF
diff options
context:
space:
mode:
Diffstat (limited to 'bundle-plugin/src/main/resources/META-INF')
-rw-r--r--bundle-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml18
-rw-r--r--bundle-plugin/src/main/resources/META-INF/maven/.gitignore0
-rw-r--r--bundle-plugin/src/main/resources/META-INF/plexus/components.xml50
3 files changed, 68 insertions, 0 deletions
diff --git a/bundle-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml b/bundle-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml
new file mode 100644
index 00000000000..a2665c223d1
--- /dev/null
+++ b/bundle-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml
@@ -0,0 +1,18 @@
+<!-- Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
+<lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <goals>
+ <goal>generateSources</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <execute>
+ <runOnIncremental>false</runOnIncremental>
+ <runOnConfiguration>true</runOnConfiguration>
+ </execute>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+</lifecycleMappingMetadata>
diff --git a/bundle-plugin/src/main/resources/META-INF/maven/.gitignore b/bundle-plugin/src/main/resources/META-INF/maven/.gitignore
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/bundle-plugin/src/main/resources/META-INF/maven/.gitignore
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>