Hi,
simply use in <configuration>:
<webapps>
<webapp>org.superbiz:my-simple-webapp:1.0.0?name=mycontext</webapp>
</webapps>
i think it should be enough
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/3/7 Lyndon Washington <[email protected]>
> Hi,
>
> I have a maven project whig has a parent that has a 'pom' packaging. Its
> submodules are made up of war, jar and pom project types.
>
> I have added a dependency on the parent project to the tomee-maven-plugin
> plugin and my hope is to be able to start an instance of tomee, from the
> root folder of the project and have all of the war submodules added to the
> tomee instance.
>
> I used to use a jetty plugin, and utilized the capability to reference
> generated war's using the jetty plugins *contenxtHandlers* parameter:
> <plugin>
> <groupId>org.mortbay.jetty</groupId>
> <artifactId>maven-jetty-plugin</artifactId>
> <version>6.1.10</version>
> <configuration>
> <stopPort>9966</stopPort>
> <stopKey>jetty-stop</stopKey>
> <scanIntervalSeconds>10</scanIntervalSeconds>
> <contextHandlers>
> <contextHandler
> implementation="org.mortbay.jetty.webapp.WebAppContext">
>
> <war>${project.build.directory}/dependency/client.spiffyui-war</war>
> <contextPath>/</contextPath>
> </contextHandler>
> <contextHandler
> implementation="org.mortbay.jetty.webapp.WebAppContext">
>
> <war>${project.build.directory}/dependency/server.war</war>
> <contextPath>/api</contextPath>
> </contextHandler>
> <contextHandler
> implementation="org.mortbay.jetty.webapp.WebAppContext">
>
> <war>${project.build.directory}/dependency/server-apidoc.zip</war>
> <contextPath>/doc</contextPath>
> </contextHandler>
> <contextHandler
> implementation="org.mortbay.jetty.webapp.WebAppContext">
>
> <war>${project.build.directory}/dependency/dtpserver.war</war>
> <contextPath>/dtp</contextPath>
> </contextHandler>
> <contextHandler
> implementation="org.mortbay.jetty.webapp.WebAppContext">
>
> <war>${project.build.directory}/dependency/daas.war</war>
> <contextPath>/daas</contextPath>
> </contextHandler>
> <contextHandler
> implementation="org.mortbay.jetty.webapp.WebAppContext">
>
> <war>${project.build.directory}/dependency/workflow-api.war</war>
> <contextPath>/workflow-api</contextPath>
> </contextHandler>
> </contextHandlers>
> </configuration>
> </plugin>
>
> Is there a way to reference the same war's from the tomee plugins
> configuration settings? I have tried to use the *webapps* parameter but
> that appears to rely on the GAV maven syntax, and I was not sure if I could
> specify a path with that parameter or not.
>
> Cheers,
> -Lyndon-
> Lyndon Washington
>