maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Fox (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MDEP-155) writing classpath into a file doesn't work anymore
Date Thu, 13 Mar 2008 14:09:30 GMT

    [ http://jira.codehaus.org/browse/MDEP-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_127094
] 

Brian Fox commented on MDEP-155:
--------------------------------

The docs are wrong, see here for the correct expression: http://maven.apache.org/plugins/maven-dependency-plugin/build-classpath-mojo.html#cpFile

mdep is just a prefix used to keep the dependency values from conflicting with other plugins.
It is recommended that plugins do this, but most of them don't. You can always check the proper
expression on the goal page like shown above.

> writing classpath into a file doesn't work anymore
> --------------------------------------------------
>
>                 Key: MDEP-155
>                 URL: http://jira.codehaus.org/browse/MDEP-155
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: build-classpath
>    Affects Versions: 2.0
>         Environment: Maven version: 2.0.8
> Java version: 1.5.0_13
> OS name: "mac os x" version: "10.4.11" arch: "i386" Family: "unix"
>            Reporter: Marc Guenther
>            Assignee: Brian Fox
>            Priority: Minor
>
> The following command from the Usage section (http://maven.apache.org/plugins/maven-dependency-plugin/usage.html)
does not work anymore:
> mvn dependency:build-classpath -Dmaven.dep.cpFile=cp.txt
> It writes the classpath to the log, not to the specified file.
> This used to wirk in 2.0-alpha-4.
> Using outputFile doesn't work either.
> Another question: where does the "maven.dep." prefix come from? This isn't documented
anywhere.

-- 
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

        

Mime
View raw message