Creating an *ear file in JDeveloper 11g Release 2(11.1.2.2.0)
528724Jun 13 2012 — edited Aug 13 2012I am attempting to build an *.ear file for deployment that contains two *.war files built from a project called Proto1Model and Proto1View. Both *.war files build fine from the the JDeveloper ADF projects. I created what I believed to be an EJB project that would contain references to the two *.war files but got the following error when I attempted to build the Maven2 based application *.ear file using Hudson:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project Proto1EarProject: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project Proto1EarProject: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)
Both projects, Proto1Model & Proto1View, have their own web.xml files within their relative /Web Content/WEB-INF/.. directories
The overall application was created using the Maven2 format within JDeveloper 11g.
Is there a step-by-step tutorial or explanation of how to create this *.ear file? Also, any tips you might offer will be greatly appreciated.
Thanks