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:52:59 UTC

[jira] [Resolved] (TOMEE-1579) support executable wars just doing an overlay of tomee embedded

     [ https://issues.apache.org/jira/browse/TOMEE-1579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau resolved TOMEE-1579.
---------------------------------------
    Resolution: Fixed

resolving since basis are there

Side note: because of the all in one side of things some additional configuration can be needed in the war (JSF, websocket depending what is done etc...).

Other issues can be open to integrate these modules more deeply when needed

> 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)