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 maven-eclipse-plugin Show documentation
Show all versions of maven-eclipse-plugin Show documentation
The Eclipse Plugin is used to generate Eclipse IDE files (.project, .classpath and the .settings folder)
from a POM.
<component-set> <components> <component> <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role> <!-- This LifecycleMapping is only activated for package "eclipse-plugin" --> <role-hint>eclipse-plugin</role-hint> <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation> <configuration> <lifecycles> <lifecycle> <id>default</id> <!-- START SNIPPET: eclipse-plugin-lifecycle --> <phases> <generate-sources/> <generate-resources/> <generate-test-sources/> <generate-test-resources/> </phases> <!-- END SNIPPET: eclipse-plugin-lifecycle --> </lifecycle> </lifecycles> </configuration> </component> <component> <role>org.apache.maven.artifact.handler.ArtifactHandler</role> <!-- This ArtifactHandler is only activated for package "eclipse-plugin" --> <role-hint>eclipse-plugin</role-hint> <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation> <configuration> <type>eclipse-plugin</type> <includesDependencies>true</includesDependencies> <language>java</language> <extension>jar</extension> <addedToClasspath>true</addedToClasspath> </configuration> </component> </components> </component-set>