incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r544312 - /incubator/nmaven/trunk/plugins/maven-deploy-plugin/src/main/java/org/apache/maven/dotnet/plugins/DeployFileMojo.java
Date Mon, 04 Jun 2007 22:23:56 GMT
Author: sisbell
Date: Mon Jun  4 15:23:55 2007
New Revision: 544312

URL: http://svn.apache.org/viewvc?view=rev&rev=544312
Log:
Fixed the deploy-file plugin to accept repositoryId. It is now able to deploy remotely using
authentication.

Modified:
    incubator/nmaven/trunk/plugins/maven-deploy-plugin/src/main/java/org/apache/maven/dotnet/plugins/DeployFileMojo.java

Modified: incubator/nmaven/trunk/plugins/maven-deploy-plugin/src/main/java/org/apache/maven/dotnet/plugins/DeployFileMojo.java
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/plugins/maven-deploy-plugin/src/main/java/org/apache/maven/dotnet/plugins/DeployFileMojo.java?view=diff&rev=544312&r1=544311&r2=544312
==============================================================================
--- incubator/nmaven/trunk/plugins/maven-deploy-plugin/src/main/java/org/apache/maven/dotnet/plugins/DeployFileMojo.java
(original)
+++ incubator/nmaven/trunk/plugins/maven-deploy-plugin/src/main/java/org/apache/maven/dotnet/plugins/DeployFileMojo.java
Mon Jun  4 15:23:55 2007
@@ -60,6 +60,12 @@
     private String version;
 
     /**
+     * @parameter expression = "${repositoryId}
+     */
+    private String repositoryId;
+
+
+    /**
      * @parameter expression = "${packaging}
      * @required
      */
@@ -97,7 +103,7 @@
         artifact.addMetadata( metadata );
 
         ArtifactRepository deploymentRepository =
-            repositoryFactory.createDeploymentArtifactRepository( null, url, new AssemblyRepositoryLayout(),
true );
+            repositoryFactory.createDeploymentArtifactRepository( repositoryId, url, new
AssemblyRepositoryLayout(), true );
 
         try
         {



Mime
View raw message