The Maven team is pleased to announce the release of the Maven Dependency
Plugin, version 2.0-alpha-2

http://maven.apache.org/plugins/maven-dependency-plugin/

The dependency plugin provides the capability to manipulate artifacts.
It can copy and/or unpack artifacts from local or remote repositories to a
specified location.

Dependency plugin has several goals:

   * dependency:copy takes a list of artifacts defined in the plugin
configuration section and copies them to a specified location, renaming them
or stripping the version if desired. This goal can resolve the artifacts
from remote repositories if they don't exist in local.
   * dependency:copy-dependencies takes the list of project direct
dependencies and optionally transitive dependencies and copies them to a
specified location, stripping the version if desired. This goal can also be
run from the command line.
   * dependency:unpack like copy but unpacks.
   * dependency:unpack-dependencies like copy-dependencies but unpacks.
   * dependency:resolve tells Maven to resolve all dependencies and
displays the version.
   * dependency:sources tells Maven to resolve all dependencies and their
source attachments, and displays the version.
   * dependency:resolve-plugins Tells Maven to resolve plugins and their
dependencies.
   * dependency:go-offline tells Maven to resolve everything this project
is dependent on (dependencies, plugins, reports) in preparation for going
offline.
   * dependency:purge-local-repository tells Maven to clear all
dependency-artifact files out of the local repository, and optionally
re-resolve them.
   * dependency:build-classpath tells Maven to output the path of the
dependencies from the local repository in a classpath format to be used in
java -cp

You can run mvn -U to get the latest version of the plugin.

Release Notes - Maven 2.x Dependency Plugin - Version 2.0-alpha-2

** Bug
   * [MDEP-27] - Plugin configuration error message - caused by certain
liefecycle bindings
   * [MDEP-56] - test-jar
   * [MDEP-58] - linux / mac unit test failures
   * [MDEP-60] - Multiple plugin execution sections not correctly executed
   * [MDEP-66] - Sources goal not implemented
   * [MDEP-67] - NPE when resolving the version of a dependency
   * [MDEP-69] - Version 2.0-alpha-2 was incorrectly deployed to central
repository (POM is missing)

** Improvement
   * [MDEP-55] - generate javadocs and jar src files with releae
   * [MDEP-57] - dependency:resolve should output scope
   * [MDEP-63] - allow version to be stripped from useSubfolderPerArtifact

** New Feature
   * [MDEP-26] - New goal to write classpath string with all dependencies
from local repo
   * [MDEP-54] - Exclude and Include specific dependencies based on
Artifact id or group name
   * [MDEP-65] - Copy dependencies in a Maven repository like layout

- The Maven Team

Reply via email to