maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1376398 - /maven/plugins/trunk/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java
Date Thu, 23 Aug 2012 07:58:09 GMT
Author: olamy
Date: Thu Aug 23 07:58:09 2012
New Revision: 1376398

URL: http://svn.apache.org/viewvc?rev=1376398&view=rev
Log:
fix new annotation usage

Modified:
    maven/plugins/trunk/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java

Modified: maven/plugins/trunk/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java?rev=1376398&r1=1376397&r2=1376398&view=diff
==============================================================================
--- maven/plugins/trunk/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java
(original)
+++ maven/plugins/trunk/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java
Thu Aug 23 07:58:09 2012
@@ -326,8 +326,8 @@ public class ShadeMojo
      * When false, it will just relocate the java source files to the shaded paths, but will
not modify the
      * actual contents of the java source files.
      *
-     * @parameter expression="${shadeSourcesContent}" default-value="false"
      */
+    @Parameter(property = "shadeSourcesContent", defaultValue = "false")
     private boolean shadeSourcesContent;
 
     /**



Mime
View raw message