Dependency report was completely rewritten. Report generator is now aware of notion of type and groupId.

In addition URL and Description (which was also added to the report)
of the dependency can be retrieved from its POM if there is one in the local repository
    
Documentation of goals ported to new dedicated format
  
Update to maven 1.0-beta-10


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113726 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
michal committed 2003-07-25 22:47:30 +00:00
1 parent bd1e2aa537
commit b454fc7ff7
7 files changed
+465 -64

No files matched your search

@@ -16,28 +16,42 @@
<p>
The following is a list of dependencies for this project. These
dependencies are required to compile and run the application:
</p>
<table>
<tr>
<th>ID</th>
<th>Version</th>
<th>JAR</th>
</tr>
#foreach ($dep in $project.dependencies)
<tr>
<td>
#if ($dep.url && $dep.url.length() != 0)
<a href="$escape.getText($dep.url)">$!dep.groupId</a>
#else
$!dep.groupId
#end
</td>
<td>$!dep.version</td>
<td>$!dep.artifact</td>
</tr>
#end
</table>
#end
</section>
</body>
</p>
#foreach ($dep in $dependencyDescriber.Dependencies)
<subsection name="${dep.Id}">
<table>
<tr>
<th width="10%">Group ID</th>
<td>${dep.GroupId}</td>
</tr>
<tr>
<th>Artifact ID</th>
<td>${dep.ArtifactId}</td>
</tr>
<tr>
<th>Type</th>
<td>${dep.Type}</td>
</tr>
<tr>
<th>Version</th>
<td>${dep.Version}</td>
</tr>
#if ($dep.Url)
<tr>
<th>URL</th>
<td><a href="${dep.Url}">${dep.Url}</a></td>
</tr>
#end
#if ($dep.Description)
<tr>
<th>Description</th>
<td>${dep.Description}</td>
</tr>
#end
</table>
</subsection>
#end
#end
</section>
</body>
</document>