Anders:  Being a contributor this had already occurred to me but I was
hoping for an embedded Tomcat 6 (which doesn't appear to be supported
currently) that would run a war dependency alongside the current war project
for rapid development.  I may come back to Cargo for this yet but I thought
I would try tomcat-m-p first.

Thanks for the suggestion.

-Ryan



On Wed, Jan 12, 2011 at 1:48 AM, Anders Hammar <[email protected]> wrote:

> Try Codehaus Cargo, it should support your use case. If you need help, ask
> on the cargo user list.
>
> /Anders
>
> On Tue, Jan 11, 2011 at 21:56, Ryan Connolly <[email protected]> wrote:
>
> > Hi:
> >      Does anyone happen to know whether it is possible to configure
> > tomcat:run to deploy a defined war dependency as well as run the current
> > project as a dynamic web app in the embedded container?  I've tried
> setting
> > the <addContextWarDependencies>true</addContextWarDependencies>
> > configuration option and have declared a war dependency in the tomcat-m-p
> > but the dependency does not appear to deploy to the embedded container.
> >  Has
> > anyone else tried a similar configuration?  Any advice would be
> > appreciated.
> >  An example of what I thought might work follows:
> >
> >      <plugin>
> >        <groupId>org.codehaus.mojo</groupId>
> >        <artifactId>tomcat-maven-plugin</artifactId>
> >        <version>1.1</version>
> >        <configuration>
> >          <addContextWarDependencies>true</addContextWarDependencies>
> >        </configuration>
> >        <dependencies>
> >          <dependency>
> >            <groupId>com.mycompany</groupId>
> >            <artifactId>war-artifactid</artifactId>
> >            <version>1.0</version>
> >            <type>war</type>
> >          </dependency>
> >        </dependencies>
> >      </plugin>
> >
> >
> > Thanks,
> > -Ryan
> >
>

Reply via email to