You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2012/01/31 00:11:43 UTC
some words about tomee maven plugin
can be found here:
https://svn.apache.org/repos/asf/openejb/trunk/maven-plugins/tomee-maven-plugin/
goals:
- mvn tomee:help: some help
- mvn tomee:configtest: run configtest on the tomcat
- mvn tomee:deploy -Dtomee-plugin.archive=some-path: deploy the app
located at some-path (tomee-plugin.archive can be replaced by <path> in the
pom)
- mvn tomee:undeploy -Dtomee-plugin.archive: the opposite of deploy
(same note)
- mvn tomee:list: list ejbs deployed
- mvn tomee:run: run and wait the current webapp
- mvn tomee:start: run and forgot tomee deploying current webapp
- mvn tomee:stop: opposite of start
configtest, start, run, stop have these config options:
- tomeeGroupId, tomeeArtifactId, tomeeVersion, tomeeType, tomeeClassifier
- args: jvm args
- debug (boolean), debugPort
- catalinaBase
- systemVariables
- libs: added tom tomcat common classloader
- webapps: added to deployed webapps
note: for libs and webapps it should look
ilke: mysql:mysql-connector-java:5.1.18
sample:
<plugin>
<groupId>org.apache.openejb</groupId>
<artifactId>tomee-maven-plugin</artifactId>
<version>0.0.1-SNAPSHOT</version>
<configuration>
<tomeeVersion>1.0.0-beta-3-SNAPSHOT</tomeeVersion>
<libs>
<lib>mysql:mysql-connector-java:5.1.18</lib>
</libs>
</configuration>
</plugin>
Note: for more info about how to override options by system property have a
look to org.apache.openejb.maven.plugin.AbstractTomEEMojo
- Romain
Re: some words about tomee maven plugin
Posted by David Blevins <da...@gmail.com>.
Maybe add it to the moviefun webapp. Could be neat to show in a demo.
-David
On Jan 30, 2012, at 3:24 PM, Romain Manni-Bucau wrote:
> I didnt dig too much into it but it should be server.xml file. It is a
> tomcat feature, not a tomee one: catalina.sh configtest
>
> - Romain
>
> Le 31 janv. 2012 00:18, "David Blevins" <da...@gmail.com> a écrit :
> What config does configtest test (logging, server.xml, openejb.xml,
> fooservice.properties, etc) and how does it do it?
>
>
> -David
>
>
> On Jan 30, 2012, at 3:11 PM, Romain Manni-Bucau wrote:
>
>> can be found here:
>> https://svn.apache.o...
>> - mvn tomee:help: some help
>> - mvn tomee:configtest: run configtest on the tomcat
>> - mvn tomee:deploy -Dtomee-plugin.archive=some-path: deploy the app
>
>> located at some-path (tomee-plugin.archive can be replaced by <path> in
> the
>> pom)
>> - mvn tomee:undeploy -Dtomee-plugin.archive: the opposite of deploy
>> (same note)
>> - mvn tomee:list: list ejbs deployed
>> - mvn tomee:run: run and wait the current webapp
>> - mvn tomee:start: run and forgot tomee deploying current webapp
>> - mvn tomee:stop: opposite of start
>
>>
>>
>> configtest, start, run, stop have these config options:
>>
>> - tomeeGroupId, tomeeArtifactId, tomeeVersion, tomeeType,
> tomeeClassifier
>> - args: jvm args
>> - debug (boolean), debugPort
>> - catalinaBase
>> - systemVariables
>> - libs: added tom tomcat common classloader
>> - webapps: added to deployed webapps
>
>>
>> note: for libs and webapps it should look
>> ilke: mysql:mysql-connector-java:5.1.18
>>
>> sample...
Re: some words about tomee maven plugin
Posted by Romain Manni-Bucau <rm...@gmail.com>.
I didnt dig too much into it but it should be server.xml file. It is a
tomcat feature, not a tomee one: catalina.sh configtest
- Romain
Le 31 janv. 2012 00:18, "David Blevins" <da...@gmail.com> a écrit :
What config does configtest test (logging, server.xml, openejb.xml,
fooservice.properties, etc) and how does it do it?
-David
On Jan 30, 2012, at 3:11 PM, Romain Manni-Bucau wrote:
> can be found here:
> https://svn.apache.o...
> - mvn tomee:help: some help
> - mvn tomee:configtest: run configtest on the tomcat
> - mvn tomee:deploy -Dtomee-plugin.archive=some-path: deploy the app
> located at some-path (tomee-plugin.archive can be replaced by <path> in
the
> pom)
> - mvn tomee:undeploy -Dtomee-plugin.archive: the opposite of deploy
> (same note)
> - mvn tomee:list: list ejbs deployed
> - mvn tomee:run: run and wait the current webapp
> - mvn tomee:start: run and forgot tomee deploying current webapp
> - mvn tomee:stop: opposite of start
>
>
> configtest, start, run, stop have these config options:
>
> - tomeeGroupId, tomeeArtifactId, tomeeVersion, tomeeType,
tomeeClassifier
> - args: jvm args
> - debug (boolean), debugPort
> - catalinaBase
> - systemVariables
> - libs: added tom tomcat common classloader
> - webapps: added to deployed webapps
>
> note: for libs and webapps it should look
> ilke: mysql:mysql-connector-java:5.1.18
>
> sample...
Re: some words about tomee maven plugin
Posted by David Blevins <da...@gmail.com>.
What config does configtest test (logging, server.xml, openejb.xml, fooservice.properties, etc) and how does it do it?
-David
On Jan 30, 2012, at 3:11 PM, Romain Manni-Bucau wrote:
> can be found here:
> https://svn.apache.org/repos/asf/openejb/trunk/maven-plugins/tomee-maven-plugin/
>
> goals:
>
> - mvn tomee:help: some help
> - mvn tomee:configtest: run configtest on the tomcat
> - mvn tomee:deploy -Dtomee-plugin.archive=some-path: deploy the app
> located at some-path (tomee-plugin.archive can be replaced by <path> in the
> pom)
> - mvn tomee:undeploy -Dtomee-plugin.archive: the opposite of deploy
> (same note)
> - mvn tomee:list: list ejbs deployed
> - mvn tomee:run: run and wait the current webapp
> - mvn tomee:start: run and forgot tomee deploying current webapp
> - mvn tomee:stop: opposite of start
>
>
> configtest, start, run, stop have these config options:
>
> - tomeeGroupId, tomeeArtifactId, tomeeVersion, tomeeType, tomeeClassifier
> - args: jvm args
> - debug (boolean), debugPort
> - catalinaBase
> - systemVariables
> - libs: added tom tomcat common classloader
> - webapps: added to deployed webapps
>
> note: for libs and webapps it should look
> ilke: mysql:mysql-connector-java:5.1.18
>
> sample:
>
> <plugin>
> <groupId>org.apache.openejb</groupId>
> <artifactId>tomee-maven-plugin</artifactId>
> <version>0.0.1-SNAPSHOT</version>
> <configuration>
> <tomeeVersion>1.0.0-beta-3-SNAPSHOT</tomeeVersion>
> <libs>
> <lib>mysql:mysql-connector-java:5.1.18</lib>
> </libs>
> </configuration>
> </plugin>
>
>
> Note: for more info about how to override options by system property have a
> look to org.apache.openejb.maven.plugin.AbstractTomEEMojo
>
> - Romain
Re: some words about tomee maven plugin
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi,
Can you give us the whole stack and maybe a project to reproduce?
- Romain
Le 26 mai 2012 17:52, "djafaka" <kd...@jasmineconseil.com> a écrit :
> Thank you Romain for your fast response...
> I notice also a strange behavior when i want to use the Tomcat connector
> inside Eclipse (instead of sysdeo plugin which work fine) when i want to
> deploy and execute some OpenEJB Maven project with this error (see enclosed
> in my mail).
> Many thanks again for your response.
> Regards
> Karim
>
> 2012/5/26 Romain Manni-Bucau [via OpenEJB] <
> ml-node+s979440n4655118h62@n4.nabble.com>
>
> > http://svn.apache.org/repos/asf/openejb/trunk/openejb/maven/
> >
> > It moves on main trunk
> >
> > - Romain
> > Le 26 mai 2012 14:19, "djafaka" <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=4655118&i=0>>
> > a écrit :
> >
> > > Hi
> > >
> > > The link to the maven-plugins is unavailable:
> > >
> > > Not Found
> > >
> > > The requested URL
> > > /repos/asf/openejb/trunk/maven-plugins/tomee-maven-plugin/
> > > was not found on this server.
> > >
> > > Regards
> > > Karim
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://openejb.979440.n4.nabble.com/some-words-about-tomee-maven-plugin-tp4342919p4655116.html
> > > Sent from the OpenEJB Dev mailing list archive at Nabble.com.
> >
> >
> > ------------------------------
> > If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://openejb.979440.n4.nabble.com/some-words-about-tomee-maven-plugin-tp4342919p4655118.html
> > To unsubscribe from some words about tomee maven plugin, click here<
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4342919&code=a2RqYWFmYXJAamFzbWluZWNvbnNlaWwuY29tfDQzNDI5MTl8MTUwNDAzMDA4Nw==
> >
> > .
> > NAML<
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
>
> --
> Karim DJAAFAR
> *Team Leader*
> http://www.jasmineconseil.com
>
> Tel. 01 30 15 17 25 / Fax 01 30 15 17 35
> Mob. : 06 99 24 18 21
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/some-words-about-tomee-maven-plugin-tp4342919p4655123.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: some words about tomee maven plugin
Posted by djafaka <kd...@jasmineconseil.com>.
Thank you Romain for your fast response...
I notice also a strange behavior when i want to use the Tomcat connector
inside Eclipse (instead of sysdeo plugin which work fine) when i want to
deploy and execute some OpenEJB Maven project with this error (see enclosed
in my mail).
Many thanks again for your response.
Regards
Karim
2012/5/26 Romain Manni-Bucau [via OpenEJB] <
ml-node+s979440n4655118h62@n4.nabble.com>
> http://svn.apache.org/repos/asf/openejb/trunk/openejb/maven/
>
> It moves on main trunk
>
> - Romain
> Le 26 mai 2012 14:19, "djafaka" <[hidden email]<http://user/SendEmail.jtp?type=node&node=4655118&i=0>>
> a écrit :
>
> > Hi
> >
> > The link to the maven-plugins is unavailable:
> >
> > Not Found
> >
> > The requested URL
> > /repos/asf/openejb/trunk/maven-plugins/tomee-maven-plugin/
> > was not found on this server.
> >
> > Regards
> > Karim
> >
> > --
> > View this message in context:
> >
> http://openejb.979440.n4.nabble.com/some-words-about-tomee-maven-plugin-tp4342919p4655116.html
> > Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://openejb.979440.n4.nabble.com/some-words-about-tomee-maven-plugin-tp4342919p4655118.html
> To unsubscribe from some words about tomee maven plugin, click here<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4342919&code=a2RqYWFmYXJAamFzbWluZWNvbnNlaWwuY29tfDQzNDI5MTl8MTUwNDAzMDA4Nw==>
> .
> NAML<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
Karim DJAAFAR
*Team Leader*
http://www.jasmineconseil.com
Tel. 01 30 15 17 25 / Fax 01 30 15 17 35
Mob. : 06 99 24 18 21
--
View this message in context: http://openejb.979440.n4.nabble.com/some-words-about-tomee-maven-plugin-tp4342919p4655123.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: some words about tomee maven plugin
Posted by Romain Manni-Bucau <rm...@gmail.com>.
http://svn.apache.org/repos/asf/openejb/trunk/openejb/maven/
It moves on main trunk
- Romain
Le 26 mai 2012 14:19, "djafaka" <kd...@jasmineconseil.com> a écrit :
> Hi
>
> The link to the maven-plugins is unavailable:
>
> Not Found
>
> The requested URL
> /repos/asf/openejb/trunk/maven-plugins/tomee-maven-plugin/
> was not found on this server.
>
> Regards
> Karim
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/some-words-about-tomee-maven-plugin-tp4342919p4655116.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: some words about tomee maven plugin
Posted by djafaka <kd...@jasmineconseil.com>.
Hi
The link to the maven-plugins is unavailable:
Not Found
The requested URL /repos/asf/openejb/trunk/maven-plugins/tomee-maven-plugin/
was not found on this server.
Regards
Karim
--
View this message in context: http://openejb.979440.n4.nabble.com/some-words-about-tomee-maven-plugin-tp4342919p4655116.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.