Hi, 

This is very easy to reproduce: 
You have an EAR project, a WAR project, a JAR project
EAR depends on WAR and JAR 

What happens is that The M2E dependency resolver will show only the JAR
dependency not the WAR
This is very bad because Eclipse will not see the dependency and therefore,
if you launch an Eclipse Build Project on the EAR, it wiil only lauch the
Build on Jar, and then the EAR, but will forget the WAR

Christian-Luc





Eugene Kuleshov wrote:
> 
> Thomas,
> 
>   Please create jira issue for this and attach test projects along with 
> the step by step instructions how to reproduce it. See some hints at 
> http://docs.codehaus.org/display/M2ECLIPSE/Reporting+Issues
> 
>   BTW, what did you mean by "enable the project references"?
> 
>   regards,
>   Eugene
> 
> 
> Thomas Tardy wrote:
>> Hi all,
>>
>> I have a workspace with an EAR, an EJB, a WAR and several utilty 
>> projects and everything is working well expect that the WAR project 
>> cannot have project references. If I enable the project references on 
>> the WAR project, it loses the dependencies to the artefact in the 
>> workspace. If I disable the project references, the jar references are 
>> being used correctly.
>>
>> Any idea what the problem could be. I don't get any error.
>>
>> Regards,
>> Thomas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Project-References-not-working-for-a-WAR-Project-tp15504482s177p16807924.html
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to