Author: khmarbaise
Date: Sun Sep 3 00:14:21 2017
New Revision: 1807110
URL: http://svn.apache.org/viewvc?rev=1807110&view=rev
Log:
Enhanced docs.
Modified:
maven/plugins/trunk/maven-jmod-plugin/src/main/java/org/apache/maven/plugins/jmod/AbstractJModMojo.java
maven/plugins/trunk/maven-jmod-plugin/src/main/java/org/apache/maven/plugins/jmod/JModCreateMojo.java
maven/plugins/trunk/maven-jmod-plugin/src/main/java/org/apache/maven/plugins/jmod/JModListMojo.java
maven/plugins/trunk/maven-jmod-plugin/src/site/apt/index.apt.vm
Modified:
maven/plugins/trunk/maven-jmod-plugin/src/main/java/org/apache/maven/plugins/jmod/AbstractJModMojo.java
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jmod-plugin/src/main/java/org/apache/maven/plugins/jmod/AbstractJModMojo.java?rev=1807110&r1=1807109&r2=1807110&view=diff
==============================================================================
---
maven/plugins/trunk/maven-jmod-plugin/src/main/java/org/apache/maven/plugins/jmod/AbstractJModMojo.java
(original)
+++
maven/plugins/trunk/maven-jmod-plugin/src/main/java/org/apache/maven/plugins/jmod/AbstractJModMojo.java
Sun Sep 3 00:14:21 2017
@@ -39,8 +39,8 @@ import org.codehaus.plexus.util.cli.Comm
import org.codehaus.plexus.util.cli.Commandline;
/**
- * This contains the code to handle toolchains and execute command which is
similar to code in maven-jlink-plugin
- * (maven-jdeps-plugin?). Later we need to think to combine that code to
reduce duplication.
+ * This contains the code to handle toolchains and the execution of the
command which is similar to code in maven-jlink-plugin
+ * (maven-jdeps-plugin?). Later we need to think about a way to combine that
code to reduce duplication.
*
* @author Karl Heinz Marbaise <a
href="mailto:[email protected]">[email protected]</a>
*/
Modified:
maven/plugins/trunk/maven-jmod-plugin/src/main/java/org/apache/maven/plugins/jmod/JModCreateMojo.java
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jmod-plugin/src/main/java/org/apache/maven/plugins/jmod/JModCreateMojo.java?rev=1807110&r1=1807109&r2=1807110&view=diff
==============================================================================
---
maven/plugins/trunk/maven-jmod-plugin/src/main/java/org/apache/maven/plugins/jmod/JModCreateMojo.java
(original)
+++
maven/plugins/trunk/maven-jmod-plugin/src/main/java/org/apache/maven/plugins/jmod/JModCreateMojo.java
Sun Sep 3 00:14:21 2017
@@ -36,8 +36,8 @@ import org.codehaus.plexus.util.cli.Comm
/**
* The <code>create</code> goal is intended to create <code>jmod</code> files
which can be used for later linking via
- * <code>maven-jlink-plugin</code>. The JMod files can not be used as usual
dependencies on the classpath only in
- * relationship with maven-jlink-plugin.
+ * <a
href="https://maven.apache.org/plugins/maven-jlink-plugin/">maven-jlink-plugin</a>.
The <code>jmod</code> files
+ * can not be used as usual dependencies on the classpath only in relationship
with <code>maven-jlink-plugin</code>.
*
* @author Karl Heinz Marbaise <a
href="mailto:[email protected]">[email protected]</a>
*/
Modified:
maven/plugins/trunk/maven-jmod-plugin/src/main/java/org/apache/maven/plugins/jmod/JModListMojo.java
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jmod-plugin/src/main/java/org/apache/maven/plugins/jmod/JModListMojo.java?rev=1807110&r1=1807109&r2=1807110&view=diff
==============================================================================
---
maven/plugins/trunk/maven-jmod-plugin/src/main/java/org/apache/maven/plugins/jmod/JModListMojo.java
(original)
+++
maven/plugins/trunk/maven-jmod-plugin/src/main/java/org/apache/maven/plugins/jmod/JModListMojo.java
Sun Sep 3 00:14:21 2017
@@ -32,7 +32,7 @@ import org.apache.maven.plugins.annotati
import org.codehaus.plexus.util.cli.Commandline;
/**
- * This goal is to support the usage of <code>jmod list</code>.
+ * This goal is to support the usage of <code>jmod list</code> to show the
content of a <code>jmod</code> file.
*
* @author Karl Heinz Marbaise <a
href="mailto:[email protected]">[email protected]</a>
*/
@@ -40,7 +40,7 @@ import org.codehaus.plexus.util.cli.Comm
public class JModListMojo
extends AbstractJModMojo
{
-
+
/**
* Do not change this. (TODO!)
*/
@@ -52,7 +52,7 @@ public class JModListMojo
*/
@Parameter( defaultValue = "${project.artifactId}", required = true )
private String moduleName;
-
+
public void execute()
throws MojoExecutionException, MojoFailureException
{
Modified: maven/plugins/trunk/maven-jmod-plugin/src/site/apt/index.apt.vm
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jmod-plugin/src/site/apt/index.apt.vm?rev=1807110&r1=1807109&r2=1807110&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jmod-plugin/src/site/apt/index.apt.vm (original)
+++ maven/plugins/trunk/maven-jmod-plugin/src/site/apt/index.apt.vm Sun Sep 3
00:14:21 2017
@@ -36,6 +36,10 @@ ${project.name}
* {{{./create-mojo.html}jmod:create}} Create jmod files.
+ * {{{./list-mojo.html}jmod:list}} List content of a jmod file.
+
+ * {{{./describe-mojo.html}jmod:describe}} List content of a jmod file
(module version etc.)
+
* {{{./help-mojo.html}jmod:help}} displays help information on
maven-jmod-plugin.
At the moment support for extract, list, describe does not exist. If you
need such support