| <?xml version='1.0' encoding='UTF-8'?> |
| |
| <!-- |
| 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. |
| --> |
| |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <artifactId>maven-plugins</artifactId> |
| <groupId>org.apache.maven.plugins</groupId> |
| <version>34</version> |
| <relativePath>../../pom/maven/maven-plugins/pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>3.2.4-SNAPSHOT</version> |
| <packaging>maven-plugin</packaging> |
| |
| <name>Apache Maven Shade Plugin</name> |
| <description> |
| Repackages the project classes together with their dependencies into a single uber-jar, optionally renaming classes |
| or removing unused classes. |
| </description> |
| |
| <prerequisites> |
| <maven>${mavenVersion}</maven> |
| </prerequisites> |
| |
| <scm> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/maven-shade-plugin.git</connection> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-shade-plugin.git</developerConnection> |
| <url>https://github.com/apache/maven-shade-plugin/tree/${project.scm.tag}</url> |
| <tag>HEAD</tag> |
| </scm> |
| <issueManagement> |
| <system>jira</system> |
| <url>https://issues.apache.org/jira/browse/MSHADE</url> |
| </issueManagement> |
| <ciManagement> |
| <system>Jenkins</system> |
| <url>https://builds.apache.org/job/maven-box/job/maven-shade-plugin/</url> |
| </ciManagement> |
| <distributionManagement> |
| <site> |
| <id>apache.website</id> |
| <url>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/${maven.site.path}</url> |
| </site> |
| </distributionManagement> |
| |
| <properties> |
| <mavenVersion>3.0</mavenVersion> |
| <javaVersion>7</javaVersion> |
| <currentVersion>${project.version}</currentVersion> |
| <asmVersion>8.0</asmVersion> |
| <project.build.outputTimestamp>2020-04-10T20:56:09Z</project.build.outputTimestamp> |
| </properties> |
| |
| <contributors> |
| <contributor> |
| <name>Trask Stalnaker</name> |
| </contributor> |
| <contributor> |
| <name>Anthony Dahanne</name> |
| </contributor> |
| <contributor> |
| <name>Fabiano Cipriano de Oliveira</name> |
| </contributor> |
| <contributor> |
| <name>Markus Karg</name> |
| </contributor> |
| <contributor> |
| <name>Torsten Curdt</name> |
| </contributor> |
| </contributors> |
| |
| <dependencies> |
| <!-- Maven --> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-plugin-api</artifactId> |
| <version>${mavenVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-model</artifactId> |
| <version>${mavenVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-core</artifactId> |
| <version>${mavenVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-artifact</artifactId> |
| <version>${mavenVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.plugin-tools</groupId> |
| <artifactId>maven-plugin-annotations</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Plexus --> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>3.3.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-artifact-transfer</artifactId> |
| <version>0.12.0</version> |
| </dependency> |
| <!-- Others --> |
| <dependency> |
| <groupId>org.ow2.asm</groupId> |
| <artifactId>asm</artifactId> |
| <version>${asmVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.ow2.asm</groupId> |
| <artifactId>asm-commons</artifactId> |
| <version>${asmVersion}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jdom</groupId> |
| <artifactId>jdom2</artifactId> |
| <version>2.0.6</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-dependency-tree</artifactId> |
| <version>3.0.1</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.6</version> |
| </dependency> |
| <dependency> |
| <groupId>org.vafer</groupId> |
| <artifactId>jdependency</artifactId> |
| <version>2.4.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-component-annotations</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.13</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>xmlunit</groupId> |
| <artifactId>xmlunit</artifactId> |
| <version>1.6</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>19.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <version>1.9.5</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes combine.children="append"> |
| <!-- Can't add license header otherwise the tests will fail. --> |
| <exclude>src/it/mrm/repository/services-resource-transformer/*/META-INF/services/org.apache.maven.Shade</exclude> |
| <exclude>src/it/mrm/repository/services-resource-transformer-with-reloc-includes-excludes/*/META-INF/services/org.apache.maven.shade</exclude> |
| <exclude>rel-path-test-files/**</exclude> |
| <exclude>src/it/projects/dep-reduced-pom-use-base-version/repo/org/apache/maven/its/shade/drp/a/0.1-SNAPSHOT/_maven.repositories</exclude> |
| <exclude>src/it/projects/mshade-123/sample.txt</exclude> |
| <exclude>src/it/projects/MSHADE-133/src/main/resources/myConfig.yml</exclude> |
| <exclude>src/it/projects/rerun-with-reloc/src/main/resources/some-ordinary-resource.txt</exclude> |
| <exclude>src/it/projects/rerun-without-reloc/src/main/resources/some-ordinary-resource.txt</exclude> |
| <exclude>src/it/projects/MSHADE-182/src/main/resources/META-INF/services/relocateme.Service</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>enforce-bytecode-version</id> |
| <configuration> |
| <rules> |
| <enforceBytecodeVersion> |
| <ignoreClasses> |
| <ignoreClass>module-info</ignoreClass> |
| </ignoreClasses> |
| <excludes> |
| <exclude>org.vafer:jdependency</exclude> |
| </excludes> |
| </enforceBytecodeVersion> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-component-metadata</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>generate-metadata</goal> |
| <goal>generate-test-metadata</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>run-its</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-invoker-plugin</artifactId> |
| <configuration> |
| <goals> |
| <goal>package</goal> |
| </goals> |
| <projectsDirectory>src/it/projects</projectsDirectory> |
| <settingsFile>src/it/mrm/settings.xml</settingsFile> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>mrm-maven-plugin</artifactId> |
| <version>1.2.0</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>start</goal> |
| <goal>stop</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <repositories> |
| <mockRepo> |
| <source>src/it/mrm/repository</source> |
| <cloneTo>target/mock-repo</cloneTo> <!-- due to on the fly created jars --> |
| </mockRepo> |
| <proxyRepo /> |
| </repositories> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |