You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2012/08/07 00:03:22 UTC

svn commit: r1370041 - /maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/UnpackDependenciesMojo.java

Author: olamy
Date: Mon Aug  6 22:03:21 2012
New Revision: 1370041

URL: http://svn.apache.org/viewvc?rev=1370041&view=rev
Log:
[MDEP-365] includes/excludes doesn't work anymore with unpack-dependencies 2.5.

Modified:
    maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/UnpackDependenciesMojo.java

Modified: maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/UnpackDependenciesMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/UnpackDependenciesMojo.java?rev=1370041&r1=1370040&r2=1370041&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/UnpackDependenciesMojo.java (original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/UnpackDependenciesMojo.java Mon Aug  6 22:03:21 2012
@@ -27,6 +27,7 @@ import org.apache.maven.plugin.dependenc
 import org.apache.maven.plugin.dependency.utils.markers.DefaultFileMarkerHandler;
 import org.apache.maven.plugins.annotations.LifecyclePhase;
 import org.apache.maven.plugins.annotations.Mojo;
+import org.apache.maven.plugins.annotations.Parameter;
 import org.apache.maven.plugins.annotations.ResolutionScope;
 import org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter;
 
@@ -51,9 +52,9 @@ public class UnpackDependenciesMojo
      * NOTE: Excludes patterns override the includes.
      * (component code = <code>return isIncluded( name ) AND !isExcluded( name );</code>)
      *
-     * @parameter expression="${mdep.unpack.includes}"
      * @since 2.0
      */
+    @Parameter(property = "mdep.unpack.includes")
     private String includes;
 
     /**
@@ -62,9 +63,9 @@ public class UnpackDependenciesMojo
      * NOTE: Excludes patterns override the includes.
      * (component code = <code>return isIncluded( name ) AND !isExcluded( name );</code>)
      *
-     * @parameter expression="${mdep.unpack.excludes}"
      * @since 2.0
      */
+    @Parameter(property = "mdep.unpack.excludes")
     private String excludes;
 
     /**