Hmmm, this does not help with how to get the maven-metadata.xml for the
current project.  Again, there is not a straightforward API on the
MavenProject that would allow one to do this.  Is there anyway with the
Maven API's to gain access to this information within a plugin.  I have
look at several plugins trying to figure this out and it simply is not
straightforward.

-----Original Message-----
From: Brian E. Fox [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 08, 2007 6:11 AM
To: Maven Developers List
Subject: RE: need help with a maven 2 plugin

You should be able to get most of that from the project object. My
suggestion is to look at the maven-help-plugin:effective-pom code since
it seems close to what you want. 

-----Original Message-----
From: Jason Chaffee [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 07, 2007 7:37 PM
To: [email protected]
Subject: FW: need help with a maven 2 plugin

FYI, I have not gotten any help on the users list and I image at least
one contributor will know how to do what I want to do below within the
context of a plugin.


I would like to create a "build-report-plugin" that is able to report on
the versions, timestamps, artifact types, build numbers, and so on.  I
can write my own custom code to do all of this, but there there has to
be an easier way to reuse the code/components that maven is already
using to download/upload the metadata files.  It seems logical from an
OO perspective that the MavenProject object would have a method that
could do something like this, but I could not find one.  Does anyone
know how what objects to use and how to get a reference to them in the
plugin itself? 

Thanks. 

---------------------------------------------------------------------
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]


---------------------------------------------------------------------
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]

Reply via email to