maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danny Schimke <>
Subject Write dependency information to a file (new custom plugin)
Date Wed, 16 Jan 2013 19:33:46 GMT

for 3 years now I have no more experience with Maven. But today I got a
challenge. I have to resolve the projects dependencies and write those into
a file. There already a template file exists with placeholders where to
replace with the dependencies. Finally the file will be copied to a
specified directory. The output should be plain text as well XML depending
upon the POMs configuration. It should be possible to configure in the pom
which artifacts are written/captured. Important is to gather the version of
depending artifacts in a file.

Entire thoughts were to write a new maven plugin. But then I need to call
the dependency:resolve plugin within my plugin and use its result to
achieve my goal. How can I do this?

Are there other possible and good solutions to do it (maybe using Groovy
script and call "mvn" on command line)?

Thanks a lot!

Mit freundlichen Grüßen / Kind regards
-Danny Schimke*

Place To Remember* (Android- App) - *Free* - *Donate*

Viel Spaß und vielen Dank!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message