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,24 +32,24 @@
|
|||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
The following samples are provided:
|
The following samples are provided:
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="#Simple Java Example">A Simple Java Example</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="#Simple WebApp Example">A Simple Web Application Example</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="#Example Ear">A Simple Enterprise Application Example</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="#Example EJB">A Simple EJB Jar Example</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="#Plugin Script">A Maven plugin which uses a scripting language like BeanShell</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</p>
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="#Simple Java Example">A Simple Java Example</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#Simple WebApp Example">A Simple Web Application Example</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#Example Ear">A Simple Enterprise Application Example</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#Example EJB">A Simple EJB Jar Example</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#Plugin Script">A Maven plugin which uses a scripting language like BeanShell</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</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
|
||||||
<ul>
|
|
||||||
<li>A single java source file:
|
|
||||||
<code>src/java/org/apache/maven/examples/simplejava/SimpleJava.java</code>
|
|
||||||
</li>
|
|
||||||
<li>and a Maven project definition, <code>project.xml</code></li>
|
|
||||||
</ul>
|
|
||||||
</p>
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>A single java source file:
|
||||||
|
<code>src/java/org/apache/maven/examples/simplejava/SimpleJava.java</code>
|
||||||
|
</li>
|
||||||
|
<li>and a Maven project definition, <code>project.xml</code></li>
|
||||||
|
</ul>
|
||||||
<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,24 +50,22 @@
|
|||||||
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:
|
||||||
<ul>
|
|
||||||
<li>groupId: the groupId of the source archive to download</li>
|
|
||||||
<li>artifactId: the artifactId of the source archive to download</li>
|
|
||||||
<li>version: the version of the source archive to download</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>
|
|
||||||
</ul>
|
|
||||||
</p>
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>groupId: the groupId of the source archive to download</li>
|
||||||
|
<li>artifactId: the artifactId of the source archive to download</li>
|
||||||
|
<li>version: the version of the source archive to download</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>
|
||||||
|
</ul>
|
||||||
<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</source>
|
||||||
-DbackwardCompatible=true
|
|
||||||
</source>
|
|
||||||
</section>
|
</section>
|
||||||
</body>
|
</body>
|
||||||
</document>
|
</document>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user