summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pom.xml37
-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
4 files changed, 31 insertions, 18 deletions
diff --git a/pom.xml b/pom.xml
index a8afe9b..bae006e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -154,19 +154,6 @@
</configuration>
</plugin>
-->
-<!--
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-docck-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
--->
</plugins>
</build>
@@ -176,11 +163,35 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ </plugin>
</plugins>
</reporting>
<profiles>
<profile>
+ <id>check</id>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-docck-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <profile>
<id>run-its</id>
<properties>
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>