You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Barrie Treloar (JIRA)" <ji...@codehaus.org> on 2007/11/15 23:52:25 UTC

[jira] Commented: (MECLIPSE-32) Allow for forcing the creation of direct project references for dependencies

    [ http://jira.codehaus.org/browse/MECLIPSE-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_113969 ] 

Barrie Treloar commented on MECLIPSE-32:
----------------------------------------

I tried using -r to specify the includes and it is finding projects that are not defined as modules in my pom.

I tried an equivalence test:
i.e.
  mvn eclipse:eclipse
should be equivalent to
  mvn eclipse:eclipse -r -Dmaven.reactor.includes=pom.xml
also tried
  mvn eclipse:eclipse -r '-Dmaven.reactor.includes=\full\windows\path\to\pom.xml'
(which required quoting to avoid backslash issues.

But neither of the -r options work.

I also can find no documentation on the -r option.  Which makes me reluctant to use this solution here and on MECLIPSE-229


> Allow for forcing the creation of direct project references for dependencies
> ----------------------------------------------------------------------------
>
>                 Key: MECLIPSE-32
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-32
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Improvement
>          Components: multiproject
>    Affects Versions: 2.0
>            Reporter: Barry Kaplan
>
> For some thirdparty dependencies, it is common (for me at least) that an eclipse project for that dependency does/will exist in the workspace. It would be nice if dependencies in eclipse projects can be forced to use a direct project reference.  eg:
>    <dependency>
>         <groupId>backport-util-concurrent</groupId>
>         <artifactId>backport-util-concurrent</artifactId>
>         <version>2.0_01_pd</version>
>         <scope>runtime</scope>
>         <properties>
>             <property name="eclipse.dependencyType" value="XXXX"/>
>         </properties>
>     </dependency>
> Where XXXX can be: 
>  - 'project' -- always create a project reference
>  -  'jar' -- always create a jar reference as in MNG-955
>  - 'auto' -- the behavior prior to MNG-955

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