On 05/06/2013 02:53 PM, Greg Thomas wrote: > > I couldn't even find a place to poke for a release to get Tomcat 7 > support in central. > > I believe that's already done on > trunk; https://jira.codehaus.org/browse/MJSPC-49 Right but a release has not been cut in the 7 months since that issue was resolved so if you can't use non-central repositories you have no way to actually do TC7 JSPC.
> > > 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 simply use two different war-plugin profiles; one uses web.xml when > running with m2e (and hence the plugin is disabled) and one uses > jspweb.xml when not running in m2e. But why not work with the existing > plugin maintainers to see if they will accept your patches? I'll make another attempt but I have tried to have a dialog with the plugin maintainers in the past with no luck. There were commits on the project in October of 2012 but there has not been a release cut since September 2008. I'd be more than happy to work with the maintainers if they were at all responsive. -Eric > > Greg > > > On 6 May 2013 20:29, Eric Dalquist <[email protected] > <mailto:[email protected]>> wrote: > > 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] <mailto:[email protected]> >> https://dev.eclipse.org/mailman/listinfo/m2e-users > > > _______________________________________________ > 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
