tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Broadhead <matthew.broadh...@nbmlaw.co.uk>
Subject tomee-maven-plugin webapps
Date Mon, 12 Mar 2018 11:51:48 GMT
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

Mime
View raw message