I'd suggest to add deploy goal to j2ee plugin instead of creating new one (in addition to j2ee and war - may be these two would be merged too?).
> -----Original Message----- > From: Brian Ewins [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 04, 2002 6:37 PM > To: Turbine Maven Users List > Subject: Re: New tomcat plugin > > > Since no-one's replied... here it is. The zip is the source, to go in > jakarta-turbine-maven/src/plugins-build, the jar should work > if dropped > into your plugins directory. Since there is no catalina-ant.jar in > ibiblio, you will need to get one for yourself- download a > release from: > http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4 .1.12/bin/ and copy 'CATALINA_HOME/server/lib/catalina-ant.jar' to 'MAVEN_HOME/repository/tomcat/jars/catalina-ant-4.1.12.jar'. To use it in a project, add something like this to your project.properties: maven.tomcat.url = http://freedonia:8080/manager maven.tomcat.username = flywheel maven.tomcat.password = swordfish (read the tomcat manager how-to!!) and type: maven tomcat:deploy Your webapp will be built and deployed onto the server. There are xdocs for everything if you want more details. The plugin depends on a jar from TC 4.1.12, but some of the manager app functions will work fine on earlier tomcats - see your server docs for details. CAVEAT: this is not an official plugin, so don't rely on this for production scripts unless you're happy that this copy is all you need. -Baz BTW: Is there a reason why there's no 'plugin' plugin? Seems like most of the plugin maven.xml's are the same? Brian Ewins wrote: > I've written a tomcat plugin I'd like to donate, once I'm through > testing. It needs catalina-ant.jar (not on ibiblio as far as I can see). > > Its pretty small and straightforward, since its just a wrapper for the > tomcat ant tasks. Should I just attach it on jira, or...? > > -Baz > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
