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 nbm-maven-plugin Show documentation
Show all versions of nbm-maven-plugin Show documentation
Maven plugin for creating NetBeans modules. It defines a custom lifecycle called "nbm". During packaging, the module JAR is enhanced with NetBeans-specific manifest entries and, along with other required files, packed into a *.nbm file, ready for distribution. Additionally the plugin provides aggregator goals to create an update site or cluster for your module projects.
<component-set> <components> <!--component> <role>org.apache.maven.artifact.handler.ArtifactHandler</role> <role-hint>jar</role-hint> <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation> <configuration> <type>jar</type> <extension>jar</extension> </configuration> </component--> <component> <role>org.apache.maven.artifact.handler.ArtifactHandler</role> <role-hint>nbm</role-hint> <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation> <configuration> <type>nbm</type> <extension>jar</extension> <packaging>nbm</packaging> <addedToClasspath>true</addedToClasspath> <language>java</language> <includesDependencies>true</includesDependencies> </configuration> </component> <component> <role>org.apache.maven.artifact.handler.ArtifactHandler</role> <role-hint>nbm-file</role-hint> <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation> <configuration> <type>nbm-file</type> <extension>nbm</extension> <packaging>nbm-file</packaging> <addedToClasspath>false</addedToClasspath> <language>java</language> <includesDependencies>true</includesDependencies> </configuration> </component> <component> <role>org.apache.maven.artifact.handler.ArtifactHandler</role> <role-hint>nbm-application</role-hint> <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation> <configuration> <type>nbm-application</type> <extension>zip</extension> <packaging>nbm-application</packaging> <addedToClasspath>false</addedToClasspath> <language>java</language> <includesDependencies>false</includesDependencies> </configuration> </component> <component> <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role> <role-hint>nbm</role-hint> <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation> <configuration> <phases> <process-resources>org.apache.maven.plugins:maven-resources-plugin:resources</process-resources> <compile>org.apache.maven.plugins:maven-compiler-plugin:compile</compile> <process-classes>org.bitstrings.maven.plugins:nbm-maven-plugin:manifest</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, org.bitstrings.maven.plugins:nbm-maven-plugin:branding, org.bitstrings.maven.plugins:nbm-maven-plugin:nbm </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.lifecycle.mapping.LifecycleMapping</role> <role-hint>nbm-application</role-hint> <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation> <configuration> <phases> <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> <package>org.bitstrings.maven.plugins:nbm-maven-plugin:cluster-app,org.bitstrings.maven.plugins:nbm-maven-plugin:standalone-zip</package> <integration-test>org.apache.maven.plugins:maven-surefire-plugin:test</integration-test> <install>org.apache.maven.plugins:maven-install-plugin:install</install> <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy> </phases> </configuration> </component> </components> </component-set>