Make xdocs validate.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@425194 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
81a7880132
commit
4da36d7ef7
@ -32,6 +32,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
The following samples are provided:
|
The following samples are provided:
|
||||||
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="#Simple Java Example">A Simple Java Example</a>
|
<a href="#Simple Java Example">A Simple Java Example</a>
|
||||||
@ -49,7 +50,6 @@
|
|||||||
<a href="#Plugin Script">A Maven plugin which uses a scripting language like BeanShell</a>
|
<a href="#Plugin Script">A Maven plugin which uses a scripting language like BeanShell</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="Simple Java Example">
|
<section name="Simple Java Example">
|
||||||
@ -64,13 +64,13 @@
|
|||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
It consists of
|
It consists of
|
||||||
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>A single java source file:
|
<li>A single java source file:
|
||||||
<code>src/java/org/apache/maven/examples/simplejava/SimpleJava.java</code>
|
<code>src/java/org/apache/maven/examples/simplejava/SimpleJava.java</code>
|
||||||
</li>
|
</li>
|
||||||
<li>and a Maven project definition, <code>project.xml</code></li>
|
<li>and a Maven project definition, <code>project.xml</code></li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
|
||||||
<p>
|
<p>
|
||||||
With just the addition of the Maven project.xml file, the wide array
|
With just the addition of the Maven project.xml file, the wide array
|
||||||
of built-in maven functionality is now available for use in this
|
of built-in maven functionality is now available for use in this
|
||||||
|
|||||||
@ -50,6 +50,7 @@
|
|||||||
Similarly to the plugin plugin, the source plugin is able to download
|
Similarly to the plugin plugin, the source plugin is able to download
|
||||||
a source archive from the configured repository(ies). The following
|
a source archive from the configured repository(ies). The following
|
||||||
parameters might be set at runtime:
|
parameters might be set at runtime:
|
||||||
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>groupId: the groupId of the source archive to download</li>
|
<li>groupId: the groupId of the source archive to download</li>
|
||||||
<li>artifactId: the artifactId of the source archive to download</li>
|
<li>artifactId: the artifactId of the source archive to download</li>
|
||||||
@ -57,17 +58,14 @@
|
|||||||
<li>ignoreErrors (optional - default to false): specificy if the build should fail if the source archive is not found</li>
|
<li>ignoreErrors (optional - default to false): specificy if the build should fail if the source archive is not found</li>
|
||||||
<li>backwardCompatible (optional - default to false): specificy if the old source archive location should be checked as well</li>
|
<li>backwardCompatible (optional - default to false): specificy if the old source archive location should be checked as well</li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
|
||||||
<p>
|
<p>
|
||||||
Example:
|
Example:
|
||||||
</p>
|
</p>
|
||||||
<source>
|
<source>maven source:download
|
||||||
maven source:download
|
|
||||||
-DartifactId=someArtifact
|
-DartifactId=someArtifact
|
||||||
-DgroupId=theGroup
|
-DgroupId=theGroup
|
||||||
-Dversion=1.0.0-SNAPSHOT
|
-Dversion=1.0.0-SNAPSHOT
|
||||||
-DbackwardCompatible=true
|
-DbackwardCompatible=true</source>
|
||||||
</source>
|
|
||||||
</section>
|
</section>
|
||||||
</body>
|
</body>
|
||||||
</document>
|
</document>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user