Bug 1015953
Summary: | Impossible to deploy ejb-throws-exception, ejb-in-ear, kitchensink-ear, kitchensink-ml-ear, wicket-ear quickstarts examples | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Vladimir Rastseluev <vrastsel> |
Component: | Quickstarts | Assignee: | sgilda |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Vladimir Rastseluev <vrastsel> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.2.0 | CC: | bsutter, jkudrnac, pmuir, pslavice |
Target Milestone: | ER5 | ||
Target Release: | EAP 6.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-12-15 16:19:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Vladimir Rastseluev
2013-10-07 06:23:48 UTC
The fix was to removed the filename element from the maven plugin in the EAR pom file. Also updated the instructions to use 'mvn clean install jboss-as:deploy' for EAR files. Discovered the 'mvn clean package jboss-as:deploy' will not undeploy. Rafael figured this one out for me. It was a result of a filename element in the Maven plugin section of the POM files that specified the project artifactId for the archive deployment, for example: kitchensink-ear-ear.ear. This overrode the parent project artifactId used for the archive name, for example 'kitchensink-ear.ear'. Maven attempted to deploy an non-existent 'kitchensink-ear-ear.ear' archive. I tested these and they work in ER5.1 Verified on EAP 6.2.0 ER5.1 |