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/05/20 19:45:06 UTC

svn commit: r539921 - /incubator/nmaven/trunk/site/src/site/apt/net-plugins.apt

Author: sisbell
Date: Sun May 20 12:45:05 2007
New Revision: 539921

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

Modified:
    incubator/nmaven/trunk/site/src/site/apt/net-plugins.apt

Modified: incubator/nmaven/trunk/site/src/site/apt/net-plugins.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/src/site/apt/net-plugins.apt?view=diff&rev=539921&r1=539920&r2=539921
==============================================================================
--- incubator/nmaven/trunk/site/src/site/apt/net-plugins.apt (original)
+++ incubator/nmaven/trunk/site/src/site/apt/net-plugins.apt Sun May 20 12:45:05 2007
@@ -74,6 +74,20 @@
 
 +----+
 
+For the example above, your project structure should look something like:
+
++------+
+.
+ |-- src
+ |   `-- main
+ |       `-- csharp
+ |           `-- NMaven
+ |               `-- Plugins
+ |                   `-- Test
+ |                       `-- MyMojo.cs
+  `-- pom.xml
++------+
+
  Now compile and install the module containing your plugin:
 
 +----+
@@ -85,6 +99,26 @@
 +----+
  mvn org.apache.maven.dotnet.plugins:maven-mojo-generator-plugin:generate-bindings
 +----+
+
+Your project strcuture will now look like this:
+
++------+
+.
+ |-- src
+ |   `-- main
+ |       |-- csharp
+ |       |   `-- NMaven
+ |       |       `-- Plugins
+ |       |            `-- Test
+ |       |                 `-- MyMojo.cs
+ |        `-- java
+ |           `-- NMaven
+ |               `-- Plugins
+ |                   `-- Test
+ |                     `-- MyMojo.java
+  `-- pom.xml
+  `-- pom-java.xml
++------+
 
  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: