You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Basil James Whitehouse III (JIRA)" <ji...@codehaus.org> on 2008/04/02 17:12:58 UTC

[jira] Created: (MDEP-161) dependy:resolve-plugins doesn't output to file when using outputFile parameter

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

        

[jira] Closed: (MDEP-161) dependy:resolve-plugins doesn't output to file when using outputFile parameter

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MDEP-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Tran closed MDEP-161.
-------------------------

       Resolution: Fixed
    Fix Version/s: 2.2
         Assignee: Dan Tran  (was: Brian Fox)

Fixed at 

Revision: 894988
Author: dantran
Date: 2:14:27 AM, Friday, January 01, 2010
Message:
[MDEP-161] Implement outputFile configuration in dependency:resolve-plugins goal
----
Modified : /maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/resolvers/ResolvePluginsMojo.java



> 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: Dan Tran
>             Fix For: 2.2
>
>
> 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

        

[jira] Commented: (MDEP-161) dependy:resolve-plugins doesn't output to file when using outputFile parameter

Posted by "Nedko Hristov (JIRA)" <ji...@codehaus.org>.
    [ 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