You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by solo1970 <so...@ericsson.com> on 2009/04/30 17:58:52 UTC

dependency plugin "outputFile" parameter not working...

Hello All,

I'm having trouble re-directing the output of the dependency:tree goal to a
file.
I use the following on the command-line:

mvn dependency:tree -DoutputFile:"C:\TMP\out.txt"

As I look into the file only one line is in there (main artifact) and not
all the tree...

Am I doing something wrong? Anyone else have that problem?  I'm using
version 2.1 of the plugin

Sonia
P.S., If I remove the -DoutputFile, then the output on the screen is the
correct complete tree
-- 
View this message in context: http://www.nabble.com/dependency-plugin-%22outputFile%22-parameter-not-working...-tp23319273p23319273.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: dependency plugin "outputFile" parameter not working...

Posted by solo1970 <so...@ericsson.com>.
Because the I end up with other outputs I don't need, like

Reactor Summary, BUILD SUCCESSFUL,....

Sonia



Wayne Fay wrote:
> 
>> mvn dependency:tree -DoutputFile:"C:\TMP\out.txt"
> 
> Why not just use "mvn dependency:tree > c:\tmp\out.txt"?
> 
> Wayne
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/dependency-plugin-%22outputFile%22-parameter-not-working...-tp23319273p23320191.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: dependency plugin "outputFile" parameter not working...

Posted by Wayne Fay <wa...@gmail.com>.
> mvn dependency:tree -DoutputFile:"C:\TMP\out.txt"

Why not just use "mvn dependency:tree > c:\tmp\out.txt"?

Wayne

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