maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pete <>
Subject Re: [m2] Eclipse webapp lib
Date Sun, 30 Oct 2005 11:37:16 GMT
I noticed that if you use the mvn eclipse:eclipse  and execute from
the parent pom all works ok, in that the .project files have the
correct references to dependant Eclipse Projects e.g.

my web app .project file has the follwoing :-


showing the dependancies.

However, strangely if I execute mvn eclipse:eclipse from the web apps
pom.xml , the .project file gets generated but without the above

I have checked that the web app pom.xml has a <parent>  and it does. I
guess the reactor isn't working when used from the child ?

On 28/10/05, Srepfler Srgjan <> wrote:
> Hi Brian,
> I'm writing in relation to the j2ee artifact that was released and the
> maven-eclipse-plugin patch that you wrote. If I didn't understand
> wrongly it might be possible to put all projects on one level and then
> reference the modules in the main pom in a relative way like:
> <modules>
>  <module>
>    ../child-project1
>  </module>
>  <module>
>    ../child-project2
>  </module>
> </modules>
> So perhaps the eclipse plugin should also have the role of flattening
> hierarchical projects?
> That way it would be unnecessary to fork the j2ee archetype and
> maven-eclipse-plugin  would know what would it need to be done.
> Brian Bonner wrote:
> >Hi guys,
> >
> >I was able to get the project to install with the required
> >dependencies of servlet on primary-sources and logging.
> >
> >I'm not sure about the EAR because I haven't created an EAR project in
> >the WTP.  I've mostly done dynamic web projects.  I use
> >spring/hibernate and have stayed clear of the packaging.  I haven't
> >used j2ee clients per se.
> >
> >To get the web side working, I needed to add a build section to the
> >j2ee web's POM and the patch to EclipsePlugin *was* required.
> >
> >It also needed a base web.xml included in the tree to get the project
> >to load in tomcat.   I think this should be added anyway as part of
> >the archetype.
> >
> >Brian
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> >For additional commands, e-mail:
> >
> >
> >
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message