Added: incubator/nmaven/www/ide/visual-studio.html
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/ide/visual-studio.html?view=auto&rev=540013
==============================================================================
--- incubator/nmaven/www/ide/visual-studio.html (added)
+++ incubator/nmaven/www/ide/visual-studio.html Sun May 20 21:06:55 2007
@@ -0,0 +1,231 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+
+
+
+
+
+
+
+
+
+
+<html>
+  <head>
+    <title>NMaven - </title>
+    <style type="text/css" media="all">
+      @import url("../css/maven-base.css");
+      @import url("../css/maven-theme.css");
+      @import url("../css/site.css");
+    </style>
+    <link rel="stylesheet" href="../css/print.css" type="text/css" 
media="print" />
+        <meta http-equiv="Content-Type" content="text/html; 
charset=ISO-8859-1" />
+      </head>
+  <body class="composite">
+    <div id="banner">
+                    <span id="bannerLeft">
+    
+            NMaven
+    
+            </span>
+                          <span id="bannerRight">
+    
+                                            <img 
src=".././images/apache-incubator-logo.png" alt="" />
+    
+            </span>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+          
+  
+
+  
+    
+  
+  
+            <div class="xleft">
+        Last Published: 05/20/2007
+                      </div>
+            <div class="xright">      <a 
href="http://incubator.apache.org/projects/nmaven.html";>Project Site</a>
+          |
+          <a href="../">NMaven</a>
+          |
+          <a href="http://svn.apache.org/repos/asf/incubator/nmaven/";>NMaven 
SVN</a>
+          |
+          <a href="http://maven.apache.org/";>Maven</a>
+          |
+          <a href="http://www.mono-project.com/";>Mono Project</a>
+          |
+          <a href="http://dotgnu.org/";>DotGNU</a>
+          
+  
+
+  
+    
+  
+  
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+           
+  
+
+  
+    
+  
+  
+                   <h5>General Info</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="../index.html">About</a>
+        </li>
+              
+    <li class="none">
+              <a href="../features.html">Features</a>
+        </li>
+              
+    <li class="none">
+              <a href="../getting-started.html">Getting Started</a>
+        </li>
+              
+    <li class="none">
+              <a href="../conventions.html">Conventions</a>
+        </li>
+              
+    <li class="none">
+              <a href="../plugins/index.html">Plugins</a>
+        </li>
+              
+    <li class="none">
+              <a href="../environment-configuration.html">Configuration</a>
+        </li>
+          </ul>
+          <h5>IDE Integration</h5>
+        <ul>
+              
+    <li class="none">
+              <strong>Visual Studio</strong>
+        </li>
+              
+    <li class="none">
+              <a href="../ide/sharp-develop.html">Sharp Develop</a>
+        </li>
+          </ul>
+          <h5>Developer Documentation</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="../net-plugins.html">Writing .NET Mojos</a>
+        </li>
+              
+    <li class="none">
+              <a href="../adding-plugins.html">Adding Compilers</a>
+        </li>
+              
+    <li class="none">
+              <a href="../adding-executables.html">Adding Executables</a>
+        </li>
+              
+    <li class="none">
+              <a href="../apidocs/index.html">JavaDocs</a>
+        </li>
+          </ul>
+          <h5>Project Documentation</h5>
+        <ul>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="../project-info.html">Project Information</a>
+              </li>
+          </ul>
+                                       <a href="http://maven.apache.org/"; 
title="Built by Maven" id="poweredBy">
+            <img alt="Built by Maven" 
src="../images/logos/maven-feather.png"></img>
+          </a>
+                       
+  
+
+  
+    
+  
+  
+        </div>
+    </div>
+    <div id="bodyColumn">
+      <div id="contentBox">
+        <div class="section"><h2>Visual Studio 2005</h2><div 
class="section"><h3>About</h3><p>The current version of the Visual Studio 
plugin is experimental and is meant as a proof of concept demonstrating that 
VS2005 can build .NET applications through Maven. It is being put out there to 
get early feedback on what developers want to see. The plugin is not currently 
ready to use for any serious development.</p></div><div 
class="section"><h3>Installing</h3><p>Follow the build instructions here: <a 
href="../getting-started.html#Building NMaven">Building NMaven</a> and then 
type:</p><div class="source"><pre> mvn 
org.apache.maven.dotnet.plugins:maven-vsinstaller-plugin:install
</pre></div><p>This plugin will resolve (and download if needed) all of 
NMaven's dependencies and will create the Visual Studio addin file in the user 
home directory: ~\My Documents\Visual Studio 
2005\Addins\NMaven.VisualStudio.AddIn.</p><p>Sample Generated Addin 
file:</p><div class="source"><pre>&lt;?xml
  version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;
+&lt;Extensibility 
xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
+xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot;
+xmlns=&quot;http://schemas.microsoft.com/AutomationExtensibility&quot;&gt;
+  &lt;HostApplication&gt;
+    &lt;Name&gt;Microsoft Visual Studio&lt;/Name&gt;
+    &lt;Version&gt;8.0&lt;/Version&gt;
+  &lt;/HostApplication&gt;
+  &lt;Addin&gt;
+    &lt;Assembly&gt;
+        C:\Documents and 
Settings\shane\.m2\repository\NMaven\VisualStudio\NMaven.VisualStudio.Addin\0.14-SNAPSHOT\NMaven.VisualStudio.Addin.dll
+    &lt;/Assembly&gt;
+    
&lt;FullClassName&gt;NMaven.VisualStudio.Addin.Connect&lt;/FullClassName&gt;
+    &lt;FriendlyName&gt;NMaven.VisualStudio.Addin&lt;/FriendlyName&gt;
+    &lt;Description&gt;NMaven provides Maven 2.x plugins to support building 
of .NET applications&lt;/Description&gt;
+    &lt;LoadBehavior&gt;0&lt;/LoadBehavior&gt;
+    &lt;CommandLineSafe&gt;0&lt;/CommandLineSafe&gt;
+    &lt;CommandPreload&gt;1&lt;/CommandPreload&gt;
+  &lt;/Addin&gt;
+&lt;/Extensibility&gt;
</pre></div></div><div class="section"><h3>Setting up a project</h3><p>If you 
do not have a .NET Maven project setup, create a simple project:</p><div 
class="source"><pre> mvn archetype:create -DgroupId=&lt;&lt;myGroupid&gt;&gt;   
                            \
+                      -DartifactId=&lt;&lt;myArtifactId&gt;&gt;                
         \
+                      -DarchetypeArtifactId=maven-archetype-dotnet-simple   \
+                      -DarchetypeGroupId=org.apache.maven.dotnet            \
+                      -DarchetypeVersion=0.14-SNAPSHOT
</pre></div><p>You will see the following project generated:</p><div 
class="source"><pre> .
+  |-- src
+  |   `-- main
+  |       `-- csharp
+  |           `-- Sample
+  |               `-- MyApp.cs
+   `-- pom.xml
</pre></div><p>To generate the solution and project files (csharp only), go to 
the directory containing the pom.xml and type</p><div class="source"><pre> mvn 
NMaven.Plugins:NMaven.Plugin.Solution.JavaBinding:Solution
</pre></div></div><div class="section"><h3>Using Visual 
Studio</h3><ul><li>Startup Visual Studio 2005 by clicking on a generated 
solution file</li><li>Click on a project file</li><li>Start the NMaven addin 
[Tool/NMavenAddin]. The addin will start and make a connection to an embedder 
jetty server hosting the maven embedder.</li></ul><img 
src="../images/VS2005-StartAddin.JPG" /><ul><li>After a few moments you should 
see a frame appear containing a list of maven projects, by artifact ID. Right 
click on one of the projects to do a build. You will see the output within the 
output pane.</li></ul><img src="../images/VS2005-Menu.JPG" /><ul><li>After you 
are done, you will need to manually shut down the jetty server by killing the 
process.</li></ul><img sr
 c="../images/VS2005-SHUTDOWN.JPG" /></div></div>
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">&#169;  
+          2007
+    
+          NMaven
+          
+  
+
+  
+    
+  
+  
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>

Added: incubator/nmaven/www/images/SD-Menu.JPG
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/images/SD-Menu.JPG?view=auto&rev=540013
==============================================================================
Binary file - no diff available.

Propchange: incubator/nmaven/www/images/SD-Menu.JPG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: incubator/nmaven/www/images/Thumbs.db
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/images/Thumbs.db?view=diff&rev=540013&r1=540012&r2=540013
==============================================================================
Binary files - no diff available.

Added: incubator/nmaven/www/images/VS2005-Menu.JPG
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/images/VS2005-Menu.JPG?view=auto&rev=540013
==============================================================================
Binary file - no diff available.

Propchange: incubator/nmaven/www/images/VS2005-Menu.JPG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/nmaven/www/images/VS2005-SHUTDOWN.JPG
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/images/VS2005-SHUTDOWN.JPG?view=auto&rev=540013
==============================================================================
Binary file - no diff available.

Propchange: incubator/nmaven/www/images/VS2005-SHUTDOWN.JPG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/nmaven/www/images/VS2005-StartAddin.JPG
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/images/VS2005-StartAddin.JPG?view=auto&rev=540013
==============================================================================
Binary file - no diff available.

Propchange: incubator/nmaven/www/images/VS2005-StartAddin.JPG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: incubator/nmaven/www/index.html
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/index.html?view=diff&rev=540013&r1=540012&r2=540013
==============================================================================
--- incubator/nmaven/www/index.html (original)
+++ incubator/nmaven/www/index.html Sun May 20 21:06:55 2007
@@ -45,7 +45,7 @@
   
   
             <div class="xleft">
-        Last Published: 02/22/2007
+        Last Published: 05/20/2007
                       </div>
             <div class="xright">      <a 
href="http://incubator.apache.org/projects/nmaven.html";>Project Site</a>
           |
@@ -95,6 +95,10 @@
         </li>
               
     <li class="none">
+              <a href="conventions.html">Conventions</a>
+        </li>
+              
+    <li class="none">
               <a href="plugins/index.html">Plugins</a>
         </li>
               
@@ -102,10 +106,25 @@
               <a href="environment-configuration.html">Configuration</a>
         </li>
           </ul>
+          <h5>IDE Integration</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="ide/visual-studio.html">Visual Studio</a>
+        </li>
+              
+    <li class="none">
+              <a href="ide/sharp-develop.html">Sharp Develop</a>
+        </li>
+          </ul>
           <h5>Developer Documentation</h5>
         <ul>
               
     <li class="none">
+              <a href="net-plugins.html">Writing .NET Mojos</a>
+        </li>
+              
+    <li class="none">
               <a href="adding-plugins.html">Adding Compilers</a>
         </li>
               
@@ -156,7 +175,7 @@
     </div>
     <div id="bodyColumn">
       <div id="contentBox">
-        <div class="section"><h2>About NMaven</h2><p>NMaven provides Maven 2.x 
plugins to support building of .NET applications. NMaven is its own framework 
that provides the correct .NET compiler based on the environment 
(vendor/language/operating system). This framework leverages Maven (and its 
plugin architecture) for the build lifecycle, making it a small, 
compiler-plugin-framework on top of the larger Maven 
build-framework.</p></div><div class="section"><h2>RoadMap</h2><p>The primary 
goal of NMaven is to provide a common Maven build environment across .NET 
compilers (C#, VB), vendors (Microsoft, Novell, DotGNU) and platforms (Windows, 
Linux). Specific, near-term goals include:</p><ul><li>.NET Integration Test 
module</li><li>Expanded Support for Assembly Signing</li><li>Support for 
Classifiers</li><li>IDE Support: Visual Studio and SharpDevelop</li><li>.NET 
Plugin Support (for writing Maven plugins in .NET).</li></ul></div><div 
class="section"><h2>Reporting Bugs/Requesti
 ng Features</h2><ul><li><a href="http://jira.codehaus.org/browse/NMAVEN";> 
NMaven Issue Tracking</a></li><li><a href="mailto:[EMAIL PROTECTED]"> Post to 
Mailing List</a> </li></ul></div>
+        <div class="section"><h2>About NMaven</h2><p>NMaven provides Maven 2.x 
plugins to support building of .NET applications. NMaven is its own framework 
that provides the correct .NET compiler based on the environment 
(vendor/language/operating system). This framework leverages Maven for the 
build lifecycle, making it a small, compiler-plugin-framework on top of the 
larger Maven build-framework.</p><p>NMaven originally started as a project on 
Sourceforge in September 2006. Over the course of 2 months, it went through 13 
small releases.</p></div><div class="section"><h2>Road Map</h2><p>The primary 
goal of NMaven is to provide a common Maven build environment across .NET 
compilers (C#, VB), vendors (Microsoft, Novell, DotGNU) and platforms (Windows, 
Linux). Specific, near-term goals include:</p><ul><li>Browse Maven repository 
and add/delete dependencies through IDE (VS2005/SharpDevelop)</li><li>Write 
.NET Maven plugins with Mono (Similar to the one for Microsoft)</li><li>G
 enerate project templates through archetypes</li></ul><p>Click here for a 
complete <a href="http://docs.codehaus.org/display/MAVENUSER/Roadmap";> Road Map 
</a></p></div><div class="section"><h2>Reporting Bugs/Requesting 
Features</h2><ul><li><a href="http://jira.codehaus.org/browse/NMAVEN";> NMaven 
Issue Tracking</a></li><li><a href="mailto:[EMAIL PROTECTED]"> Post to Mailing 
List</a></li></ul></div><div class="section"><h2>Site Info</h2><p>All 
information contained within this web-site is based on the latest work at the 
<a href="https://svn.apache.org/repos/asf/incubator/nmaven/trunk";> SVN trunk 
</a>, so all features may not work with the latest stable tag <a 
href="https://svn.apache.org/repos/asf/incubator/nmaven/tags";> SVN tags 
</a></p></div>
       </div>
     </div>
     <div class="clear">

Modified: incubator/nmaven/www/integration.html
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/integration.html?view=diff&rev=540013&r1=540012&r2=540013
==============================================================================
--- incubator/nmaven/www/integration.html (original)
+++ incubator/nmaven/www/integration.html Sun May 20 21:06:55 2007
@@ -45,7 +45,7 @@
   
   
             <div class="xleft">
-        Last Published: 02/22/2007
+        Last Published: 05/20/2007
                       </div>
             <div class="xright">      <a 
href="http://incubator.apache.org/projects/nmaven.html";>Project Site</a>
           |
@@ -95,6 +95,10 @@
         </li>
               
     <li class="none">
+              <a href="conventions.html">Conventions</a>
+        </li>
+              
+    <li class="none">
               <a href="plugins/index.html">Plugins</a>
         </li>
               
@@ -102,8 +106,23 @@
               <a href="environment-configuration.html">Configuration</a>
         </li>
           </ul>
+          <h5>IDE Integration</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="ide/visual-studio.html">Visual Studio</a>
+        </li>
+              
+    <li class="none">
+              <a href="ide/sharp-develop.html">Sharp Develop</a>
+        </li>
+          </ul>
           <h5>Developer Documentation</h5>
         <ul>
+              
+    <li class="none">
+              <a href="net-plugins.html">Writing .NET Mojos</a>
+        </li>
               
     <li class="none">
               <a href="adding-plugins.html">Adding Compilers</a>

Modified: incubator/nmaven/www/issue-tracking.html
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/issue-tracking.html?view=diff&rev=540013&r1=540012&r2=540013
==============================================================================
--- incubator/nmaven/www/issue-tracking.html (original)
+++ incubator/nmaven/www/issue-tracking.html Sun May 20 21:06:55 2007
@@ -45,7 +45,7 @@
   
   
             <div class="xleft">
-        Last Published: 02/22/2007
+        Last Published: 05/20/2007
                       </div>
             <div class="xright">      <a 
href="http://incubator.apache.org/projects/nmaven.html";>Project Site</a>
           |
@@ -95,6 +95,10 @@
         </li>
               
     <li class="none">
+              <a href="conventions.html">Conventions</a>
+        </li>
+              
+    <li class="none">
               <a href="plugins/index.html">Plugins</a>
         </li>
               
@@ -102,8 +106,23 @@
               <a href="environment-configuration.html">Configuration</a>
         </li>
           </ul>
+          <h5>IDE Integration</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="ide/visual-studio.html">Visual Studio</a>
+        </li>
+              
+    <li class="none">
+              <a href="ide/sharp-develop.html">Sharp Develop</a>
+        </li>
+          </ul>
           <h5>Developer Documentation</h5>
         <ul>
+              
+    <li class="none">
+              <a href="net-plugins.html">Writing .NET Mojos</a>
+        </li>
               
     <li class="none">
               <a href="adding-plugins.html">Adding Compilers</a>

Modified: incubator/nmaven/www/license.html
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/license.html?view=diff&rev=540013&r1=540012&r2=540013
==============================================================================
--- incubator/nmaven/www/license.html (original)
+++ incubator/nmaven/www/license.html Sun May 20 21:06:55 2007
@@ -45,7 +45,7 @@
   
   
             <div class="xleft">
-        Last Published: 02/22/2007
+        Last Published: 05/20/2007
                       </div>
             <div class="xright">      <a 
href="http://incubator.apache.org/projects/nmaven.html";>Project Site</a>
           |
@@ -95,6 +95,10 @@
         </li>
               
     <li class="none">
+              <a href="conventions.html">Conventions</a>
+        </li>
+              
+    <li class="none">
               <a href="plugins/index.html">Plugins</a>
         </li>
               
@@ -102,8 +106,23 @@
               <a href="environment-configuration.html">Configuration</a>
         </li>
           </ul>
+          <h5>IDE Integration</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="ide/visual-studio.html">Visual Studio</a>
+        </li>
+              
+    <li class="none">
+              <a href="ide/sharp-develop.html">Sharp Develop</a>
+        </li>
+          </ul>
           <h5>Developer Documentation</h5>
         <ul>
+              
+    <li class="none">
+              <a href="net-plugins.html">Writing .NET Mojos</a>
+        </li>
               
     <li class="none">
               <a href="adding-plugins.html">Adding Compilers</a>

Modified: incubator/nmaven/www/mail-lists.html
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/mail-lists.html?view=diff&rev=540013&r1=540012&r2=540013
==============================================================================
--- incubator/nmaven/www/mail-lists.html (original)
+++ incubator/nmaven/www/mail-lists.html Sun May 20 21:06:55 2007
@@ -45,7 +45,7 @@
   
   
             <div class="xleft">
-        Last Published: 02/22/2007
+        Last Published: 05/20/2007
                       </div>
             <div class="xright">      <a 
href="http://incubator.apache.org/projects/nmaven.html";>Project Site</a>
           |
@@ -95,6 +95,10 @@
         </li>
               
     <li class="none">
+              <a href="conventions.html">Conventions</a>
+        </li>
+              
+    <li class="none">
               <a href="plugins/index.html">Plugins</a>
         </li>
               
@@ -102,8 +106,23 @@
               <a href="environment-configuration.html">Configuration</a>
         </li>
           </ul>
+          <h5>IDE Integration</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="ide/visual-studio.html">Visual Studio</a>
+        </li>
+              
+    <li class="none">
+              <a href="ide/sharp-develop.html">Sharp Develop</a>
+        </li>
+          </ul>
           <h5>Developer Documentation</h5>
         <ul>
+              
+    <li class="none">
+              <a href="net-plugins.html">Writing .NET Mojos</a>
+        </li>
               
     <li class="none">
               <a href="adding-plugins.html">Adding Compilers</a>

Added: incubator/nmaven/www/net-plugins.html
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/net-plugins.html?view=auto&rev=540013
==============================================================================
--- incubator/nmaven/www/net-plugins.html (added)
+++ incubator/nmaven/www/net-plugins.html Sun May 20 21:06:55 2007
@@ -0,0 +1,275 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+
+
+
+
+
+
+
+
+
+
+<html>
+  <head>
+    <title>NMaven - </title>
+    <style type="text/css" media="all">
+      @import url("./css/maven-base.css");
+      @import url("./css/maven-theme.css");
+      @import url("./css/site.css");
+    </style>
+    <link rel="stylesheet" href="./css/print.css" type="text/css" 
media="print" />
+        <meta http-equiv="Content-Type" content="text/html; 
charset=ISO-8859-1" />
+      </head>
+  <body class="composite">
+    <div id="banner">
+                    <span id="bannerLeft">
+    
+            NMaven
+    
+            </span>
+                          <span id="bannerRight">
+    
+                                            <img 
src="./images/apache-incubator-logo.png" alt="" />
+    
+            </span>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+          
+  
+
+  
+    
+  
+  
+            <div class="xleft">
+        Last Published: 05/20/2007
+                      </div>
+            <div class="xright">      <a 
href="http://incubator.apache.org/projects/nmaven.html";>Project Site</a>
+          |
+          <a href="">NMaven</a>
+          |
+          <a href="http://svn.apache.org/repos/asf/incubator/nmaven/";>NMaven 
SVN</a>
+          |
+          <a href="http://maven.apache.org/";>Maven</a>
+          |
+          <a href="http://www.mono-project.com/";>Mono Project</a>
+          |
+          <a href="http://dotgnu.org/";>DotGNU</a>
+          
+  
+
+  
+    
+  
+  
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+           
+  
+
+  
+    
+  
+  
+                   <h5>General Info</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="index.html">About</a>
+        </li>
+              
+    <li class="none">
+              <a href="features.html">Features</a>
+        </li>
+              
+    <li class="none">
+              <a href="getting-started.html">Getting Started</a>
+        </li>
+              
+    <li class="none">
+              <a href="conventions.html">Conventions</a>
+        </li>
+              
+    <li class="none">
+              <a href="plugins/index.html">Plugins</a>
+        </li>
+              
+    <li class="none">
+              <a href="environment-configuration.html">Configuration</a>
+        </li>
+          </ul>
+          <h5>IDE Integration</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="ide/visual-studio.html">Visual Studio</a>
+        </li>
+              
+    <li class="none">
+              <a href="ide/sharp-develop.html">Sharp Develop</a>
+        </li>
+          </ul>
+          <h5>Developer Documentation</h5>
+        <ul>
+              
+    <li class="none">
+              <strong>Writing .NET Mojos</strong>
+        </li>
+              
+    <li class="none">
+              <a href="adding-plugins.html">Adding Compilers</a>
+        </li>
+              
+    <li class="none">
+              <a href="adding-executables.html">Adding Executables</a>
+        </li>
+              
+    <li class="none">
+              <a href="apidocs/index.html">JavaDocs</a>
+        </li>
+          </ul>
+          <h5>Project Documentation</h5>
+        <ul>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="project-info.html">Project Information</a>
+              </li>
+          </ul>
+                                       <a href="http://maven.apache.org/"; 
title="Built by Maven" id="poweredBy">
+            <img alt="Built by Maven" 
src="./images/logos/maven-feather.png"></img>
+          </a>
+                       
+  
+
+  
+    
+  
+  
+        </div>
+    </div>
+    <div id="bodyColumn">
+      <div id="contentBox">
+        <div class="section"><h2>Writing .NET Mojos (Microsoft 
Only)</h2><p>The first thing to do is to create an implementation of the 
NMaven.Plugin.AbstractMojo class. You will need to become familiar with two 
attributes:</p><ol type="1"><li>ClassAttribute - provides the phase and goal 
info for the Mojo</li><li>FieldAttribute - provides the Java fieldName, Java 
fieldType and Maven expression. The Expression parameter should be the same as 
you would specify within a Java Mojo</li></ol><p>It is important to note that 
the plugin framework currently only handles String types and the maven project 
types: it also does not handle collections. Additional types will be added in 
future versions.</p><div class="source"><pre> using System;
+ using NMaven.Plugin;
+
+ namespace NMaven.Plugins.Test
+ {
+        [ClassAttribute(Phase = &quot;compile&quot;, Goal = &quot;Hello&quot;)]
+        public sealed class MyMojo : AbstractMojo
+        {
+
+                [FieldAttribute(&quot;basedir&quot;, Expression = 
&quot;${basedir}&quot;, Type = &quot;java.lang.String&quot;)]
+                public String basedir;
+
+                [FieldAttribute(&quot;mavenProject&quot;, Expression = 
&quot;${project}&quot;,
+                                                Type = 
&quot;org.apache.maven.project.MavenProject&quot;)]
+                public NMaven.Model.Model mavenProject;
+
+                public override Type GetMojoImplementationType()
+                {
+                        return this.GetType();//LEAVE THIS UNCHANGED
+                }
+
+                public override void Execute()
+                {
+                    Console.WriteLine(&quot;My  First Mojo&quot;):
+            //DO SOMETHING HERE
+                }
+        }
+ }
+
</pre></div><p>After that, add a pom.xml file to your project. Notice that the 
packaging type must be &quot;netplugin&quot;. You must also add the 
NMaven.Plugin dependency, as that assembly contains the base AbstractMojo class 
and the attributes. The NMaven.Model.Pom dependency is only needed if you are 
injecting the MavenProject into a field.</p><div class="source"><pre>
+&lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot;&gt;
+  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
+  &lt;groupId&gt;NMaven.Plugins&lt;/groupId&gt;
+  &lt;artifactId&gt;NMaven.Plugins.Test&lt;/artifactId&gt;
+  &lt;packaging&gt;netplugin&lt;/packaging&gt;
+  &lt;version&gt;0.14-SNAPSHOT&lt;/version&gt;
+  &lt;name&gt;NMaven.Plugins.Test&lt;/name&gt;
+  &lt;dependencies&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;NMaven.Plugin&lt;/groupId&gt;
+      &lt;artifactId&gt;NMaven.Plugin&lt;/artifactId&gt;
+      &lt;type&gt;library&lt;/type&gt;
+      &lt;version&gt;0.14-SNAPSHOT&lt;/version&gt;
+    &lt;/dependency&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;NMaven.Model&lt;/groupId&gt;
+      &lt;artifactId&gt;NMaven.Model.Pom&lt;/artifactId&gt;
+      &lt;type&gt;library&lt;/type&gt;
+      &lt;version&gt;0.14-SNAPSHOT&lt;/version&gt;
+    &lt;/dependency&gt;
+  &lt;/dependencies&gt;
+&lt;/project&gt;
+
</pre></div><p>For the example above, your project structure should look 
something like:</p><div class="source"><pre>.
+ |-- src
+ |   `-- main
+ |       `-- csharp
+ |           `-- NMaven
+ |               `-- Plugins
+ |                   `-- Test
+ |                       `-- MyMojo.cs
+  `-- pom.xml
</pre></div><p>Now compile and install the module containing your 
plugin:</p><div class="source"><pre> mvn install
</pre></div><p>Next generate the JavaBinding classes for the .NET 
Plugin.</p><div class="source"><pre> mvn 
org.apache.maven.dotnet.plugins:maven-mojo-generator-plugin:generate-bindings
</pre></div><p>Your project structure will now look like this:</p><div 
class="source"><pre>.
+ |-- src
+ |   `-- main
+ |       |-- csharp
+ |       |   `-- NMaven
+ |       |       `-- Plugins
+ |       |            `-- Test
+ |       |                 `-- MyMojo.cs
+ |        `-- java
+ |           `-- NMaven
+ |               `-- Plugins
+ |                   `-- Test
+ |                     `-- MyMojo.java
+  `-- pom.xml
+  `-- pom-java.xml
</pre></div><p>You will see that the maven-mojo-generator-plugin generates a 
Java class - containing an implementation of a Maven AbstractMojo - for each 
corresponding .NET AbstractMojo class within your plugin. It also generates a 
pom-java.xml file. Type:</p><div class="source"><pre> mvn intall -f pom-java.xml
</pre></div><p>This generates a traditional Maven plugin (in Java) that binds 
to your .NET version. Now type</p><div class="source"><pre> mvn 
NMaven.Plugins:NMaven.Plugins.Test.JavaBinding:Hello
</pre></div><p>and on your screen, you will see</p><div class="source"><pre> My 
First Mojo
</pre></div></div>
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">&#169;  
+          2007
+    
+          NMaven
+          
+  
+
+  
+    
+  
+  
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>

Modified: incubator/nmaven/www/plugins/index.html
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/plugins/index.html?view=diff&rev=540013&r1=540012&r2=540013
==============================================================================
--- incubator/nmaven/www/plugins/index.html (original)
+++ incubator/nmaven/www/plugins/index.html Sun May 20 21:06:55 2007
@@ -45,7 +45,7 @@
   
   
             <div class="xleft">
-        Last Published: 02/11/2007
+        Last Published: 05/20/2007
                       </div>
             <div class="xright">      <a 
href="http://incubator.apache.org/projects/nmaven.html";>Project Site</a>
           |
@@ -95,6 +95,10 @@
         </li>
               
     <li class="none">
+              <a href="../conventions.html">Conventions</a>
+        </li>
+              
+    <li class="none">
               <strong>Plugins</strong>
         </li>
               
@@ -102,8 +106,23 @@
               <a href="../environment-configuration.html">Configuration</a>
         </li>
           </ul>
+          <h5>IDE Integration</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="../ide/visual-studio.html">Visual Studio</a>
+        </li>
+              
+    <li class="none">
+              <a href="../ide/sharp-develop.html">Sharp Develop</a>
+        </li>
+          </ul>
           <h5>Developer Documentation</h5>
         <ul>
+              
+    <li class="none">
+              <a href="../net-plugins.html">Writing .NET Mojos</a>
+        </li>
               
     <li class="none">
               <a href="../adding-plugins.html">Adding Compilers</a>

Modified: incubator/nmaven/www/project-info.html
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/project-info.html?view=diff&rev=540013&r1=540012&r2=540013
==============================================================================
--- incubator/nmaven/www/project-info.html (original)
+++ incubator/nmaven/www/project-info.html Sun May 20 21:06:55 2007
@@ -45,7 +45,7 @@
   
   
             <div class="xleft">
-        Last Published: 02/22/2007
+        Last Published: 05/20/2007
                       </div>
             <div class="xright">      <a 
href="http://incubator.apache.org/projects/nmaven.html";>Project Site</a>
           |
@@ -95,6 +95,10 @@
         </li>
               
     <li class="none">
+              <a href="conventions.html">Conventions</a>
+        </li>
+              
+    <li class="none">
               <a href="plugins/index.html">Plugins</a>
         </li>
               
@@ -102,8 +106,23 @@
               <a href="environment-configuration.html">Configuration</a>
         </li>
           </ul>
+          <h5>IDE Integration</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="ide/visual-studio.html">Visual Studio</a>
+        </li>
+              
+    <li class="none">
+              <a href="ide/sharp-develop.html">Sharp Develop</a>
+        </li>
+          </ul>
           <h5>Developer Documentation</h5>
         <ul>
+              
+    <li class="none">
+              <a href="net-plugins.html">Writing .NET Mojos</a>
+        </li>
               
     <li class="none">
               <a href="adding-plugins.html">Adding Compilers</a>

Modified: incubator/nmaven/www/project-summary.html
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/project-summary.html?view=diff&rev=540013&r1=540012&r2=540013
==============================================================================
--- incubator/nmaven/www/project-summary.html (original)
+++ incubator/nmaven/www/project-summary.html Sun May 20 21:06:55 2007
@@ -45,7 +45,7 @@
   
   
             <div class="xleft">
-        Last Published: 02/22/2007
+        Last Published: 05/20/2007
                       </div>
             <div class="xright">      <a 
href="http://incubator.apache.org/projects/nmaven.html";>Project Site</a>
           |
@@ -95,6 +95,10 @@
         </li>
               
     <li class="none">
+              <a href="conventions.html">Conventions</a>
+        </li>
+              
+    <li class="none">
               <a href="plugins/index.html">Plugins</a>
         </li>
               
@@ -102,8 +106,23 @@
               <a href="environment-configuration.html">Configuration</a>
         </li>
           </ul>
+          <h5>IDE Integration</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="ide/visual-studio.html">Visual Studio</a>
+        </li>
+              
+    <li class="none">
+              <a href="ide/sharp-develop.html">Sharp Develop</a>
+        </li>
+          </ul>
           <h5>Developer Documentation</h5>
         <ul>
+              
+    <li class="none">
+              <a href="net-plugins.html">Writing .NET Mojos</a>
+        </li>
               
     <li class="none">
               <a href="adding-plugins.html">Adding Compilers</a>

Modified: incubator/nmaven/www/source-repository.html
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/source-repository.html?view=diff&rev=540013&r1=540012&r2=540013
==============================================================================
--- incubator/nmaven/www/source-repository.html (original)
+++ incubator/nmaven/www/source-repository.html Sun May 20 21:06:55 2007
@@ -45,7 +45,7 @@
   
   
             <div class="xleft">
-        Last Published: 02/22/2007
+        Last Published: 05/20/2007
                       </div>
             <div class="xright">      <a 
href="http://incubator.apache.org/projects/nmaven.html";>Project Site</a>
           |
@@ -95,6 +95,10 @@
         </li>
               
     <li class="none">
+              <a href="conventions.html">Conventions</a>
+        </li>
+              
+    <li class="none">
               <a href="plugins/index.html">Plugins</a>
         </li>
               
@@ -102,10 +106,25 @@
               <a href="environment-configuration.html">Configuration</a>
         </li>
           </ul>
+          <h5>IDE Integration</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="ide/visual-studio.html">Visual Studio</a>
+        </li>
+              
+    <li class="none">
+              <a href="ide/sharp-develop.html">Sharp Develop</a>
+        </li>
+          </ul>
           <h5>Developer Documentation</h5>
         <ul>
               
     <li class="none">
+              <a href="net-plugins.html">Writing .NET Mojos</a>
+        </li>
+              
+    <li class="none">
               <a href="adding-plugins.html">Adding Compilers</a>
         </li>
               
@@ -190,7 +209,7 @@
     </div>
     <div id="bodyColumn">
       <div id="contentBox">
-        <div class="section"><h2>Overview</h2>This project uses <a 
href="http://subversion.tigris.org/";>Subversion</a> to manage its source code. 
Instructions on Subversion use can be found at <a 
href="http://svnbook.red-bean.com/";>http://svnbook.red-bean.com/</a>.</div><div 
class="section"><h2>Web Access</h2><p>The following is a link to the online 
source repository.</p><div class="source"><pre><a 
href="https://svn.apache.org/repos/asf/incubator/nmaven/";>https://svn.apache.org/repos/asf/incubator/nmaven/</a></pre></div></div><div
 class="section"><h2>Anonymous access</h2><p>The source can be checked out 
anonymously from SVN with this command:</p><div class="source"><pre>$ svn 
checkout https://svn.apache.org/repos/asf/incubator/nmaven/ 
nmaven-apache-site</pre></div></div><div class="section"><h2>Developer 
access</h2><p>Everyone can access the Subversion repository via HTTPS, but 
Committers must checkout the Subversion repository via HTTPS.</p><div 
class="source"><pre>$ svn ch
 eckout https://svn.apache.org/repos/asf/incubator/nmaven/ 
nmaven-apache-site</pre></div><p>To commit changes to the repository, execute 
the following command to commit your changes (svn will prompt you for your 
password)</p><div class="source"><pre>$ svn commit --username your-username -m 
&quot;A message&quot;</pre></div></div><div class="section"><h2>Access from 
behind a firewall</h2><p>For those users who are stuck behind a corporate 
firewall which is blocking http access to the Subversion repository, you can 
try to access it via the developer connection:</p><div class="source"><pre>$ 
svn checkout https://svn.apache.org/repos/asf/incubator/nmaven/ 
nmaven-apache-site</pre></div></div><div class="section"><h2>Access through a 
proxy</h2><p>The Subversion client can go through a proxy, if you configure it 
to do so. First, edit your &quot;servers&quot; configuration file to indicate 
which proxy to use. The files location depends on your operating system. On 
Linux or Unix it is 
 located in the directory &quot;~/.subversion&quot;. On Windows it is in 
&quot;%APPDATA%\Subversion&quot;. (Try &quot;echo %APPDATA%&quot;, note this is 
a hidden directory.)</p><p>There are comments in the file explaining what to 
do. If you don't have that file, get the latest Subversion client and run any 
command; this will cause the configuration directory and template files to be 
created.</p><p>Example : Edit the 'servers' file and add something like 
:</p><div class="source"><pre>[global]
+        <div class="section"><h2>Overview</h2>This project uses <a 
href="http://subversion.tigris.org/";>Subversion</a> to manage its source code. 
Instructions on Subversion use can be found at <a 
href="http://svnbook.red-bean.com/";>http://svnbook.red-bean.com/</a>.</div><div 
class="section"><h2>Web Access</h2><p>The following is a link to the online 
source repository.</p><div class="source"><pre><a 
href="https://svn.apache.org/repos/asf/incubator/nmaven/";>https://svn.apache.org/repos/asf/incubator/nmaven/</a></pre></div></div><div
 class="section"><h2>Anonymous access</h2><p>The source can be checked out 
anonymously from SVN with this command:</p><div class="source"><pre>$ svn 
checkout https://svn.apache.org/repos/asf/incubator/nmaven/ 
nmaven-apache-site</pre></div></div><div class="section"><h2>Developer 
access</h2><p>Everyone can access the Subversion repository via HTTPS, but 
Committers must checkout the Subversion repository via HTTPS.</p><div 
class="source"><pre>$ svn ch
 eckout https://svn.apache.org/repos/asf/incubator/nmaven/trunk 
nmaven-apache-site</pre></div><p>To commit changes to the repository, execute 
the following command to commit your changes (svn will prompt you for your 
password)</p><div class="source"><pre>$ svn commit --username your-username -m 
&quot;A message&quot;</pre></div></div><div class="section"><h2>Access from 
behind a firewall</h2><p>For those users who are stuck behind a corporate 
firewall which is blocking http access to the Subversion repository, you can 
try to access it via the developer connection:</p><div class="source"><pre>$ 
svn checkout https://svn.apache.org/repos/asf/incubator/nmaven/trunk 
nmaven-apache-site</pre></div></div><div class="section"><h2>Access through a 
proxy</h2><p>The Subversion client can go through a proxy, if you configure it 
to do so. First, edit your &quot;servers&quot; configuration file to indicate 
which proxy to use. The files location depends on your operating system. On 
Linux or U
 nix it is located in the directory &quot;~/.subversion&quot;. On Windows it is 
in &quot;%APPDATA%\Subversion&quot;. (Try &quot;echo %APPDATA%&quot;, note this 
is a hidden directory.)</p><p>There are comments in the file explaining what to 
do. If you don't have that file, get the latest Subversion client and run any 
command; this will cause the configuration directory and template files to be 
created.</p><p>Example : Edit the 'servers' file and add something like 
:</p><div class="source"><pre>[global]
 http-proxy-host = your.proxy.name
 http-proxy-port = 3128
 </pre></div></div>

Modified: incubator/nmaven/www/team-list.html
URL: 
http://svn.apache.org/viewvc/incubator/nmaven/www/team-list.html?view=diff&rev=540013&r1=540012&r2=540013
==============================================================================
--- incubator/nmaven/www/team-list.html (original)
+++ incubator/nmaven/www/team-list.html Sun May 20 21:06:55 2007
@@ -45,7 +45,7 @@
   
   
             <div class="xleft">
-        Last Published: 02/22/2007
+        Last Published: 05/20/2007
                       </div>
             <div class="xright">      <a 
href="http://incubator.apache.org/projects/nmaven.html";>Project Site</a>
           |
@@ -95,6 +95,10 @@
         </li>
               
     <li class="none">
+              <a href="conventions.html">Conventions</a>
+        </li>
+              
+    <li class="none">
               <a href="plugins/index.html">Plugins</a>
         </li>
               
@@ -102,8 +106,23 @@
               <a href="environment-configuration.html">Configuration</a>
         </li>
           </ul>
+          <h5>IDE Integration</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="ide/visual-studio.html">Visual Studio</a>
+        </li>
+              
+    <li class="none">
+              <a href="ide/sharp-develop.html">Sharp Develop</a>
+        </li>
+          </ul>
           <h5>Developer Documentation</h5>
         <ul>
+              
+    <li class="none">
+              <a href="net-plugins.html">Writing .NET Mojos</a>
+        </li>
               
     <li class="none">
               <a href="adding-plugins.html">Adding Compilers</a>


Reply via email to