------ Maven 2 Shade Plugin ------ Mauro Talevi ------ ~~ Licensed to the Apache Software Foundation (ASF) under one ~~ or more contributor license agreements. See the NOTICE file ~~ distributed with this work for additional information ~~ regarding copyright ownership. The ASF licenses this file ~~ to you under the Apache License, Version 2.0 (the ~~ "License"); you may not use this file except in compliance ~~ with the License. You may obtain a copy of the License at ~~ ~~ http://www.apache.org/licenses/LICENSE-2.0 ~~ ~~ Unless required by applicable law or agreed to in writing, ~~ software distributed under the License is distributed on an ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ~~ KIND, either express or implied. See the License for the ~~ specific language governing permissions and limitations ~~ under the License. * Shade Plugin with no relocation +----- ... org.apache.maven.plugins maven-shade-plugin package shade classworlds:classworlds junit:junit jmock:jmock xml-apis:xml-apis ... +----- * Shade Plugin with shaded relocation +----- ... org.apache.maven.plugins maven-shade-plugin package shade classworlds:classworlds junit:junit jmock:jmock xml-apis:xml-apis org.codehaus.plexus.util org.shaded.plexus.util org.codehaus.plexus.util.xml.Xpp3Dom org.codehaus.plexus.util.xml.pull.* ... +----- * Shade Plugin with renamed but unattached artifact +----- ... org.apache.maven.plugins maven-shade-plugin package shade shaded-artifact classworlds:classworlds junit:junit jmock:jmock xml-apis:xml-apis org.codehaus.plexus.util org.codehaus.plexus.util.xml.Xpp3Dom org.codehaus.plexus.util.xml.pull.* ... +----- * Shade Plugin with renamed and attached artifact +----- ... org.apache.maven.plugins maven-shade-plugin package shade shaded-artifact true jackofall classworlds:classworlds junit:junit jmock:jmock xml-apis:xml-apis org.codehaus.plexus.util org.codehaus.plexus.util.xml.Xpp3Dom org.codehaus.plexus.util.xml.pull.* ... +----- * Shade Plugin with artifact filtering using includes +----- ... org.apache.maven.plugins maven-shade-plugin package shade junit:junit junit/framework/** org/junit/** ... +----- * Shade Plugin with artifact filtering using includes and excludes +----- ... org.apache.maven.plugins maven-shade-plugin package shade junit:junit junit/framework/** org/junit/** org/junit/experimental/** org/junit/runners/** ... +----- * Shade Plugin with artifact filtering using excludes only +----- ... org.apache.maven.plugins maven-shade-plugin package shade junit:junit junit/textui/** junit/runner/** junit/extensions/** org/junit/experimental/** org/junit/runners/** ... +-----