maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: tomcat-m-p war dependency
Date Thu, 13 Jan 2011 08:32:43 GMT
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 <rynam0@gmail.com>:
> 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 <olamy@apache.org> wrote:
>
>> Patchs are always welcome :-)
>>
>> 2011/1/11 Ryan Connolly <rynam0@gmail.com>:
>> > 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" <olamy@apache.org> 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 <rynam0@gmail.com>:
>> >>> 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
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Olivier Lamy
>> >> http://twitter.com/olamy
>> >> http://www.linkedin.com/in/olamy
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >> For additional commands, e-mail: users-help@maven.apache.org
>> >>
>> >
>>
>>
>>
>> --
>> Olivier Lamy
>> http://twitter.com/olamy
>> http://www.linkedin.com/in/olamy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>



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

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


Mime
View raw message