JBoss5 har packaging currently not possible
-------------------------------------------

                 Key: MJBOSSPACK-22
                 URL: http://jira.codehaus.org/browse/MJBOSSPACK-22
             Project: Maven 2.x JBoss Packaging Plugin
          Issue Type: Bug
          Components: har
    Affects Versions: 2.0-beta-1
            Reporter: Brent N Atkinson
         Attachments: jboss5-har-support.diff

The packaging plugin assumes that descriptors are named jboss-service.xml. In 
JBoss 4x (possibly prior versions as well), this assumption is relatively safe. 
However, in later versions of JBoss har deployments are no longer service 
archives and instead are supposed to be handled by the meta-deployment scheme. 
Alternate names are supported for the descriptor, but the plugin uses this 
configuration option to copy the named file to jboss-service.xml. This is 
incorrect because the deployment should not be treated as an MBean deployment.

I am suggesting a jbossVersion option for the har mojo that conditionally 
changes the plugin's behavior. The intent is behavior that is 
backward-compatible with the older scheme and simultaneously allows HARs for 
JBoss 5 (provided you supply a supported value for the jbossVersion parameter).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to