On 14/09/05, Ashley Williams <[EMAIL PROTECTED]> wrote: > Mark, I see what you mean about autodeducing the war file with a pure > maven plugin. However wouldn't it be easier to write a mapping layer > that passes the maven war location to the ant task and any other > properties too? > > So instead of writing the tomcat plugin from scratch, you would > simply wrap the ant tomcat bean with a maven ant adapter together > with a property/xml file describing the map from maven to ant bean > properties. [snip]
This is what John was describing above with regard to an ant adapter. I could have done this with the tomcat plugin, but after looking at the tomcat ant tasks I decided they were too tied in with ant. The core of the maven tomcat plugin is maven-independent (TomcatManager.java) and would ideally be shared between the maven plugin and the ant tasks. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
