incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r539921 - /incubator/nmaven/trunk/site/src/site/apt/net-plugins.apt
Date Sun, 20 May 2007 19:45:06 GMT
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:



Mime
View raw message