Thanks Fred! That was exactly the needed understanding. The easy answer for us is to set the Tomcat version as well, since this app does not have a web.xml (I added this as an answer).
On Fri, Dec 12, 2014 at 4:16 PM, Fred Bricon <[email protected]> wrote: > > The Web Facet is set by m2e-wtp for war projects. It tries to infer the > Facet version from WEB-INF/web.xml if it exists. Else it will look for > servlet-api classes in the classpath[1]. For spring-boot projects, seems > the servlet api is embedded into tomcat-core (I just made a quick test) > > So your best option to have the version downgraded permanently to 3.0, is > to add the appropriate web.xml, for now. You could still disable Java EE > Integration in your maven preferences but that will likely cause other > issues at deploy time. > > [1] > http://git.eclipse.org/c/m2e-wtp/org.eclipse.m2e.wtp.git/tree/org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/WarPluginConfiguration.java#n243 > > Fred > > On Fri, Dec 12, 2014 at 1:09 PM, Jeff Jensen <[email protected]> wrote: >> >> I very much appreciate your fast replies. >> >> >> On Fri, Dec 12, 2014 at 12:03 PM, Igor Fedorenko <[email protected]> >> wrote: >>> >>> Again, m2e does not know anything about Spring directly. It delegates to >>> one of extensions based on lifecycle mapping meradata they provide, but the >>> rest is up to the extension. >>> >>> On December 12, 2014 12:57:25 PM EST, Jeff Jensen <[email protected]> >>> wrote: >>> >Thank you Igor. Yes, I wasn't thinking that m2e knew about Spring... >>> >I'm >>> >thinking either Spring Boot 1.2 exposes something (incorrectly?) that >>> >m2e >>> >sees and then configures the facet to 3.1 or it's correct and I need to >>> >configure one or more settings to make m2e set to 3.0. >>> > >>> >How does m2e decide which version to set "Dynamic Web Project" to? In >>> >an >>> >extension or core? >>> >Is there a Maven plugin setting that affects it (e.g. I didn't detect >>> >anything on the war plugin that would)? >>> > >>> > >>> >On Fri, Dec 12, 2014 at 11:22 AM, Igor Fedorenko <[email protected]> >>> >wrote: >>> >> >>> >> m2e does not know anything about Spring. It must be one of m2e >>> >extensions. >>> >> >>> >> On December 12, 2014 12:19:10 PM EST, Jeff Jensen >>> ><[email protected]> >>> >> wrote: >>> >> >Is there an m2e setting that will help with this or is it a Spring >>> >Boot >>> >> >issue/change needed? >>> >> > >>> >> > >>> >> >>> > >>> https://stackoverflow.com/questions/27447077/how-to-configure-spring-boot-1-2-0-for-servlet-3-0-and-have-m2e-set-eclipse-face >>> >> > >>> >> > >>> >> >>> >>> >>------------------------------------------------------------------------ >>> >> > >>> >> >_______________________________________________ >>> >> >m2e-users mailing list >>> >> >[email protected] >>> >> >To change your delivery options, retrieve your password, or >>> >unsubscribe >>> >> >from this list, visit >>> >> >https://dev.eclipse.org/mailman/listinfo/m2e-users >>> >> >>> >> -- >>> >> Sent from my Android device with K-9 Mail. Please excuse my brevity. >>> >> >>> >>> -- >>> Sent from my Android device with K-9 Mail. Please excuse my brevity. >>> >> >> _______________________________________________ >> m2e-users mailing list >> [email protected] >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://dev.eclipse.org/mailman/listinfo/m2e-users >> > > > -- > "Have you tried turning it off and on again" - The IT Crowd > > _______________________________________________ > m2e-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/m2e-users >
_______________________________________________ m2e-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/m2e-users
