Hi you can use a file reference I think instead of gav, otherwise no way in a single reactor until it is already built once you can add -N to not run submodules
Personally I'd go with a app-launcher module with dependencies on other modules to ensure the reactor order and it would resolve nicely and get rid of both issues at once. Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://rmannibucau.metawerx.net/> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book <https://www.packtpub.com/application-development/java-ee-8-high-performance> 2018-03-12 12:51 GMT+01:00 Matthew Broadhead <matthew.broadh...@nbmlaw.co.uk >: > hi > i am trying to use tomee-maven-plugin from a parent project. > i tried to define the subprojects as webapps like > <plugins> > <plugin> > <groupId>org.apache.tomee.maven</groupId> > <artifactId>tomee-maven-plugin</artifactId> > <version>${tomee.version}</version> > <configuration> > <tomeeVersion>${tomee.version}</tomeeVersion> > <tomeeClassifier>plus</tomeeClassifier> > <config>${project.basedir}/src/test/tomee/conf</config> > <libs> > <lib>mysql:mysql-connector-java:${mysql.connector.version}</lib> > </libs> > <webapps> > <webapp>${project.groupId}:subproject:${project.version}?name=subproject</webapp> > > </webapps> > </configuration> > </plugin> > </plugins> > but it complains that it cannot find the subproject in the maven > repository. is there any way to tell it that it is a subproject? > also it seems to try to run up a tomee instance for every subproject >