Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
<dependencies>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>tomee-embedded</artifactId>
<classifier>uber</classifier>
<version>2.x</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<archive>
<manifest>
<mainClass>org.apache.tomee.embedded.Main</mainClass>
</manifest>
</archive>
<dependentWarExcludes />
<overlays>
<overlay>
<groupId>org.apache.openejb</groupId>
<artifactId>tomee-embedded</artifactId>
<classifier>uber</classifier>
<type>jar</type>
<excludes />
</overlay>
</overlays>
</configuration>
</plugin>
</plugins>
</build>
then
mvn package && java -jar target/myway.war
Note: it does exclude OWB faces-config.xml ATM to not fail for all applications not using JSF