Do you run it from the pom where it is defined? Well the easier is to define it in the pom defining the ear and not in others then cd myear && mvn package tomee:run Le 7 janv. 2013 18:33, "José Luis Cetina" <maxtorz...@gmail.com> a écrit :
> Whe i add inherited like this: > > <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> > > > > I get no plugin prefix > > > No plugin found for prefix 'tomee' in the current project and in the plugin > groups [org.apache.maven.plugins, org.codehaus.mojo] available from the > repositories [local (/home/maxtorzito/.m2/repository), central ( > http://repo.maven.apache.org/maven2)] -> [Help 1] > > > 2013/1/7 Romain Manni-Bucau <rmannibu...@gmail.com> > > > yes > > > > not perfect but works > > > > or define it only in your child and run it from here > > > > 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>: > > > Do you mean the <inherited> tag? > > > > > > > > > 2013/1/7 José Luis Cetina <maxtorz...@gmail.com> > > > > > >> > > >> I use parent tag for my ejb module and my web module, what do you mean > > >> with inherited to false?? and run with -N?? > > >> > > >> > > >> > > >> 2013/1/7 Romain Manni-Bucau <rmannibu...@gmail.com> > > >> > > >>> N > > >> > > >> > > >> > > >> > > > > > > > > > -- > > > ------------------------------------------------------------------- > > > *SCJA. José Luis Cetina* > > > ------------------------------------------------------------------- > > > > > > -- > ------------------------------------------------------------------- > *SCJA. José Luis Cetina* > ------------------------------------------------------------------- >