META-INF.plexus.components.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (C) 2009 Jayway AB Copyright (C) 2007-2008 JVending Masa Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <component-set> <components> <component> <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role> <role-hint>apk</role-hint> <implementation> org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping </implementation> <configuration> <phases> <generate-sources> com.jayway.maven.plugins.android.generation2:maven-android-plugin:generate-sources </generate-sources> <process-resources>org.apache.maven.plugins:maven-resources-plugin:resources</process-resources> <compile> org.apache.maven.plugins:maven-compiler-plugin:compile </compile> <process-classes> com.jayway.maven.plugins.android.generation2:maven-android-plugin:unpack </process-classes> <process-test-resources> org.apache.maven.plugins:maven-resources-plugin:testResources </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> <prepare-package> com.jayway.maven.plugins.android.generation2:maven-android-plugin:dex </prepare-package> <package> org.apache.maven.plugins:maven-jar-plugin:jar, com.jayway.maven.plugins.android.generation2:maven-android-plugin:apk </package> <install> org.apache.maven.plugins:maven-install-plugin:install </install> <pre-integration-test> com.jayway.maven.plugins.android.generation2:maven-android-plugin:internal-pre-integration-test </pre-integration-test> <integration-test> com.jayway.maven.plugins.android.generation2:maven-android-plugin:internal-integration-test </integration-test> <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy> </phases> </configuration> </component> <!-- Adds handling for 'so' packaging. This implies the POM has defined 'so' as the packaging --> <component> <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role> <role-hint>so</role-hint> <implementation> org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping </implementation> <configuration> <phases> <generate-sources> com.jayway.maven.plugins.android.generation2:maven-android-plugin:generate-sources </generate-sources> <process-resources>org.apache.maven.plugins:maven-resources-plugin:resources</process-resources> <compile> com.jayway.maven.plugins.android.generation2:maven-android-plugin:ndk-build </compile> <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>dex</role-hint> <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation> <configuration> <extension>dex</extension> <type>dex</type> <language>java</language> </configuration> </component> <component> <role>org.apache.maven.artifact.handler.ArtifactHandler</role> <role-hint>apk</role-hint> <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation> <configuration> <extension>apk</extension> <type>apk</type> <language>java</language> </configuration> </component> <component> <role>org.apache.maven.artifact.handler.ArtifactHandler</role> <role-hint>so</role-hint> <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation> <configuration> <extension>so</extension> <type>so</type> <language>native</language> </configuration> </component> <component> <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role> <role-hint>apklib</role-hint> <implementation> org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping </implementation> <configuration> <phases> <generate-sources> com.jayway.maven.plugins.android.generation2:maven-android-plugin:generate-sources </generate-sources> <process-resources>org.apache.maven.plugins:maven-resources-plugin:resources</process-resources> <compile> org.apache.maven.plugins:maven-compiler-plugin:compile </compile> <process-classes> com.jayway.maven.plugins.android.generation2:maven-android-plugin:unpack </process-classes> <process-test-resources> org.apache.maven.plugins:maven-resources-plugin:testResources </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> org.apache.maven.plugins:maven-jar-plugin:jar, com.jayway.maven.plugins.android.generation2:maven-android-plugin:apklib </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>apklib</role-hint> <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation> <configuration> <extension>apklib</extension> <type>apklib</type> <language>java</language> </configuration> </component> </components> </component-set>