-
Task
-
Resolution: Won't Do
-
Major
-
4.0.0.CR1
-
Low
Dynamic web project should should be deployable to OpenShift (is visible when merging OpenShift application and the workspace project).
After publishing, following output is returned from server:
[INFO] Packaging webapp [INFO] Assembling webapp [dw] in [/var/lib/openshift/1e6a743963104f30bdcdebdff460d42b/app-root/runtime/repo/target/dw] [INFO] Processing war project [INFO] Webapp assembled in [19 msecs] [INFO] Building war: /var/lib/openshift/1e6a743963104f30bdcdebdff460d42b/app-root/runtime/repo/deployments/ROOT.war [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 33.330s [INFO] Finished at: Tue Nov 27 11:27:40 EST 2012 [INFO] Final Memory: 8M/169M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project dw: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException hot_deploy_added=false Found 127.3.36.1:8080 listening port /usr/libexec/openshift/cartridges/abstract/info/lib/util: line 992: /var/lib/openshift/1e6a743963104f30bdcdebdff460d42b/app-root/runtime/repo/.openshift/action_hooks/post_start_jbossas-7: Permission denied Failed to start jbossas-7
Shouldn't this be a part of openshift maven profile?
<failOnMissingWebXml>false</failOnMissingWebXml>