PR: MPXDOC-191
Include dependencies' scope in dependencies page. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@377551 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4fcbaf2ded
commit
947857a170
@ -229,4 +229,12 @@ public class DescribedDependency implements Comparable
|
|||||||
public String getComment() {
|
public String getComment() {
|
||||||
return dependency.getProperty("comment");
|
return dependency.getProperty("comment");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Delegate method from Dependency.getProperty("scope")
|
||||||
|
*/
|
||||||
|
public String getScope()
|
||||||
|
{
|
||||||
|
return dependency.getProperty("scope");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -56,6 +56,12 @@
|
|||||||
<message key="template.dependencies.section.version"
|
<message key="template.dependencies.section.version"
|
||||||
bundle="plugin-resources.templates.templates" />
|
bundle="plugin-resources.templates.templates" />
|
||||||
</th>
|
</th>
|
||||||
|
|
||||||
|
<th>
|
||||||
|
<message key="template.dependencies.section.scope"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</th>
|
||||||
|
|
||||||
<th>
|
<th>
|
||||||
<message key="template.dependencies.section.url"
|
<message key="template.dependencies.section.url"
|
||||||
bundle="plugin-resources.templates.templates" />
|
bundle="plugin-resources.templates.templates" />
|
||||||
@ -72,6 +78,11 @@
|
|||||||
<td>${dep.ArtifactId}</td>
|
<td>${dep.ArtifactId}</td>
|
||||||
<td>${dep.Type}</td>
|
<td>${dep.Type}</td>
|
||||||
<td>${dep.Version}</td>
|
<td>${dep.Version}</td>
|
||||||
|
<td>
|
||||||
|
#if (${dep.scope})
|
||||||
|
${dep.scope}
|
||||||
|
#end
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
#if ($dep.Url)
|
#if ($dep.Url)
|
||||||
<a href="${dep.Url}">${dep.Url}</a>
|
<a href="${dep.Url}">${dep.Url}</a>
|
||||||
|
|||||||
@ -72,6 +72,7 @@ template.dependencies.section.dependencies=The following is a list of dependenci
|
|||||||
template.dependencies.section.artifactID=Artifact ID
|
template.dependencies.section.artifactID=Artifact ID
|
||||||
template.dependencies.section.type=Type
|
template.dependencies.section.type=Type
|
||||||
template.dependencies.section.version=Version
|
template.dependencies.section.version=Version
|
||||||
|
template.dependencies.section.scope=Scope
|
||||||
template.dependencies.section.url=URL
|
template.dependencies.section.url=URL
|
||||||
template.dependencies.section.comment=Comment
|
template.dependencies.section.comment=Comment
|
||||||
|
|
||||||
|
|||||||
@ -73,6 +73,7 @@ template.dependencies.section.dependencies = Im Folgenden finden Sie eine Liste
|
|||||||
template.dependencies.section.artifactID = Artifact ID
|
template.dependencies.section.artifactID = Artifact ID
|
||||||
template.dependencies.section.type = Typ
|
template.dependencies.section.type = Typ
|
||||||
template.dependencies.section.version = Version
|
template.dependencies.section.version = Version
|
||||||
|
template.dependencies.section.scope=Scope
|
||||||
template.dependencies.section.url = URL
|
template.dependencies.section.url = URL
|
||||||
template.dependencies.section.comment=Kommentar
|
template.dependencies.section.comment=Kommentar
|
||||||
|
|
||||||
|
|||||||
@ -73,6 +73,7 @@ template.dependencies.section.dependencies=Ce qui suit est une liste des d
|
|||||||
template.dependencies.section.artifactID=Artefact ID
|
template.dependencies.section.artifactID=Artefact ID
|
||||||
template.dependencies.section.type=Type
|
template.dependencies.section.type=Type
|
||||||
template.dependencies.section.version=Version
|
template.dependencies.section.version=Version
|
||||||
|
template.dependencies.section.scope=Scope
|
||||||
template.dependencies.section.url=URL
|
template.dependencies.section.url=URL
|
||||||
template.dependencies.section.comment=Commentaire
|
template.dependencies.section.comment=Commentaire
|
||||||
|
|
||||||
|
|||||||
@ -27,6 +27,7 @@
|
|||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
<release version="1.10-SNAPSHOT" date="in SVN">
|
<release version="1.10-SNAPSHOT" date="in SVN">
|
||||||
|
<action dev="ltheussl" type="add" issue="MPXDOC-191">Include dependencies' scope in dependencies page.</action>
|
||||||
<action dev="ltheussl" type="add" issue="MPXDOC-190">Include the new theme <code>maven-stylus.css</code>.</action>
|
<action dev="ltheussl" type="add" issue="MPXDOC-190">Include the new theme <code>maven-stylus.css</code>.</action>
|
||||||
<action dev="ltheussl" type="add" issue="MPXDOC-189">Document the use of pom settings by the xdoc plugin.</action>
|
<action dev="ltheussl" type="add" issue="MPXDOC-189">Document the use of pom settings by the xdoc plugin.</action>
|
||||||
<action dev="ltheussl" type="fix" issue="MPXDOC-130">CVS usage page is blank when using Subversion.</action>
|
<action dev="ltheussl" type="fix" issue="MPXDOC-130">CVS usage page is blank when using Subversion.</action>
|
||||||
|
|||||||
@ -761,8 +761,11 @@
|
|||||||
The contents of the
|
The contents of the
|
||||||
<a href="http://maven.apache.org/maven-1.x/reference/project-descriptor.html#class_Dependency"><code><dependency></code></a>
|
<a href="http://maven.apache.org/maven-1.x/reference/project-descriptor.html#class_Dependency"><code><dependency></code></a>
|
||||||
element are used in the <code>Dependencies</code> page.
|
element are used in the <code>Dependencies</code> page.
|
||||||
Note in particular that the optional <code>comment</code> is generated by a
|
Note in particular that the optional <code>comment</code> and <code>scope</code> entries are generated by
|
||||||
<code><comment></code> element in the <code><properties></code> section.
|
<code><comment></code> and <code><scope></code> elements in the <code><properties></code> section of each dependency.
|
||||||
|
The <code>scope</code> parameter is not used in Maven 1 but it is
|
||||||
|
<a href="http://mavenbook.xwiki.com/xwiki/bin/view/Main/BeMaven2Friendly">recommended</a>
|
||||||
|
to specify it in order to make the transition to Maven 2 easier.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
The contents of the
|
The contents of the
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user