META-INF.plexus.components.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of npm-maven-plugin Show documentation
Show all versions of npm-maven-plugin Show documentation
A simple Maven plugin that defines 'npm' packaging type and delegates all
phases of a default lifecycle to npm. As long as there is a script for the
lifecycle phase in package.json, it will be executed.
<?xml version="1.0"?> <component-set> <components> <component> <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role> <role-hint>npm</role-hint> <implementation> org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping </implementation> <configuration> <lifecycles> <lifecycle> <id>default</id> <phases> <validate> com.seovic.maven.plugins:npm-maven-plugin:run </validate> <initialize> com.seovic.maven.plugins:npm-maven-plugin:run </initialize> <generate-sources> com.seovic.maven.plugins:npm-maven-plugin:run </generate-sources> <process-sources> com.seovic.maven.plugins:npm-maven-plugin:run </process-sources> <generate-resources> com.seovic.maven.plugins:npm-maven-plugin:run </generate-resources> <process-resources> com.seovic.maven.plugins:npm-maven-plugin:run </process-resources> <compile> com.seovic.maven.plugins:npm-maven-plugin:run </compile> <process-classes> com.seovic.maven.plugins:npm-maven-plugin:run </process-classes> <generate-test-sources> com.seovic.maven.plugins:npm-maven-plugin:run </generate-test-sources> <process-test-sources> com.seovic.maven.plugins:npm-maven-plugin:run </process-test-sources> <generate-test-resources> com.seovic.maven.plugins:npm-maven-plugin:run </generate-test-resources> <process-test-resources> com.seovic.maven.plugins:npm-maven-plugin:run </process-test-resources> <test-compile> com.seovic.maven.plugins:npm-maven-plugin:run </test-compile> <process-test-classes> com.seovic.maven.plugins:npm-maven-plugin:run </process-test-classes> <test> com.seovic.maven.plugins:npm-maven-plugin:run </test> <prepare-package> com.seovic.maven.plugins:npm-maven-plugin:run </prepare-package> <package> com.seovic.maven.plugins:npm-maven-plugin:run </package> <pre-integration-test> com.seovic.maven.plugins:npm-maven-plugin:run </pre-integration-test> <integration-test> com.seovic.maven.plugins:npm-maven-plugin:run </integration-test> <post-integration-test> com.seovic.maven.plugins:npm-maven-plugin:run </post-integration-test> <verify> com.seovic.maven.plugins:npm-maven-plugin:run </verify> <install> com.seovic.maven.plugins:npm-maven-plugin:run </install> <deploy> com.seovic.maven.plugins:npm-maven-plugin:run </deploy> </phases> </lifecycle> <lifecycle> <id>clean</id> <phases> <pre-clean> com.seovic.maven.plugins:npm-maven-plugin:run </pre-clean> <clean> com.seovic.maven.plugins:npm-maven-plugin:run </clean> <post-clean> com.seovic.maven.plugins:npm-maven-plugin:run </post-clean> </phases> </lifecycle> <lifecycle> <id>site</id> <phases> <pre-site> com.seovic.maven.plugins:npm-maven-plugin:run </pre-site> <site> com.seovic.maven.plugins:npm-maven-plugin:run </site> <post-site> com.seovic.maven.plugins:npm-maven-plugin:run </post-site> <site-deploy> com.seovic.maven.plugins:npm-maven-plugin:run </site-deploy> </phases> </lifecycle> </lifecycles> </configuration> </component> </components> </component-set>