incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r545229 - in /incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src: main/java/org/apache/maven/dotnet/plugin/vsinstaller/ site/apt/ site/apt/examples/
Date Thu, 07 Jun 2007 16:15:47 GMT
Author: sisbell
Date: Thu Jun  7 09:15:46 2007
New Revision: 545229

URL: http://svn.apache.org/viewvc?view=rev&rev=545229
Log:
Updated VS Installer documentation.

Added:
    incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/examples/pom.xml
  (with props)
Modified:
    incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/main/java/org/apache/maven/dotnet/plugin/vsinstaller/VsInstallerMojo.java
    incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/examples/install-from-file-system.apt
    incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/examples/install-from-remote-repo.apt
    incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/usage.apt

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=545229&r1=545228&r2=545229
==============================================================================
--- 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
Thu Jun  7 09:15:46 2007
@@ -114,6 +114,7 @@
                 "NMAVEN-1600-000: Failed to create the repository registry for this plugin",
e );
         }
         List<ArtifactRepository> remoteRepositories = new ArrayList<ArtifactRepository>();
+
         //TODO: Only use active profiles
         List<Profile> profiles = settings.getProfiles();
         List<Repository> repositories = new ArrayList<Repository>();

Modified: incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/examples/install-from-file-system.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/examples/install-from-file-system.apt?view=diff&rev=545229&r1=545228&r2=545229
==============================================================================
--- incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/examples/install-from-file-system.apt
(original)
+++ incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/examples/install-from-file-system.apt
Thu Jun  7 09:15:46 2007
@@ -24,11 +24,11 @@
       </repositories>
       <pluginRepositories>
         <pluginRepository>
-          <id>local-plugin</id>
+          <id>local</id>
           <name>Maven Plugin Snapshots</name>
           <url>file://C:\m2\repo</url>
           <releases>
-            <enabled>true</enabled>
+            <enabled>false</enabled>
           </releases>
           <snapshots>
             <enabled>true</enabled>
@@ -40,10 +40,12 @@
 </settings>
 +----+
 
- Then type the following from the command line:
+ Due to a bug in Maven, if you are remotely resolving a plugin that doesn't exist in central,
you will need to install
+ from a directory containing a pom.xml file. So if you have a pom.xml handy, goto that directory
from the command line.
+ If not, you will need to download one and goto to the download directory from the command
line. Now type the following from
+ the command line:
 
 +----+
- mvn org.apache.maven.dotnet.plugins:maven-vsinstaller-plugin:install     \
-     -DremoteRepository=http://C:\m2\repo -Pnmaven.snapshots
+ mvn org.apache.maven.dotnet.plugins:maven-vsinstaller-plugin:install
 +----+
 

Modified: incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/examples/install-from-remote-repo.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/examples/install-from-remote-repo.apt?view=diff&rev=545229&r1=545228&r2=545229
==============================================================================
--- incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/examples/install-from-remote-repo.apt
(original)
+++ incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/examples/install-from-remote-repo.apt
Thu Jun  7 09:15:46 2007
@@ -4,14 +4,16 @@
  below or to enter your own repo that hosts the NMaven VS installer.
 
 +----+
-<settings>
   <profiles>
     <profile>
-      <id>nmaven.snapshots</id>
+      <id>apache.snapshots</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
       <repositories>
         <repository>
-          <id>local</id>
-          <name>Maven Plugin Snapshots</name>
+          <id>org.apache</id>
+          <name>Maven Snapshots</name>
           <url>http://people.apache.org/repo/m2-snapshot-repository</url>
           <releases>
             <enabled>true</enabled>
@@ -23,11 +25,11 @@
       </repositories>
       <pluginRepositories>
         <pluginRepository>
-          <id>local-plugin</id>
+          <id>org.apache</id>
           <name>Maven Plugin Snapshots</name>
           <url>http://people.apache.org/repo/m2-snapshot-repository</url>
           <releases>
-            <enabled>true</enabled>
+            <enabled>false</enabled>
           </releases>
           <snapshots>
             <enabled>true</enabled>
@@ -36,12 +38,15 @@
       </pluginRepositories>
     </profile>
   </profiles>
-</settings>
 +----+
 
- Then type the following from the command line:
+ Due to a bug in Maven, if you are remotely resolving a plugin that doesn't exist in central,
you will need to install
+ from a directory containing a pom.xml file. So if you have a pom.xml handy, goto that directory
from the command line.
+ If not, you will need to download the {{{pom.xml}pom.xml}} and goto to the download directory
from the command line.
+ Now type the following from the command line:
 
 +----+
- mvn org.apache.maven.dotnet.plugins:maven-vsinstaller-plugin:install     \
-     -DremoteRepository=http://mycompany.org/repo/m2-snapshot-repository -Pnmaven.snapshots
-+----+
\ No newline at end of file
+ mvn org.apache.maven.dotnet.plugins:maven-vsinstaller-plugin:install
++----+
+
+ This will download the plugin and all of its dependencies.
\ No newline at end of file

Added: incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/examples/pom.xml
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/examples/pom.xml?view=auto&rev=545229
==============================================================================
--- incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/examples/pom.xml
(added)
+++ incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/examples/pom.xml
Thu Jun  7 09:15:46 2007
@@ -0,0 +1,8 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.dotnet</groupId>
+  <artifactId>vsinstaller</artifactId>
+  <packaging>library</packaging>
+  <version>1.0.0</version>
+  <name>vsinstaller</name>
+</project>
\ No newline at end of file

Propchange: incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/examples/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/usage.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/usage.apt?view=diff&rev=545229&r1=545228&r2=545229
==============================================================================
--- incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/usage.apt (original)
+++ incubator/nmaven/trunk/plugins/maven-vsinstaller-plugin/src/site/apt/usage.apt Thu Jun
 7 09:15:46 2007
@@ -11,13 +11,21 @@
      is required to run NMaven, but you can still target 1.1 for your builds provided that
the 1.1 version
      is also installed.
 
-  [[3]] {{{http://nunit.org/index.php?p=download} NUnit 2.2+}}.
+  [[3]] {{{http://nunit.org/index.php?p=download} NUnit 2.2+ (only if using unit tests)}}.
 
   [[4]] {{{http://maven.apache.org/download.html} Maven 2.0.4 or higher}}
 
-  [[2]]   Visual Studio 2005 Standard or higher is needed to use the NMaven Addin
-    (Visual Studio Express Edition will not work)  
+  [[5]]   Visual Studio 2005 Standard or higher is needed to use the NMaven Addin
+    (Visual Studio Express Edition will not work)
 
+    []
+
+ For the install only, you will also need to make sure that you have both the SDK and the
.NET framework locations within your path. Typical
+ locations include:
+
+ * install root: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
+
+ * SDK root: C:\Program Files\Microsoft.NET\SDK\v2.0\
 
 * Installing
 
@@ -27,17 +35,6 @@
  mvn org.apache.maven.dotnet.plugins:maven-vsinstaller-plugin:install
 +----+
 
- If you are using a remote repository, first make sure that the repository containing your
vsinstaller plugin and the
-  NMaven artifacts is located within your settings.xml file and then type:
-
-+----+
- mvn org.apache.maven.dotnet.plugins:maven-vsinstaller-plugin:install -DremoteRepository=<<scheme_name>>://<<authority>>
-+----+
-
- The remote repository may follow a number of schemes, including:
-
- * http
-
- * https
+ If you have not built NMaven locally and are just looking to use the binary distribution,
then check out the instructions here:
+ {{{examples/install-from-remote-repo.html} Install From Remote Repo}}
 
- * file



Mime
View raw message