maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r942376 - in /maven/plugins/trunk/maven-shade-plugin: pom.xml src/main/java/org/apache/maven/plugins/shade/DefaultShader.java src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java
Date Sat, 08 May 2010 12:52:51 GMT
Author: bentmann
Date: Sat May  8 12:52:51 2010
New Revision: 942376

URL: http://svn.apache.org/viewvc?rev=942376&view=rev
Log:
o Inherited from maven-plugins:18
o Declared mojo as thread-safe
o Made shader use per-lookup instantiation

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

Modified: maven/plugins/trunk/maven-shade-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-shade-plugin/pom.xml?rev=942376&r1=942375&r2=942376&view=diff
==============================================================================
--- maven/plugins/trunk/maven-shade-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-shade-plugin/pom.xml Sat May  8 12:52:51 2010
@@ -25,7 +25,7 @@ under the License.
   <parent>
      <artifactId>maven-plugins</artifactId>
      <groupId>org.apache.maven.plugins</groupId>
-     <version>17</version>
+     <version>18</version>
   </parent>
 
   <artifactId>maven-shade-plugin</artifactId>

Modified: maven/plugins/trunk/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/DefaultShader.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/DefaultShader.java?rev=942376&r1=942375&r2=942376&view=diff
==============================================================================
--- maven/plugins/trunk/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/DefaultShader.java
(original)
+++ maven/plugins/trunk/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/DefaultShader.java
Sat May  8 12:52:51 2010
@@ -49,7 +49,7 @@ import org.objectweb.asm.commons.Remappe
 
 /**
  * @author Jason van Zyl
- * @plexus.component
+ * @plexus.component instantiation-strategy="per-lookup"
  */
 public class DefaultShader
     extends AbstractLogEnabled

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=942376&r1=942375&r2=942376&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
Sat May  8 12:52:51 2010
@@ -74,6 +74,7 @@ import org.codehaus.plexus.util.WriterFa
  * @goal shade
  * @phase package
  * @requiresDependencyResolution runtime
+ * @threadSafe
  */
 public class ShadeMojo
     extends AbstractMojo



Mime
View raw message