Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Maven, Enunciate and debugging...

I can't find the Maven Discovery option for Eclipse 3.7 Indigo.  I installed Juno 4.2.1 and found it there, but we have people using Indigo-based installs and can't find any Discovery or m2e plugins.

What am I missing?


On Thu, Nov 1, 2012 at 5:59 PM, Johannes Wachter <me@xxxxxxxxxxx> wrote:

Hi,

Did you also install the m2e-wtp integration that one normally uses with Maven WAR projects inside the Eclipse/m2e space.

If not try to install it through Window/Preferences/Maven/Discovery.

Though it could be a problem also with this integration that the web.xml is only present in the target folder.

But since I haven't yet used a setup like yours I'm not sure.

Regards,
Johannes

Am 01.11.2012 18:13 schrieb "Jeff" <predatorvi@xxxxxxxxx>:

...you'd think that would be the case, but it doesn't seem to be unless I'm missing something.  :(  We do have m2e installed and we took a very straight forward Maven project and did the "Import as existing Maven project...".   

We could deploy and debug locally before I added enunciate.  

If I copy the contents of the web.xml that enunciate generated into src/main/webapp/WEB-INF/web.xml, it works fine.

The WAR file deploys to external servers and runs in Tomcat 6 just fine.

Just not within Eclipse environment.


On Thu, Nov 1, 2012 at 10:26 AM, Greg Thomas <greg.d.thomas@xxxxxxxxx> wrote:
On 1 November 2012 16:21, Jeff <predatorvi@xxxxxxxxx> wrote:
> It's not Maven that can't find it.  I'm building and running the app in our
> CD pipeline and in ... <cough>netbeans<cough>.  It is only an issue when
> attempting to run/debug within the eclipse environment.

If you've got m2e installed, then if Maven knows where the correct
web.xml file is then m2e will tell Eclipse where the correct web.xml
is ...

Greg
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



--
I ♥ DropBox !! 


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users




--
Jeff Vincent
predatorvi@xxxxxxxxx
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox !! 


Back to the top