diff options
author | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-10-29 11:38:17 +0100 |
---|---|---|
committer | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-10-29 11:38:17 +0100 |
commit | b36dbcf19e08413b888e5a2d49dc9db44557624e (patch) | |
tree | 196757eec0917adbeee2a75c649042bbed6fe5d1 | |
parent | d439a5103e8e9fe529ed20961967ee02b7386379 (diff) | |
download | maven-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
-rw-r--r-- | pom.xml | 37 | ||||
-rw-r--r-- | src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java | 2 | ||||
-rw-r--r-- | src/site/apt/examples.apt (renamed from src/site/apt/HelloWorld.apt) | 5 | ||||
-rw-r--r-- | src/site/site.xml | 5 |
4 files changed, 31 insertions, 18 deletions
@@ -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> |