mirror of https://github.com/apache/maven.git
create a profile for creating binaries for netbeans integration.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@597903 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
40326eef36
commit
55b1f99a85
|
@ -227,6 +227,57 @@ under the License.
|
|||
</plugins>
|
||||
</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>
|
||||
|
|
Loading…
Reference in New Issue