Jörg Schaible wrote:
Srepfler Srgjan wrote on Monday, October 09, 2006 4:17 PM:

I perhaps explained incorrectly, my War has a dependency on the EJB
module, not on the EAR and I declare it in the War.
What happens is that the eclipse:eclipse task links the library
installed in the repo not the eclipse project. Did this make
more sense?
<dependency>
      <groupId>it.linksystem.csai</groupId>
      <artifactId>CSAIEJB</artifactId>
      <type>ejb</type>
      <scope>provided</scope>
</dependency>

You must generate both eclipse project files with the same maven call. Only 
then inter-project links are geneareted (and the artifact's version must match).

- Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


It seems I made references between projects now but the issue that the EAR has also the Java facet (version 1.4) still remains. I use the snapshots eclipse plugin.
When I looked at org.eclipse.wst.common.project.facet.core.xml file I found:
<faceted-project>
 <runtime name="*JBoss v4.0*" />
 <fixed facet="*jst.ear*" />
 <fixed facet="*jst.java*" />
 <installed facet="*jst.ear*" version="*1.3*" />
 <installed facet="*jst.java*" version="*1.4*" />
</faceted-project>

and also in the project properties in the faces window I get that EAR 1.3 and Java 1.4 cannot be both selected. It seems that the plugin wrongly adds that facet to the project.
Srgjan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to