[m2e-users] Add nature and builder during import

2018-09-14 Thread klaus
Hi all, is it possible to add an additional nature/builder during import of a maven project into eclipse? Do you know any way to do so? Even further; is it possible add nature/builder dependening on parent, dependency or plugins mentioned within the pom file? Any idea is welcome. Thanks, klaus

[m2e-users] WTP support in m2e

2011-07-07 Thread Klaus Reimer
Hello, I just upgraded to Eclipse 3.7 and used the new m2e plugin instead of the old Sonatype m2e. It's working pretty good so far but I wonder if there is already WTP support available. I have some WAR Maven projects and I'd like to deploy them via WTP on a local tomcat. Worked perfectly with the

Re: [m2e-users] Dev build of m2e-wtp 0.13.1 available for testing

2011-07-08 Thread Klaus Reimer
On 07/07/2011 07:17 PM, Fred Bricon wrote: > Please give this dev build a try so we can definitely release 0.13.1 > ASAP and reinstate m2e-wtp in the m2e marketplace. I have a serious problem with it. An existing web application of mine uses code like this to access some files in the WEB-INF direc

[m2e-users] How to catch maven compilation errors in m2e plugin?

2011-07-21 Thread Klaus Reimer
Hello, I wrote a maven plugin which compiles javascript files. This plugin is executed in the "compile" phase and can generate error messages exactly like the javac compiler plugin is doing it (By throwing a CompilationFailureException which encapsulates an array of CompilerError objects). When I

[m2e-users] Supporting custom packaging type without writing a m2e plugin

2011-07-22 Thread Klaus Reimer
Hello, is it possible to use a maven project with m2e which uses a custom packaging type WITHOUT writing a m2e plugin for it? It would be sufficient to simply configure the "compile" goal to execute by configuring the lifecycle-mapping plugin in the pom but this doesn't work because Eclipse alway

Re: [m2e-users] Supporting custom packaging type without writing a m2e plugin

2011-07-22 Thread Klaus Reimer
On 07/22/2011 10:16 AM, Igor Fedorenko wrote: > Are you able to build the project on command line using maven 3.0.2? What is > exact error that you get inside m2e? Sorry, found the problem. Looks like Eclipse got confused (and crashed), maybe because it was using the maven plugin while I replaced

Re: [m2e-users] How to catch maven compilation errors in m2e plugin?

2011-07-22 Thread Klaus Reimer
On 07/21/2011 08:07 PM, Igor Fedorenko wrote: > If you control the maven plugin, then BuildContext from susi-build-api > is the easiest way to associate problem markers with source files. Yes, that works pretty well, thanks! Now I don't even need a m2e plugin. Mapping the custom goals to the execu

Re: [m2e-users] How to catch maven compilation errors in m2e plugin?

2011-07-25 Thread Klaus Reimer
On 07/22/2011 02:06 PM, Vlad Tatavu wrote: > Do u pass in any exception instance when u call buildContext.addMessage() ? No. There is no exception to throw. The JavaScript compiler which I use internally (Closure Compiler) only returns a list of error messages. I call addMessage for each of these