here the diff: https://gist.github.com/e3255c2d34677c7ea3b6
works fine Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2013/1/7 José Luis Cetina <maxtorz...@gmail.com>: > I dont know what i was doing wrong. > > But what i did is create a new maven project. In my pom.xml i add the maven > plugin with inherited set to false and i create src/main/conf with my own > server.xml, tomcat-users.xml and tomee.xml now the ear is deployed and > unwrapped when i run tomee:run > > > 2013/1/7 José Luis Cetina <maxtorz...@gmail.com> > >> Another question, why if i use tomee:run the ear is copied to apps folder >> but is not "unwrapped" ??? >> >> >> 2013/1/7 José Luis Cetina <maxtorz...@gmail.com> >> >>> Can you give a try to my example: >>> https://github.com/maxtorzito/tomee-tests >>> >>> >>> >>> >>> 2013/1/7 José Luis Cetina <maxtorz...@gmail.com> >>> >>>> mmm i dont know what could be wrong >>>> >>>> >>>> 2013/1/7 José Luis Cetina <maxtorz...@gmail.com> >>>> >>>>> <build> >>>>> <plugins> >>>>> <plugin> >>>>> <groupId>org.apache.openejb.maven</groupId> >>>>> <artifactId>tomee-maven-plugin</artifactId> >>>>> <version>1.0.1</version> >>>>> <inherited>false</inherited> >>>>> <configuration> >>>>> <tomeeVersion>1.5.2-SNAPSHOT</tomeeVersion> >>>>> <tomeeHttpPort>8080</tomeeHttpPort> >>>>> <tomeeShutdownPort>8005</tomeeShutdownPort> >>>>> <debug>false</debug> >>>>> <debugPort>5005</debugPort> >>>>> <args>-XX:MaxPermSize=256M >>>>> -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled</args> >>>>> <apps> >>>>> >>>>> <app>com.grupokx:kx-apps-ear:1.0-SNAPSHOT:ear</app> >>>>> </apps> >>>>> <libs> >>>>> <lib>mysql:mysql-connector-java:5.1.19</lib> >>>>> <lib>com.grupokx:kx-security:1.0</lib> >>>>> </libs> >>>>> </configuration> >>>>> </plugin> >>>>> </plugins> >>>>> </build> >>>>> >>>>> 2013/1/7 Romain Manni-Bucau <rmannibu...@gmail.com> >>>>> >>>>>> version >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> ------------------------------------------------------------------- >>>>> *SCJA. José Luis Cetina* >>>>> ------------------------------------------------------------------- >>>>> >>>> >>>> >>>> >>>> -- >>>> ------------------------------------------------------------------- >>>> *SCJA. José Luis Cetina* >>>> ------------------------------------------------------------------- >>>> >>> >>> >>> >>> -- >>> ------------------------------------------------------------------- >>> *SCJA. José Luis Cetina* >>> ------------------------------------------------------------------- >>> >> >> >> >> -- >> ------------------------------------------------------------------- >> *SCJA. José Luis Cetina* >> ------------------------------------------------------------------- >> > > > > -- > ------------------------------------------------------------------- > *SCJA. José Luis Cetina* > -------------------------------------------------------------------