You are viewing a plain text version of this content. The canonical link for it is here.
Posted to nmaven-commits@incubator.apache.org by si...@apache.org on 2007/06/04 14:53:43 UTC

svn commit: r544156 - in /incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin: pom.xml src/main/java/org/apache/maven/dotnet/plugin/vsinstaller/VsInstallerMojo.java

Author: sisbell
Date: Mon Jun  4 07:53:40 2007
New Revision: 544156

URL: http://svn.apache.org/viewvc?view=rev&rev=544156
Log:
Updated docs.

Modified:
    incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/pom.xml
    incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/main/java/org/apache/maven/dotnet/plugin/vsinstaller/VsInstallerMojo.java

Modified: incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/pom.xml
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/pom.xml?view=diff&rev=544156&r1=544155&r2=544156
==============================================================================
--- incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/pom.xml (original)
+++ incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/pom.xml Mon Jun  4 07:53:40 2007
@@ -31,4 +31,11 @@
   <description>
     Maven Plugin for .NET
   </description>
+  <distributionManagement>
+    <site>
+      <id>nmaven-apache-site</id>
+      <name>NMaven Site</name>
+      <url>file://${basedir}/../../../www/plugins/maven-vsinstaller-plugin</url>
+    </site>
+  </distributionManagement>
 </project>

Modified: incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/main/java/org/apache/maven/dotnet/plugin/vsinstaller/VsInstallerMojo.java
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/main/java/org/apache/maven/dotnet/plugin/vsinstaller/VsInstallerMojo.java?view=diff&rev=544156&r1=544155&r2=544156
==============================================================================
--- incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/main/java/org/apache/maven/dotnet/plugin/vsinstaller/VsInstallerMojo.java (original)
+++ incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/main/java/org/apache/maven/dotnet/plugin/vsinstaller/VsInstallerMojo.java Mon Jun  4 07:53:40 2007
@@ -32,6 +32,8 @@
 import java.util.List;
 
 /**
+ * Installs Visual Studio 2005 addin.
+ *
  * @author Shane Isbell
  * @goal install
  * @requiresProject false
@@ -50,16 +52,22 @@
     private MavenProject project;
 
     /**
+     * The the path to the local maven repository.
+     *
      * @parameter expression="${settings.localRepository}"
      */
     private String localRepository;
 
     /**
+     * The remote repository that contains the vsinstaller and NMaven artifacts.
+     *
      * @parameter expression="${remoteRepository}"
      */
     private String remoteRepository;
 
     /**
+     * Provides services for obtaining artifact information and dependencies
+     *
      * @component
      */
     private ArtifactContext artifactContext;
@@ -70,11 +78,15 @@
     private ArtifactHandlerManager artifactHandlerManager;
 
     /**
+     * Provides access to configuration information used by NMaven.
+     *
      * @component
      */
     private org.apache.maven.dotnet.NMavenRepositoryRegistry nmavenRegistry;
 
     /**
+     * Provides services to obtain executables.
+     *
      * @component
      */
     private org.apache.maven.dotnet.executable.NetExecutableFactory netExecutableFactory;
@@ -190,8 +202,7 @@
         }
     }
 
-    public List<String> getGacInstallCommandsFor( Artifact artifact )
-        throws MojoExecutionException
+    private List<String> getGacInstallCommandsFor( Artifact artifact )
     {
         List<String> commands = new ArrayList<String>();
         commands.add( "/nologo" );