You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2017/05/16 19:07:36 UTC

svn commit: r1795356 - in /maven/plugins/trunk/maven-deploy-plugin: pom.xml src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java

Author: khmarbaise
Date: Tue May 16 19:07:36 2017
New Revision: 1795356

URL: http://svn.apache.org/viewvc?rev=1795356&view=rev
Log:
[MDEPLOY-219] Upgrade maven-artifact-transfer to version 0.9.1

Modified:
    maven/plugins/trunk/maven-deploy-plugin/pom.xml
    maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java

Modified: maven/plugins/trunk/maven-deploy-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/pom.xml?rev=1795356&r1=1795355&r2=1795356&view=diff
==============================================================================
--- maven/plugins/trunk/maven-deploy-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-deploy-plugin/pom.xml Tue May 16 19:07:36 2017
@@ -86,7 +86,7 @@ under the License.
     <dependency>
       <groupId>org.apache.maven.shared</groupId>
       <artifactId>maven-artifact-transfer</artifactId>
-      <version>3.0.0-SNAPSHOT</version>
+      <version>0.9.1</version>
     </dependency>
     <!-- Upgrade of transitive dependency. -->
     <dependency>

Modified: maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java?rev=1795356&r1=1795355&r2=1795356&view=diff
==============================================================================
--- maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java (original)
+++ maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java Tue May 16 19:07:36 2017
@@ -19,8 +19,6 @@ package org.apache.maven.plugins.deploy;
  * under the License.
  */
 
-import java.io.IOException;
-
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
@@ -194,10 +192,6 @@ public class DeployMojo
         {
             projectDeployer.deploy( pbr, pir, repo );
         }
-        catch ( IOException e )
-        {
-            throw new MojoFailureException( "IOException", e );
-        }
         catch ( NoFileAssignedException e )
         {
             throw new MojoExecutionException( "NoFileAssignedException", e );