Normally I use the tomee-embedded-maven-plugin[1] as my development flow. To run it in production I use the tomee-maven-plugin[2] to build a fatjar.
Regards, Gilberto [1] https://gist.github.com/gilbertoca/f10e7ef47c0802286a5cdc43b2375d8f [2] https://www.tomitribe.com/blog/tomee-fat-jar-deployments/ On 2021/10/26 14:54:01, naciu <[email protected]> wrote: > https://github.com/apache/tomee/blob/master/utils/openejb-core-hibernate/pom.xml > > hi guys. > > Please some of you can explain me how and when i can use this pom.xml > into a web app, > for use hibernate or also for get a tomee plus with hibernate from > tomee-maven-plugin > using the openejb-core-hibernate pom.xml as dependency ? > > i have already tried the instrucion like into tomee.pdf : > > https://tomee.apache.org/developer/tools/maven/tomee.pdf > > i used the following configuration: > > <plugin> > <groupId>org.apache.tomee.maven</groupId> > <artifactId>tomee-maven-plugin</artifactId> > <version>7.1.4</version> > <configuration> > <tomeeClassifier>plus</tomeeClassifier> > <debug>false</debug> > <debugPort>5005</debugPort> > <args>-Dfoo=bar</args> > <config>${project.basedir}/src/test/tomee/conf</config> > <libs> > <lib>mysql:mysql-connector-java:5.1.20</lib> > </libs> > <webapps> > <webapp>org.superbiz:myapp:4.3?name=ROOT</webapp> > <webapp>org.superbiz:api:1.1</webapp> > </webapps> > <apps> > <app>org.superbiz:mybugapp:3.2:ear</app> > </apps> > <libs> > <lib>mysql:mysql-connector-java:5.1.21</lib> > <lib>unzip:org.superbiz:hibernate-bundle:4.1.0.Final:zip</lib> > <lib>remove:openjpa-</lib> > </libs> > </configuration> > </plugin> > > > but i get that error: > org.superbiz:hibernate-bundle:4.1.0.Final:zip is not evailable. > > please how i can resolve? > > i would get with tomee mavn plugin a tomee plus 7.1,4 but with hibernate > and not openjpa. > > the > utils/openejb-core-hibernate/pom.xml can help me for get tomee7.1.4 plus > with hibernate? > > > > > > -- > Questa e-mail è stata controllata per individuare virus con Avast antivirus. > https://www.avast.com/antivirus >
