Thanks for the response. I'm actually forking the codehaus JSPC plugin as I couldn't even find a place to poke for a release to get Tomcat 7 support in central. I'm also addressing the fact that the plugin is not currently thread-safe and a few other minor issues.
The links for the compatible plugins wiki page is helpful as is the eclipse bug pointing out the problem with the missing jspweb.xml file, I'll see if I can come up with a solution for the plugin that works transparently for the project. Perhaps detecting M2E and simply copying the web.xml to jspweb.xml if the build is running from eclipse. -Eric On 05/06/2013 01:19 PM, Greg Thomas wrote: > Firstly, be aware, if you're not already, that a plugin for > JSPC compilation already > exists; http://mojo.codehaus.org/jspc/index.html / > http://mojo.codehaus.org/jspc/jspc-maven-plugin/usage.html > > > The current release, 2.0-alpha-3, despite the alpha label is stable > and runs fine; it works with Tomcat 5 and Tomcat 6. The trunk also > works with Tomcat 7, but isn't packaged up formally yet. > > There's also a ticket open for this plugin on M2E integration > - http://jira.codehaus.org/browse/MJSPC-56 - that has links to the > relevant page, namely http://wiki.eclipse.org/M2E_compatible_maven_plugins > > However, I find it just as easy to simply disable the JSPC compilation > when running under M2E; it also aids with debugging. > See https://bugs.eclipse.org/bugs/show_bug.cgi?id=356311 for details > of how this works for the afore mentioned plugin - you may find it > easier to simply use this technique. either explicitly with another > profile, or by detecting the presence of M2E within your plugin. > > HTH, > > Greg > > > On 6 May 2013 17:41, Eric Dalquist <[email protected] > <mailto:[email protected]>> wrote: > > I'm working on an update JSP compilation plugin and wondering how best > to make sure it plays nice with m2e. The plugin takes the JSP > files and > generates java code, compiles that java code into class files, copies > those into the output directory and then modifies the web.xml file. > > The plugin binds to process-classes to do all of the > compilation/generation. > > Are there things I should/should not do to get this plugin to nicely > integrate into m2e? > > Thanks, > -Eric > > > _______________________________________________ > m2e-users mailing list > [email protected] <mailto:[email protected]> > https://dev.eclipse.org/mailman/listinfo/m2e-users > > > > > _______________________________________________ > m2e-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/m2e-users
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
