MPXDOC-129: add a comment property for dependencies

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@153147 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
felipeal committed 2005-02-10 03:05:31 +00:00
1 parent 7803d5857f
commit 41c70b7c45
5 files changed
+131 -2

No files matched your search

@@ -23,7 +23,7 @@ import org.apache.maven.project.Dependency;
* Dependency wrapper. Adds an url to download and a description.
*
* @author <a href="mailto:michal.maczka@dimatics.com">Michal Maczka</a>
* @version $Id: DescribedDependency.java,v 1.5 2004/09/21 13:47:53 brett Exp $
* @version $Id$
*/
public class DescribedDependency implements Comparable
{
@@ -222,4 +222,11 @@ public class DescribedDependency implements Comparable
return this.getId().compareTo(other.getId());
}
/**
* Delegate method from Dependency.getProperty("comment")
*/
public String getComment() {
return dependency.getProperty("comment");
}
}