You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ian Berry <Ia...@yarris.com> on 2007/08/24 04:59:56 UTC

Maven plugin metadata

 

Hi,

 

I am developing a buildinfo plugin, listing all dependencies and plugins
used during a build.

 

For snapshot dependencies, and snapshot plugins, I would like to get the
build timestamp and build number to include in the output.

 

I have successfully gained this metadata information for
snapshot-dependencies, but I can't get the metadata for
snapshot-plugins.

 

To get the plugin artifacts, I use ${project.pluginArtifacts} (or
project.getPluginArtifacts()) 

The artifacts returned, have not metadata attached, i.e.
artifact.getMedatadatalist().size() returns 0;

 

How can I get a build timestamp and build number for a snapshot-plugin? 

In my local repository, the snapshot-plugins have a
maven-metadata-snapshot.xml.

 

 

Ian Berry

J2EE Software Engineer