Apache Maven Assembly Plugin.
A Maven plugin to create archives of your project's sources, classes, dependencies etc. from flexible assembly descriptors..
Here is the list of declaration for maven-assembly-plugin. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version> </dependency>
If you think this Maven repository POM file listing for maven-assembly-plugin is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Apache License.
The maven-assembly-plugin-2.4.1 has 24 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Build | maven-project 2.2.1 This library is used to not only read Maven project object model files, but to assemble inheritence and to retrieve remote models as required. | 25 |
Build | maven-model 2.2.1 Maven Model | 23 |
Build | maven-common-artifact-filters 1.4 A collection of ready-made filters to control inclusion/exclusion of artifacts during dependency resolution. | 9 |
Testing Coding Style | jsr305 2.0.1 JSR305 Annotations for Findbugs | 166 |
Log | maven-shared-io 1.1 API for I/O support like logging, download or file scanning. | 6 |
Build | maven-archiver 2.5 Provides utility methods for creating JARs and other archive files from a Maven project. | 8 |
XML | plexus-utils 3.0.15 A collection of various utility classes to ease working with strings, files, command lines, XML and more. | 17 |
Testing Mock | easymockclassextension 2.5.2 The EasyMock Class Extension allows to generate Mock Objects for classes | 12 |
JUnit | junit 4.8.1 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 1256 |
The following plugins are used in the maven-assembly-plugin-2.4.1.jar
The following packages are defined in the maven-assembly-plugin-2.4.1.jar
org.apache.maven.plugin.assembly org.apache.maven.plugin.assembly.archive org.apache.maven.plugin.assembly.archive.archiver org.apache.maven.plugin.assembly.archive.phase org.apache.maven.plugin.assembly.archive.phase.wrappers org.apache.maven.plugin.assembly.archive.task org.apache.maven.plugin.assembly.artifact org.apache.maven.plugin.assembly.filter org.apache.maven.plugin.assembly.format org.apache.maven.plugin.assembly.interpolation org.apache.maven.plugin.assembly.io org.apache.maven.plugin.assembly.model org.apache.maven.plugin.assembly.model.io.xpp3 org.apache.maven.plugin.assembly.mojos org.apache.maven.plugin.assembly.utils
Here is the content of the POM file.
<?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>25</version> <relativePath>../maven-plugins/pom.xml</relativePath> </parent> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version> <packaging>maven-plugin</packaging> <name>Apache Maven Assembly Plugin</name> <description>A Maven plugin to create archives of your project's sources, classes, dependencies etc. from flexible assembly descriptors.</description> <prerequisites> <maven>${mavenVersion}</maven> </prerequisites> <scm> <connection>scm:svn:http://svn.apache.org/repos/asf/maven/plugins/tags/maven-assembly-plugin-2.4.1</connection> <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-assembly-plugin-2.4.1</developerConnection> <url>http://svn.apache.org/viewvc/maven/plugins/tags/maven-assembly-plugin-2.4.1</url> </scm> <issueManagement> <system>jira</system> <url>http://jira.codehaus.org/browse/MASSEMBLY</url> </issueManagement> <distributionManagement> <site> <id>apache.website</id> <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/content/${maven.site.path}</url> </site> </distributionManagement> <properties> <mdoVersion>1.1.2</mdoVersion> <mavenArchiverVersion>2.5</mavenArchiverVersion> <mavenFilteringVersion>1.2</mavenFilteringVersion> <mavenVersion>2.2.1</mavenVersion> <testOutputToFile>true</testOutputToFile> <mavenPluginVersion>3.2</mavenPluginVersion> </properties> <contributors> <contributor> <name>Stephen Colebourne</name> </contributor> </contributors> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</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-project</artifactId> <version>${mavenVersion}</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> <version>${mavenVersion}</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model</artifactId> <version>${mavenVersion}</version> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-common-artifact-filters</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>2.0.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-interpolation</artifactId> <version>1.19</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-archiver</artifactId> <version>2.4.4</version> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>file-management</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-shared-io</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-filtering</artifactId> <version>${mavenFilteringVersion}</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-io</artifactId> <version>2.0.9</version> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-archiver</artifactId> <version>${mavenArchiverVersion}</version> </dependency> <!-- FIXME: I'm specifying a dependency on plexus-container-default in order to force the version to be compatible with maven 2.0.5. --> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-container-default</artifactId> <version>1.0-alpha-9-stable-1</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> <version>3.0.15</version> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-repository-builder</artifactId> <version>1.0-alpha-2</version> </dependency> <dependency> <groupId>org.apache.maven.plugin-testing</groupId> <artifactId>maven-plugin-testing-tools</artifactId> <version>1.3</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-testing</groupId> <artifactId>maven-test-tools</artifactId> <version>1.3</version> <scope>test</scope> </dependency> <dependency> <groupId>org.easymock</groupId> <artifactId>easymockclassextension</artifactId> <version>2.5.2</version> <scope>test</scope> </dependency> <dependency> <groupId>jdom</groupId> <artifactId>jdom</artifactId> <version>1.0</version> <scope>test</scope> </dependency> <dependency> <groupId>jaxen</groupId> <artifactId>jaxen</artifactId> <version>1.0-FCS</version> <scope>test</scope> </dependency> <dependency> <groupId>saxpath</groupId> <artifactId>saxpath</artifactId> <version>1.0-FCS</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-annotations</artifactId> <scope>provided</scope> </dependency> </dependencies> <build> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> </resource> <resource> <directory>${project.build.directory}/generated-resources/plexus</directory> </resource> </resources> <plugins> <plugin> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-metadata</artifactId> <executions> <execution> <id>descriptors</id> <goals> <goal>generate-metadata</goal> <goal>generate-test-metadata</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.modello</groupId> <artifactId>modello-maven-plugin</artifactId> <configuration> <version>${mdoVersion}</version> <models> <model>src/main/mdo/descriptor.mdo</model> <model>src/main/mdo/component.mdo</model> </models> </configuration> <executions> <execution> <id>mdo</id> <phase>generate-sources</phase> <goals> <goal>xpp3-reader</goal> <goal>xpp3-writer</goal> <goal>java</goal> <goal>xsd</goal> </goals> </execution> <execution> <id>mdo-site</id> <phase>pre-site</phase> <goals> <goal>xdoc</goal> <goal>xsd</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <executions> <execution> <id>mojo-descriptor</id> <goals> <goal>descriptor</goal> </goals> </execution> </executions> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.6</version> <configuration> <escapeString>\</escapeString> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>${mavenPluginVersion}</version> <configuration> <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludes> <exclude>**/BasicAbstractAssemblyMojoFeaturesTest*</exclude> <exclude>**/AllTests*</exclude> <exclude>**/testutils/*</exclude> </excludes> <redirectTestOutputToFile>${testOutputToFile}</redirectTestOutputToFile> <systemPropertyVariables> <!-- NOTE: Ensure the tmp dir configured for Surefire exists or some JREs (e.g. 1.5) will fail to create temp files --> <java.io.tmpdir>${project.build.testOutputDirectory}</java.io.tmpdir> </systemPropertyVariables> </configuration> </plugin> </plugins> </pluginManagement> </build> <profiles> <profile> <id>run-its</id> <repositories> <repository> <id>codehaus.org</id> <url>http://snapshots.repository.codehaus.org</url> <releases> <enabled>false</enabled> </releases> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>codehaus.snapshots</id> <url>http://snapshots.repository.codehaus.org</url> </pluginRepository> <pluginRepository> <id>apache.snapshots</id> <url>http://repository.apache.org/snapshots</url> <releases> <enabled>false</enabled> </releases> </pluginRepository> </pluginRepositories> <properties> <invokerPluginVersion>1.5</invokerPluginVersion> <itParent>${project.build.directory}/it/it-project-parent</itParent> <itProjects>${project.build.directory}/it/projects</itProjects> <localRepositoryPath>${project.build.directory}/local-repository</localRepositoryPath> <test.remote.repo.url>file://${project.build.testOutputDirectory}/remote-repository</test.remote.repo.url> <it.pomIncludes>**/pom.xml</it.pomIncludes> <it.streamLogs>false</it.streamLogs> <it.debug>true</it.debug> <testVersion>${project.version}</testVersion> <useJvmChmod>false</useJvmChmod> </properties> <build> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>del-IT-clone-destination</id> <phase>package</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <delete dir="${itProjects}" failonerror="false" /> </target> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-invoker-plugin</artifactId> <version>${invokerPluginVersion}</version> <configuration> <localRepositoryPath>${localRepositoryPath}</localRepositoryPath> <properties> <useJvmChmod>${useJvmChmod}</useJvmChmod> <testVersion>${testVersion}</testVersion> <localRepositoryPath>${localRepositoryPath}</localRepositoryPath> <invokerPluginVersion>${invokerPluginVersion}</invokerPluginVersion> </properties> <showVersion>true</showVersion> </configuration> <executions> <execution> <id>setup-integration-test-env</id> <phase>pre-integration-test</phase> <goals> <goal>install</goal> <goal>run</goal> </goals> <configuration> <suppressSummaries>true</suppressSummaries> <goals> <goal>install</goal> </goals> <projectsDirectory>src/it/it-project-parent</projectsDirectory> <cloneProjectsTo>${itParent}</cloneProjectsTo> <pomIncludes> <pomInclude>pom.xml</pomInclude> </pomIncludes> <streamLogs>true</streamLogs> </configuration> </execution> <execution> <id>integration-test</id> <phase>integration-test</phase> <configuration> <projectsDirectory>src/it/projects</projectsDirectory> <cloneProjectsTo>${itProjects}</cloneProjectsTo> <testPropertiesFile>test.properties</testPropertiesFile> <properties> <useJvmChmod>${useJvmChmod}</useJvmChmod> </properties> <debug>${it.debug}</debug> <settingsFile>src/it/settings.xml</settingsFile> <pomIncludes> <pomInclude>${it.pomIncludes}</pomInclude> </pomIncludes> <streamLogs>${it.streamLogs}</streamLogs> <pomExcludes> <pomExclude>repositories/repo-with-snapshot-parents/pom.xml</pomExclude> <!-- This will be handled by the parent in the bugs/massembly-285 dir. --> <pomExclude>bugs/massembly-285/massembly-285-*/pom.xml</pomExclude> <pomExclude>dependency-sets/depSet-enum-vs-wildcard/enum/pom.xml</pomExclude> <pomExclude>dependency-sets/depSet-enum-vs-wildcard/wildcard/pom.xml</pomExclude> <pomExclude>**/child*/pom.xml</pomExclude> <pomExclude>**/module*/pom.xml</pomExclude> <pomExclude>**/descriptor/pom.xml</pomExclude> <pomExclude>**/handler-def/pom.xml</pomExclude> <pomExclude>**/assembly/pom.xml</pomExclude> <pomExclude>dependency-sets/depSet-transFromProfile/pom.xml</pomExclude> </pomExcludes> <postBuildHookScript>verify</postBuildHookScript> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>