|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
Maven2 plugin - new features
by jan_bartel
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message For those that are interested:
A new snapshot 20060215.095015-22 has been pushed to the mortbay repository. It is a significant refactoring of the plugin implementation which is intended to allow the jetty5 plugin from the mojo project at codehaus to share the same functionality. More on that in a later post. Most importantly, the snapshot supports 2 new goals and some new configuration parameters. The goals are now: jetty6:run jetty6:run-war *new* jetty6:run-exploded *new* The "run-war" goal will first assemble your webapp into a war and then deploy it to jetty6. This is useful if your webapp is complex to build and executing the "compile" phase isn't sufficient. As with the "run" goal, you can specify a scan interval to keep Jetty watching the pom.xml and war file for changes and automatically redeploy it if changes are detected (eg if you execute mvn war:war in a different window). The "run-exploded" goal will assembled your webapp into its exploded form and deploy it to jetty6. As with the "run" goal, you can specify a scan interval to keep jetty watching WEB-INF and your pom.xml and automatically redeploy if changes are detected. The plugin now also supports the optional configuration parameter <jettyConfig/> which is the location of a jetty.xml file. This file will be applied to jetty *before* any plugin configuration. You can use the jetty.xml file to configure any additional jetty objects: connectors, realms, handlers, webapps etc. This is useful, for example, if you have a static webapp which is not part of your maven build but you need deployed to test. The documentation on the jetty6 plugin website has not yet been updated, but I'm working on it. In the meantime, I'd appreciate any feedback from the list about the new snapshot. cheers Jan ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Jetty-announce mailing list Jetty-announce@... https://lists.sourceforge.net/lists/listinfo/jetty-announce |
| Free embeddable forum powered by Nabble | Forum Help |