Author: mkleint Date: Sat Nov 24 10:51:42 2007 New Revision: 597903 URL: http://svn.apache.org/viewvc?rev=597903&view=rev Log: create a profile for creating binaries for netbeans integration.
Modified: maven/components/trunk/maven-embedder/pom.xml Modified: maven/components/trunk/maven-embedder/pom.xml URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/pom.xml?rev=597903&r1=597902&r2=597903&view=diff ============================================================================== --- maven/components/trunk/maven-embedder/pom.xml (original) +++ maven/components/trunk/maven-embedder/pom.xml Sat Nov 24 10:51:42 2007 @@ -228,6 +228,57 @@ </build> </profile> <profile> + <!-- + | + | This profile is specifically for creating an embedder that can be used for netbeans integration + | + --> + <id>netbeans</id> + <build> + <plugins> + <plugin> + <artifactId>shade-maven-plugin</artifactId> + <groupId>org.codehaus.mojo</groupId> + <version>1.0-alpha-12</version> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + <configuration> + <createDependencyReducedPom>false</createDependencyReducedPom> + <keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope> + <transformers> + <transformer implementation="org.codehaus.mojo.shade.resource.ComponentsXmlResourceTransformer"/> + </transformers> + <artifactSet> + <excludes> + <exclude>org.codehaus.plexus:plexus-component-api</exclude> + <exclude>classworlds:classworlds</exclude> + <exclude>junit:junit</exclude> + <exclude>jmock:jmock</exclude> + <exclude>xml-apis:xml-apis</exclude> + </excludes> + </artifactSet> + <relocations> + <relocation> + <pattern>org.codehaus.plexus.util</pattern> + <excludes> + <exclude>org.codehaus.plexus.util.xml.Xpp3Dom</exclude> + <exclude>org.codehaus.plexus.util.xml.pull.*</exclude> + </excludes> + </relocation> + </relocations> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + + <profile> <id>standard</id> <activation> <activeByDefault>true</activeByDefault>