Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Is there a "canonical" pom example for a project that builds a war file and also works in eclipse wtp?

Heh, heh, thanks, Fred.


All my wounds turn out to have been self-inflicted dating back from a time when I didn’t understand what the hell I was doing.  Sanity was restored entirely by removing various plugin sections of the POM.  Why did I ever think that copying resources back into src (and then carefully tagging them svn:ignore) was a good idea?  None of it was necessary.


From: Fred Bricon [mailto:fbricon@xxxxxxxxx]
Sent: Thursday, February 17, 2011 9:28 AM
To: Maven Integration for Eclipse users mailing list
Subject: Re: [m2e-users] Is there a "canonical" pom example for a project that builds a war file and also works in eclipse wtp?


You should try out one of the numerous webapp archetypes out there.

Start with webapp-jee5 (or webapp-jee6) from codehaus. If you need more advanced setups, well google is your friend. Or type webapp in the maven project wizard page, as the name of the archetype.

If it can help you, I made a 5min video some time ago, to demo the use of archetypes in m2eclipse-wtp :


Fred Bricon

On Thu, Feb 17, 2011 at 3:12 PM, COHEN, STEVEN M (ATTSI) <sc1478@xxxxxxx> wrote:

I have a bit of a mess on my hands.  I have a very brittle setup that
works from the command line if all the parameters are right, but not
otherwise.  It was designed to work also within wtp/eclipse at one point
in time but has not worked for a number of months with all the
maven/m2eclipse upgrading that has gone on and frankly, I no longer
understand my own pom.  It uses the maven war plugin and the maven
dependency plugin and I'm quite sure it's not correct.

If I had a good starting point to compare with, this might be the best
way for me to get out of this situation.

m2e-users mailing list

"Have you tried turning it off and on again" - The IT Crowd

Back to the top