I think the best option is creating a modular project. Then, you can importa
modules as eclipse projects. Try this, I think this must work.

2009/10/19 taffb <jbass...@gmx.de>

>
> Hello,
> I’m sure this is quiet easily answered I’m just missing something pretty
> trivial.
>
> I have two projects in eclipse “ProjectA” and “ProjectB”. ProjectA produces
> a .jar.
> ProjectB produces a .war. However the .war from project requires the .jar
> from ProjectA.
>
> I added the .jar as a dependency in Project B and works fine. But what I
> would like is that when I execute (for example) jetty:run on the pom of
> Project B that the . jar in projectA gets built as well.
> How do I do this?
>
> Thanks in advance,
>
> Julian
>
> --
> View this message in context:
> http://www.nabble.com/Two-projects-in-eclipse-together-tp25954433p25954433.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>



-- 
"Computer science is not about computers any more than astronomy is about
telescopes." E.W. Dijkstra (1930-2002)

Reply via email to