[ 
http://jira.codehaus.org/browse/MDEP-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=186838#action_186838
 ] 

Nedko Hristov commented on MDEP-161:
------------------------------------

I came upon the same problem. The documentation specifies that the option is 
valid and working:
http://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html#outputFile
I tried both full and relative paths and neither works correctly. Unfortunately 
the description does not provide any examles. A workaround will be to use the 
following command for generating output:
mvn dependency:tree > foo.txt
Unfortunately that will include the unnecessary extra reactor information that 
you probably don't need.

> dependy:resolve-plugins doesn't output to file when using outputFile parameter
> ------------------------------------------------------------------------------
>
>                 Key: MDEP-161
>                 URL: http://jira.codehaus.org/browse/MDEP-161
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: resolve-plugins
>    Affects Versions: 2.0
>         Environment: $ mvn --version
> Maven version: 2.0.8
> Java version: 1.6.0_03
> OS name: "linux" version: "2.6.22-14-generic" arch: "i386" Family: "unix"
>            Reporter: Basil James Whitehouse III
>            Assignee: Brian Fox
>
> The dependency:tree and dependency:resolve goals output to file when there's 
> an outputFile parameter.  The 
> [documentation|http://maven.apache.org/plugins/maven-dependency-plugin/resolve-plugins-mojo.html#outputFile|documented]
>  for resolve-plugins indicates it's possible, but running {{mvn 
> dependency:resolve-plugins -DoutputFile=plugin-dep.txt}} only outputs to the 
> console.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to