Take a look in the same link below. In the resolvers/ subfolder is a mojo to resolve project plugins and their dependencies, the code you want would be in there.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 13, 2006 5:12 AM To: Maven Developers List Subject: Re: Determine the path to a JAR file "Dan Tran" <[EMAIL PROTECTED]> schrieb am 12.10.2006 12:14:47: > > How do I determine the absolute path for a JAR in the repository? > http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-dependency-plu gin > > Look for Copy Artifact/Dependency, etc That's only for project dependencies. I need to find the dependencies of myself (where self == report plugin)! I tried to find myself in getProject().getReportArtifactMap() which works but the Artifact returned contains almost no information (getFile() is null, for example, the list of dependencies is empty, the metadata is empty, ...) The next idea was to browse the Repositories but how do I ask a repository for an artifact? (Note: this artifact is *not* in the dependency list of the current POM!) Regards, -- Aaron Digulla --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]