You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Dennis Lundberg <de...@apache.org> on 2010/02/24 21:54:15 UTC

Re: maven dependendcy plugin bug and request for xml output

On 2010-02-24 15:16, Varwig, Britta wrote:
> Hello, 
> I would like to use the maven-dependency-plugin to get a program-consumable output (eg. an xml file would be nice).
> 
> The option  -DoutputFile=c:\Myoutput.txt does not work correctly for modul projects (nor for dependency:list nor for dependency:tree). 
> Each pom dose overwrite c:\Myoutput.txt. After the run, I only find the information of the last project in c:\Myoutput.txt and the other info is lost. 

That is what I would expect, since every module uses the same file in
your example.

> Is there some workaround suggestion?

I'd suggest that you specify a relative path instead. Something like this:

-DoutputFile=target\Myoutput.txt

> Do you plan to implement some xml-output, so that the result is match easier to consume by any program?
> 
> Regards Britta
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org