maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1190320 - in /maven/plugins/trunk/maven-jarsigner-plugin: ./ src/main/java/org/apache/maven/plugins/jarsigner/ src/main/java/org/apache/maven/shared/jarsigner/
Date Fri, 28 Oct 2011 13:46:56 GMT
Author: olamy
Date: Fri Oct 28 13:46:55 2011
New Revision: 1190320

URL: http://svn.apache.org/viewvc?rev=1190320&view=rev
Log:
[MJARSIGNER-19] Make mojo code reusable from another mojo + customize the working directory.
move shared classes to an external component.

Removed:
    maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/shared/jarsigner/AbstractJarSignerRequest.java
    maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/shared/jarsigner/CommandLineConfigurationException.java
    maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/shared/jarsigner/DefaultJarSigner.java
    maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/shared/jarsigner/DefaultJarSignerResult.java
    maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/shared/jarsigner/JarSigner.java
    maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/shared/jarsigner/JarSignerCommandLineBuilder.java
    maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/shared/jarsigner/JarSignerException.java
    maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/shared/jarsigner/JarSignerRequest.java
    maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/shared/jarsigner/JarSignerResult.java
    maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/shared/jarsigner/JarSignerSignRequest.java
    maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/shared/jarsigner/JarSignerUtil.java
    maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/shared/jarsigner/JarSignerVerifyRequest.java
Modified:
    maven/plugins/trunk/maven-jarsigner-plugin/pom.xml
    maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.java

Modified: maven/plugins/trunk/maven-jarsigner-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jarsigner-plugin/pom.xml?rev=1190320&r1=1190319&r2=1190320&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jarsigner-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-jarsigner-plugin/pom.xml Fri Oct 28 13:46:55 2011
@@ -84,6 +84,12 @@ under the License.
       <artifactId>plexus-utils</artifactId>
       <version>2.0.0</version>
     </dependency>
+    <dependency>
+      <groupId>org.apache.maven.shared</groupId>
+      <artifactId>maven-jarsigner</artifactId>
+      <version>1.0-SNAPSHOT</version>
+    </dependency>
+
   </dependencies>
 
   <build>

Modified: maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.java?rev=1190320&r1=1190319&r2=1190320&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.java
(original)
+++ maven/plugins/trunk/maven-jarsigner-plugin/src/main/java/org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.java
Fri Oct 28 13:46:55 2011
@@ -23,7 +23,11 @@ import org.apache.maven.artifact.Artifac
 import org.apache.maven.plugin.AbstractMojo;
 import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.project.MavenProject;
-import org.apache.maven.shared.jarsigner.*;
+import org.apache.maven.shared.jarsigner.JarSigner;
+import org.apache.maven.shared.jarsigner.JarSignerException;
+import org.apache.maven.shared.jarsigner.JarSignerRequest;
+import org.apache.maven.shared.jarsigner.JarSignerResult;
+import org.apache.maven.shared.jarsigner.JarSignerUtil;
 import org.codehaus.plexus.util.FileUtils;
 import org.codehaus.plexus.util.StringUtils;
 import org.codehaus.plexus.util.cli.Commandline;
@@ -31,7 +35,12 @@ import org.codehaus.plexus.util.cli.Comm
 import java.io.File;
 import java.io.IOException;
 import java.text.MessageFormat;
-import java.util.*;
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.List;
+import java.util.ResourceBundle;
 
 /**
  * Maven Jarsigner Plugin base class.



Mime
View raw message