Re: tomcat-m-p war dependency

2011-01-14 Thread Ryan Connolly
So it would appear that project war dependencies DO get deployed using
addContextWarDependencies property.  However, the war dependency must have
tomcat declared.  Not only was I unable to find any
documentation on this feature but as you can guess, m3 issues a clear
warning about the use of this unofficial scope.  I've created a JIRA for
this warning as I am guessing m3.1 will disallow this.  This will meet our
needs for the time being so I thought I would post this in case others
desire the same functionality but did not know to use tomcat scope.

http://jira.codehaus.org/browse/MTOMCAT-75
On Jan 13, 2011 3:04 PM, "Ryan Connolly"  wrote:
> Olivier,
> Not sure if you are being alerted of comments on the JIRA or not but in
> case you are not I've commented in more detail there. Thanks for taking a
> look!
> -Ryan
> On Jan 13, 2011 3:33 AM, "Olivier Lamy"  wrote:
>> Hello,
>> I have added a comment in the jira issue.
>> It sounds more reasonnable to have a new mojo for this with a more
>> simple syntax which could executed from the cli.
>>
>> Feel free to add an other comment.
>>
>>
>> Thanks,
>> --
>> Olivier Lamy
>> http://twitter.com/olamy
>> http://www.linkedin.com/in/olamy
>>
>> 2011/1/13 Ryan Connolly :
>>> Ok, my patch has been submitted:
> http://jira.codehaus.org/browse/MTOMCAT-74
>>>
>>> Please do take a peek at it. It would be great to see this in 1.2 if at
> all
>>> possible!
>>>
>>> -Ryan
>>>
>>>
>>> On Tue, Jan 11, 2011 at 5:27 PM, Olivier Lamy  wrote:
>>>
 Patchs are always welcome :-)

 2011/1/11 Ryan Connolly :
 > Thanks for the reply, Olivier. I'll give your suggestion a try.
> Would
 it
 > be worth my time trying to create a patch for this feature or would
 rather
 > just a feature request in JIRA?
 >
 > Thanks again.
 > -Ryan
 > On Jan 11, 2011 5:09 PM, "Olivier Lamy"  wrote:
 >> Hello,
 >> It's not supported currently (btw it's a good idea).
 >> You can use copy goal [1] from dependency plugin to get your
artifact
 >> and use deploy-only mojo from t-m-p
 >>
 >>
 >> [1]
 >

>
http://maven.apache.org/plugins/maven-dependency-plugin/examples/copying-artifacts.html
 >>
 >> 2011/1/11 Ryan Connolly :
 >>> 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 true
 >>> 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:
 >>>
 >>> 
 >>> org.codehaus.mojo
 >>> tomcat-maven-plugin
 >>> 1.1
 >>> 
 >>> true
 >>> 
 >>> 
 >>> 
 >>> com.mycompany
 >>> war-artifactid
 >>> 1.0
 >>> war
 >>> 
 >>> 
 >>> 
 >>>
 >>>
 >>> Thanks,
 >>> -Ryan
 >>>
 >>
 >>
 >>
 >> --
 >> Olivier Lamy
 >> http://twitter.com/olamy
 >> http://www.linkedin.com/in/olamy
 >>
 >>
-
 >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 >> For additional commands, e-mail: users-h...@maven.apache.org
 >>
 >



 --
 Olivier Lamy
 http://twitter.com/olamy
 http://www.linkedin.com/in/olamy

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


>>>
>>
>>
>>
>> --
>> Olivier Lamy
>> http://twitter.com/olamy
>> http://www.linkedin.com/in/olamy
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>


Re: tomcat-m-p war dependency

2011-01-13 Thread Ryan Connolly
Olivier,
  Not sure if you are being alerted of comments on the JIRA or not but in
case you are not I've commented in more detail there.  Thanks for taking a
look!
-Ryan
On Jan 13, 2011 3:33 AM, "Olivier Lamy"  wrote:
> Hello,
> I have added a comment in the jira issue.
> It sounds more reasonnable to have a new mojo for this with a more
> simple syntax which could executed from the cli.
>
> Feel free to add an other comment.
>
>
> Thanks,
> --
> Olivier Lamy
> http://twitter.com/olamy
> http://www.linkedin.com/in/olamy
>
> 2011/1/13 Ryan Connolly :
>> Ok, my patch has been submitted:
http://jira.codehaus.org/browse/MTOMCAT-74
>>
>> Please do take a peek at it.  It would be great to see this in 1.2 if at
all
>> possible!
>>
>> -Ryan
>>
>>
>> On Tue, Jan 11, 2011 at 5:27 PM, Olivier Lamy  wrote:
>>
>>> Patchs are always welcome :-)
>>>
>>> 2011/1/11 Ryan Connolly :
>>> > Thanks for the reply, Olivier.  I'll give your suggestion a try.
 Would
>>> it
>>> > be worth my time trying to create a patch for this feature or would
>>> rather
>>> > just a feature request in JIRA?
>>> >
>>> > Thanks again.
>>> > -Ryan
>>> > On Jan 11, 2011 5:09 PM, "Olivier Lamy"  wrote:
>>> >> Hello,
>>> >> It's not supported currently (btw it's a good idea).
>>> >> You can use copy goal [1] from dependency plugin to get your artifact
>>> >> and use deploy-only mojo from t-m-p
>>> >>
>>> >>
>>> >> [1]
>>> >
>>>
http://maven.apache.org/plugins/maven-dependency-plugin/examples/copying-artifacts.html
>>> >>
>>> >> 2011/1/11 Ryan Connolly :
>>> >>> 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 true
>>> >>> 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:
>>> >>>
>>> >>>  
>>> >>>org.codehaus.mojo
>>> >>>tomcat-maven-plugin
>>> >>>1.1
>>> >>>
>>> >>>  true
>>> >>>
>>> >>>
>>> >>>  
>>> >>>com.mycompany
>>> >>>war-artifactid
>>> >>>1.0
>>> >>>war
>>> >>>  
>>> >>>
>>> >>>  
>>> >>>
>>> >>>
>>> >>> Thanks,
>>> >>> -Ryan
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Olivier Lamy
>>> >> http://twitter.com/olamy
>>> >> http://www.linkedin.com/in/olamy
>>> >>
>>> >> -
>>> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>> >> For additional commands, e-mail: users-h...@maven.apache.org
>>> >>
>>> >
>>>
>>>
>>>
>>> --
>>> Olivier Lamy
>>> http://twitter.com/olamy
>>> http://www.linkedin.com/in/olamy
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>
>>>
>>
>
>
>
> --
> Olivier Lamy
> http://twitter.com/olamy
> http://www.linkedin.com/in/olamy
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>


Re: tomcat-m-p war dependency

2011-01-13 Thread Olivier Lamy
Hello,
I have added a comment in the jira issue.
It sounds more reasonnable to have a new mojo for this with a more
simple syntax which could executed from the cli.

Feel free to add an other comment.


Thanks,
-- 
Olivier Lamy
http://twitter.com/olamy
http://www.linkedin.com/in/olamy

2011/1/13 Ryan Connolly :
> Ok, my patch has been submitted:  http://jira.codehaus.org/browse/MTOMCAT-74
>
> Please do take a peek at it.  It would be great to see this in 1.2 if at all
> possible!
>
> -Ryan
>
>
> On Tue, Jan 11, 2011 at 5:27 PM, Olivier Lamy  wrote:
>
>> Patchs are always welcome :-)
>>
>> 2011/1/11 Ryan Connolly :
>> > Thanks for the reply, Olivier.  I'll give your suggestion a try.  Would
>> it
>> > be worth my time trying to create a patch for this feature or would
>> rather
>> > just a feature request in JIRA?
>> >
>> > Thanks again.
>> > -Ryan
>> > On Jan 11, 2011 5:09 PM, "Olivier Lamy"  wrote:
>> >> Hello,
>> >> It's not supported currently (btw it's a good idea).
>> >> You can use copy goal [1] from dependency plugin to get your artifact
>> >> and use deploy-only mojo from t-m-p
>> >>
>> >>
>> >> [1]
>> >
>> http://maven.apache.org/plugins/maven-dependency-plugin/examples/copying-artifacts.html
>> >>
>> >> 2011/1/11 Ryan Connolly :
>> >>> 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 true
>> >>> 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:
>> >>>
>> >>>      
>> >>>        org.codehaus.mojo
>> >>>        tomcat-maven-plugin
>> >>>        1.1
>> >>>        
>> >>>          true
>> >>>        
>> >>>        
>> >>>          
>> >>>            com.mycompany
>> >>>            war-artifactid
>> >>>            1.0
>> >>>            war
>> >>>          
>> >>>        
>> >>>      
>> >>>
>> >>>
>> >>> Thanks,
>> >>> -Ryan
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Olivier Lamy
>> >> http://twitter.com/olamy
>> >> http://www.linkedin.com/in/olamy
>> >>
>> >> -
>> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> >> For additional commands, e-mail: users-h...@maven.apache.org
>> >>
>> >
>>
>>
>>
>> --
>> Olivier Lamy
>> http://twitter.com/olamy
>> http://www.linkedin.com/in/olamy
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>



-- 
Olivier Lamy
http://twitter.com/olamy
http://www.linkedin.com/in/olamy

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: tomcat-m-p war dependency

2011-01-12 Thread Ryan Connolly
Ok, my patch has been submitted:  http://jira.codehaus.org/browse/MTOMCAT-74

Please do take a peek at it.  It would be great to see this in 1.2 if at all
possible!

-Ryan


On Tue, Jan 11, 2011 at 5:27 PM, Olivier Lamy  wrote:

> Patchs are always welcome :-)
>
> 2011/1/11 Ryan Connolly :
> > Thanks for the reply, Olivier.  I'll give your suggestion a try.  Would
> it
> > be worth my time trying to create a patch for this feature or would
> rather
> > just a feature request in JIRA?
> >
> > Thanks again.
> > -Ryan
> > On Jan 11, 2011 5:09 PM, "Olivier Lamy"  wrote:
> >> Hello,
> >> It's not supported currently (btw it's a good idea).
> >> You can use copy goal [1] from dependency plugin to get your artifact
> >> and use deploy-only mojo from t-m-p
> >>
> >>
> >> [1]
> >
> http://maven.apache.org/plugins/maven-dependency-plugin/examples/copying-artifacts.html
> >>
> >> 2011/1/11 Ryan Connolly :
> >>> 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 true
> >>> 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:
> >>>
> >>>  
> >>>org.codehaus.mojo
> >>>tomcat-maven-plugin
> >>>1.1
> >>>
> >>>  true
> >>>
> >>>
> >>>  
> >>>com.mycompany
> >>>war-artifactid
> >>>1.0
> >>>war
> >>>  
> >>>
> >>>  
> >>>
> >>>
> >>> Thanks,
> >>> -Ryan
> >>>
> >>
> >>
> >>
> >> --
> >> Olivier Lamy
> >> http://twitter.com/olamy
> >> http://www.linkedin.com/in/olamy
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> >> For additional commands, e-mail: users-h...@maven.apache.org
> >>
> >
>
>
>
> --
> Olivier Lamy
> http://twitter.com/olamy
> http://www.linkedin.com/in/olamy
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: tomcat-m-p war dependency

2011-01-12 Thread Ryan Connolly
Olivier,
 I just took a quick look at the current 1.2-SNAPSHOT and it would
appear that most of the work for this indeed has already been done.
 Referring to AbstractRunMojo#createDependencyContexts it seems that there
are a couple of things preventing the configuration I sent in my first post
from actually deploying the war dependency.

   - Set artifacts = project.getArtifacts();
  - The war must be declared as a dependency in the project's
  dependencies element and does not account for plugin dependencies.

  - if ( "war".equals( artifact.getType() ) && !artifact.isOptional() &&
   filter.include( artifact ) )
  - The ScopeArtifactFilter#include call in this line always returns
  false so no artifact will ever be deployed.

I guess what I'd like to know is, would it be OK to change this to also look
at the plugin dependencies and to fix the ScopeArtifactFilter or would you
prefer I create a brand new method for pluginDependencies that does
essentially the same thing as the createDependencyContexts method that looks
only at project dependencies?

Thanks in advance for your advice.
-Ryan



On Tue, Jan 11, 2011 at 5:27 PM, Olivier Lamy  wrote:

> Patchs are always welcome :-)
>
> 2011/1/11 Ryan Connolly :
> > Thanks for the reply, Olivier.  I'll give your suggestion a try.  Would
> it
> > be worth my time trying to create a patch for this feature or would
> rather
> > just a feature request in JIRA?
> >
> > Thanks again.
> > -Ryan
> > On Jan 11, 2011 5:09 PM, "Olivier Lamy"  wrote:
> >> Hello,
> >> It's not supported currently (btw it's a good idea).
> >> You can use copy goal [1] from dependency plugin to get your artifact
> >> and use deploy-only mojo from t-m-p
> >>
> >>
> >> [1]
> >
> http://maven.apache.org/plugins/maven-dependency-plugin/examples/copying-artifacts.html
> >>
> >> 2011/1/11 Ryan Connolly :
> >>> 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 true
> >>> 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:
> >>>
> >>>  
> >>>org.codehaus.mojo
> >>>tomcat-maven-plugin
> >>>1.1
> >>>
> >>>  true
> >>>
> >>>
> >>>  
> >>>com.mycompany
> >>>war-artifactid
> >>>1.0
> >>>war
> >>>  
> >>>
> >>>  
> >>>
> >>>
> >>> Thanks,
> >>> -Ryan
> >>>
> >>
> >>
> >>
> >> --
> >> Olivier Lamy
> >> http://twitter.com/olamy
> >> http://www.linkedin.com/in/olamy
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> >> For additional commands, e-mail: users-h...@maven.apache.org
> >>
> >
>
>
>
> --
> Olivier Lamy
> http://twitter.com/olamy
> http://www.linkedin.com/in/olamy
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: tomcat-m-p war dependency

2011-01-12 Thread Ryan Connolly
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  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  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 true
> > 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:
> >
> >  
> >org.codehaus.mojo
> >tomcat-maven-plugin
> >1.1
> >
> >  true
> >
> >
> >  
> >com.mycompany
> >war-artifactid
> >1.0
> >war
> >  
> >
> >  
> >
> >
> > Thanks,
> > -Ryan
> >
>


Re: tomcat-m-p war dependency

2011-01-11 Thread Anders Hammar
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  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 true
> 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:
>
>  
>org.codehaus.mojo
>tomcat-maven-plugin
>1.1
>
>  true
>
>
>  
>com.mycompany
>war-artifactid
>1.0
>war
>  
>
>  
>
>
> Thanks,
> -Ryan
>


Re: tomcat-m-p war dependency

2011-01-11 Thread Olivier Lamy
Patchs are always welcome :-)

2011/1/11 Ryan Connolly :
> Thanks for the reply, Olivier.  I'll give your suggestion a try.  Would it
> be worth my time trying to create a patch for this feature or would rather
> just a feature request in JIRA?
>
> Thanks again.
> -Ryan
> On Jan 11, 2011 5:09 PM, "Olivier Lamy"  wrote:
>> Hello,
>> It's not supported currently (btw it's a good idea).
>> You can use copy goal [1] from dependency plugin to get your artifact
>> and use deploy-only mojo from t-m-p
>>
>>
>> [1]
> http://maven.apache.org/plugins/maven-dependency-plugin/examples/copying-artifacts.html
>>
>> 2011/1/11 Ryan Connolly :
>>> 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 true
>>> 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:
>>>
>>>      
>>>        org.codehaus.mojo
>>>        tomcat-maven-plugin
>>>        1.1
>>>        
>>>          true
>>>        
>>>        
>>>          
>>>            com.mycompany
>>>            war-artifactid
>>>            1.0
>>>            war
>>>          
>>>        
>>>      
>>>
>>>
>>> Thanks,
>>> -Ryan
>>>
>>
>>
>>
>> --
>> Olivier Lamy
>> http://twitter.com/olamy
>> http://www.linkedin.com/in/olamy
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>



-- 
Olivier Lamy
http://twitter.com/olamy
http://www.linkedin.com/in/olamy

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: tomcat-m-p war dependency

2011-01-11 Thread Ryan Connolly
Thanks for the reply, Olivier.  I'll give your suggestion a try.  Would it
be worth my time trying to create a patch for this feature or would rather
just a feature request in JIRA?

Thanks again.
-Ryan
On Jan 11, 2011 5:09 PM, "Olivier Lamy"  wrote:
> Hello,
> It's not supported currently (btw it's a good idea).
> You can use copy goal [1] from dependency plugin to get your artifact
> and use deploy-only mojo from t-m-p
>
>
> [1]
http://maven.apache.org/plugins/maven-dependency-plugin/examples/copying-artifacts.html
>
> 2011/1/11 Ryan Connolly :
>> 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 true
>> 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:
>>
>>  
>>org.codehaus.mojo
>>tomcat-maven-plugin
>>1.1
>>
>>  true
>>
>>
>>  
>>com.mycompany
>>war-artifactid
>>1.0
>>war
>>  
>>
>>  
>>
>>
>> Thanks,
>> -Ryan
>>
>
>
>
> --
> Olivier Lamy
> http://twitter.com/olamy
> http://www.linkedin.com/in/olamy
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>


Re: tomcat-m-p war dependency

2011-01-11 Thread Olivier Lamy
Hello,
It's not supported currently (btw it's a good idea).
You can use copy goal [1] from dependency plugin to get your artifact
and use deploy-only mojo from t-m-p


[1] 
http://maven.apache.org/plugins/maven-dependency-plugin/examples/copying-artifacts.html

2011/1/11 Ryan Connolly :
> 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 true
> 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:
>
>      
>        org.codehaus.mojo
>        tomcat-maven-plugin
>        1.1
>        
>          true
>        
>        
>          
>            com.mycompany
>            war-artifactid
>            1.0
>            war
>          
>        
>      
>
>
> Thanks,
> -Ryan
>



-- 
Olivier Lamy
http://twitter.com/olamy
http://www.linkedin.com/in/olamy

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



tomcat-m-p war dependency

2011-01-11 Thread Ryan Connolly
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 true
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:

  
org.codehaus.mojo
tomcat-maven-plugin
1.1

  true


  
com.mycompany
war-artifactid
1.0
war
  

  


Thanks,
-Ryan