You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by mauro2java2011 <ma...@gmail.com> on 2016/07/07 11:41:34 UTC

test with tomee-embedded and arqillan tomee-embedded adaptor

Hi all. 
I have create a maven web app from the web- tomee arvhetype. 
Now i would try to add some test with arquillan embedded. 
I ave noted   into pom.xml tge commented dependencies forbuse of openejb
emvedded and tomee remote adapter. 
I would use the tomee embedded (not openejb) . 
I have so added the dependencues for tomee-embedded adaptor 7.01 and
tomee-embeddded. 
But i have to specify zip or no? 
Exist a exampke with arquillan and tomee-embedded already working ?





--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/test-with-tomee-embedded-and-arqillan-tomee-embedded-adaptor-tp4679250.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: test with tomee-embedded and arqillan tomee-embedded adaptor

Posted by Romain Manni-Bucau <rm...@gmail.com>.
only groupId changed in term of coordinates
(org.apache.tomee/org.apache.openejb)


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2016-07-07 14:41 GMT+02:00 mauro2java2011 <ma...@gmail.com>:

> But if i would use the tomee-embedded and arquillan-tomee-embedded-adaptor
> with tomee embedded 1.7.4 for example , how modify the dependencies?
>
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/test-with-tomee-embedded-and-arqillan-tomee-embedded-adaptor-tp4679250p4679255.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Re: test with tomee-embedded and arqillan tomee-embedded adaptor

Posted by mauro2java2011 <ma...@gmail.com>.
But if i would use the tomee-embedded and arquillan-tomee-embedded-adaptor
with tomee embedded 1.7.4 for example , how modify the dependencies?




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/test-with-tomee-embedded-and-arqillan-tomee-embedded-adaptor-tp4679250p4679255.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: test with tomee-embedded and arqillan tomee-embedded adaptor

Posted by Romain Manni-Bucau <rm...@gmail.com>.
2016-07-07 17:09 GMT+02:00 mauro2java2011 <ma...@gmail.com>:

> but the plugin
>
>  <plugin>
>         <groupId>org.apache.tomee.maven</groupId>
>         <artifactId>tomee-embedded-maven-plugin</artifactId>
>         <version>${tomee.version}</version>
>         <dependencies>
>           <dependency>
>             <groupId>org.apache.tomee</groupId>
>             <artifactId>apache-tomee</artifactId>
>             <version>${tomee.version}</version>
>           </dependency>
>         </dependencies>
>       </plugin>
>
>
Will not do anything


> is not available for tomee 1.7.4 ???
>
> so ican  have to use the tomee-maven-plugin with other modifies?
>
>
>
Not sure what you ask.

tomee-embedded plugin can be used with tomee 7 only but you can add missing
dependencies from tomee 7 if you need additional features.

Easiest is to dev with tomee 7 and deploy in tomee 1 if you want to use
embedded version.


>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/test-with-tomee-embedded-and-arqillan-tomee-embedded-adaptor-tp4679250p4679257.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Re: test with tomee-embedded and arqillan tomee-embedded adaptor

Posted by mauro2java2011 <ma...@gmail.com>.
but the plugin 

 <plugin>
        <groupId>org.apache.tomee.maven</groupId>
        <artifactId>tomee-embedded-maven-plugin</artifactId>
        <version>${tomee.version}</version>
        <dependencies>
          <dependency>
            <groupId>org.apache.tomee</groupId>
            <artifactId>apache-tomee</artifactId>
            <version>${tomee.version}</version>
          </dependency>
        </dependencies>
      </plugin>

is not available for tomee 1.7.4 ??? 

so ican  have to use the tomee-maven-plugin with other modifies?




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/test-with-tomee-embedded-and-arqillan-tomee-embedded-adaptor-tp4679250p4679257.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: test with tomee-embedded and arqillan tomee-embedded adaptor

Posted by Romain Manni-Bucau <rm...@gmail.com>.
2016-07-07 14:08 GMT+02:00 mauro2java2011 <ma...@gmail.com>:

> What it is the following dep?
>
> <dependency>      <groupId>org.apache.tomee</groupId>
> <artifactId>ziplock</artifactId>      <version>${tomee.version}</version>
> <scope>test</scope>    </dependency>
>
> Ziplock?
>
>
A helper for shrinkwrap allowing to get dependencies from classpath for
instance or wrapping shrinkwrap maven extension to make it easier to use.


> From the link you have put into response i have read into pom tgat now is
> present a tomee-embedded-maven plugin.
> Only from tomee7 ?
>
>
yes


> It work different that tomed-maven plugin not embedded?
>
>
they are a bit different:
http://tomee.apache.org/ng/developer/tools/maven-plugins.html


>
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/test-with-tomee-embedded-and-arqillan-tomee-embedded-adaptor-tp4679250p4679253.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Re: test with tomee-embedded and arqillan tomee-embedded adaptor

Posted by mauro2java2011 <ma...@gmail.com>.
What it is the following dep? 

<dependency>      <groupId>org.apache.tomee</groupId>     
<artifactId>ziplock</artifactId>      <version>${tomee.version}</version>     
<scope>test</scope>    </dependency>

Ziplock? 

From the link you have put into response i have read into pom tgat now is
present a tomee-embedded-maven plugin.
Only from tomee7 ?  

It work different that tomed-maven plugin not embedded?





--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/test-with-tomee-embedded-and-arqillan-tomee-embedded-adaptor-tp4679250p4679253.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: test with tomee-embedded and arqillan tomee-embedded adaptor

Posted by Romain Manni-Bucau <rm...@gmail.com>.
2016-07-07 13:41 GMT+02:00 mauro2java2011 <ma...@gmail.com>:

> Hi all.
> I have create a maven web app from the web- tomee arvhetype.
> Now i would try to add some test with arquillan embedded.
> I ave noted   into pom.xml tge commented dependencies forbuse of openejb
> emvedded and tomee remote adapter.
> I would use the tomee embedded (not openejb) .
> I have so added the dependencues for tomee-embedded adaptor 7.01 and
> tomee-embeddded.
> But i have to specify zip or no?
>

no


> Exist a exampke with arquillan and tomee-embedded already working ?
>
>
>
https://github.com/apache/tomee/blob/ed4b3e976f35d4cb4a3b1c7263fcedaac9f61eaa/examples/change-jaxws-url/pom.xml


>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/test-with-tomee-embedded-and-arqillan-tomee-embedded-adaptor-tp4679250.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>