You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2015/05/06 12:51:00 UTC
[jira] [Created] (TOMEE-1579) support executable wars just doing an
overlay of tomee embedded
Romain Manni-Bucau created TOMEE-1579:
-----------------------------------------
Summary: support executable wars just doing an overlay of tomee embedded
Key: TOMEE-1579
URL: https://issues.apache.org/jira/browse/TOMEE-1579
Project: TomEE
Issue Type: New Feature
Reporter: Romain Manni-Bucau
Assignee: Romain Manni-Bucau
Fix For: 2.0.0-Milestone-1
{code}
<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>
{code}
then
{code}
mvn package && java -jar target/myway.war
{code}
Note: it does exclude OWB faces-config.xml ATM to not fail for all applications not using JSF
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)