summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2009-10-29 11:38:17 +0100
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2009-10-29 11:38:17 +0100
commitb36dbcf19e08413b888e5a2d49dc9db44557624e (patch)
tree196757eec0917adbeee2a75c649042bbed6fe5d1 /src
parentd439a5103e8e9fe529ed20961967ee02b7386379 (diff)
downloadmaven-nar-plugin-b36dbcf19e08413b888e5a2d49dc9db44557624e.tar.gz
maven-nar-plugin-b36dbcf19e08413b888e5a2d49dc9db44557624e.tar.bz2
maven-nar-plugin-b36dbcf19e08413b888e5a2d49dc9db44557624e.tar.xz
maven-nar-plugin-b36dbcf19e08413b888e5a2d49dc9db44557624e.zip
Fixed NAR-95
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java2
-rw-r--r--src/site/apt/examples.apt (renamed from src/site/apt/HelloWorld.apt)5
-rw-r--r--src/site/site.xml5
3 files changed, 7 insertions, 5 deletions
diff --git a/src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java b/src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java
index 9be1d44..d133389 100644
--- a/src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java
+++ b/src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java
@@ -48,6 +48,8 @@ public abstract class AbstractGnuMojo
protected File gnuSourceDirectory;
/**
+ * Directory in which gnu sources are copied and "configured"
+ *
* @parameter expression="${project.build.directory}/nar/gnu"
* @required
*/
diff --git a/src/site/apt/HelloWorld.apt b/src/site/apt/examples.apt
index f03bd70..2ce7120 100644
--- a/src/site/apt/HelloWorld.apt
+++ b/src/site/apt/examples.apt
@@ -5,11 +5,12 @@ Maven NAR Plugin
Mark Donszelmann
---
-HelloWorld Examples
+Examples
These example contain a simple C method "sayHello". This method can be called from a C program, a Java program, put into
a static library, put into a shared library, use as a third party library, ...
-There are also some unit test which are run and call the same method.
+There are also some unit test which are run and call the same method. All examples are available in the src/it
+directory.
The following examples are available:
diff --git a/src/site/site.xml b/src/site/site.xml
index 1c0190f..7e98cd5 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -43,6 +43,7 @@ under the License.
<item name="Configuration" href="configuration.html"/>
<item name="FAQ" href="faq.html"/>
<item name="AOL Properties" href="aol.html"/>
+ <item name="Examples" href="examples.html"/>
</menu>
<menu name="Developer Info">
@@ -56,9 +57,7 @@ under the License.
<item name="Git Browse cpptasks" href="http://github.com/duns/cpptasks-parallel"/>
<item name="Git Repository" href="source-repository.html"/>
</menu>
- <menu name="Examples">
- <item name="HelloWorld" href="HelloWorld.html"/>
- </menu>
+
<menu name="Other Information">
<item name="Maven and other languages" href="http://docs.codehaus.org/display/MAVEN/Support+for+other+languages"/>
</menu>