maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alfie Kirkpatrick (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MECLIPSE-380) dependencies in multi-module may projects require a 'mvn install' before using
Date Tue, 06 May 2008 14:33:22 GMT

    [ http://jira.codehaus.org/browse/MECLIPSE-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=133692#action_133692
] 

Alfie Kirkpatrick commented on MECLIPSE-380:
--------------------------------------------

I think this issue can be closed as a duplicate of MNG-3283. This issue is not specifically
related to the eclipse plugin, although that is the context we found it in.

Note that you can work around this issue as siarhei suggested in the maven-users thread by
running 'mvn process-classes eclipse:eclipse' because this goes further in the artifact resolution.

> dependencies in multi-module may projects require a 'mvn install' before using
> ------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-380
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-380
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Improvement
>          Components: Core : Dependencies resolution and build path, Core : Multi-projects
>    Affects Versions: 2.4, 2.5
>         Environment: Maven 2.0.8
>            Reporter: Martin Höller
>
> The scenario is as follows:
> Parent Project P
> |
> +-- Project A
> |
>  `- Project B 
> B has a dependency on A (B requires A).
> A user with an empty local repository cannot checkout the whole project and 
> run 'mvn eclipse:eclipse' due to unsatisfied dependencies. The build will 
> fail in Project B because Project A is missing from the repository.
> A 'mvn install' has to be executed before (at least for Project A). But what 
> if the project is in a state where it doesn't compile? It's not possible in 
> this case for a new user to start developing with eclipse.
> See also http://www.nabble.com/maven-eclipse-plugin-with-multi-module-projects-to15222495s177.html

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