[ 
http://jira.codehaus.org/browse/MJBOSSPACK-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=178278#action_178278
 ] 

Brent N Atkinson commented on MJBOSSPACK-11:
--------------------------------------------

I think there's more going on than what the patch addresses. The patch works 
assuming that the file is copied to ${project.build.outputDirectory} before the 
mojo is executed. However, the option could also be assumed to work when a 
descriptor is generated in another directory altogether. There are multiple 
concerns that need to be addressed (these aren't exhaustive):

1.) Verify that the required descriptor is present upon packaging
2.) Be flexible on the name of the target and source descriptor filename (maybe 
configured with target JBoss version)
3.) Support arbitrary source files with arbitrary locations

I think the plugin needs to be modified so that it works in a more general 
fashion. Additionally, in JBoss 5 HARs are no longer SARs. The HAR mojos should 
be refactored to reflect this.

> Duplicate descriptor file in har
> --------------------------------
>
>                 Key: MJBOSSPACK-11
>                 URL: http://jira.codehaus.org/browse/MJBOSSPACK-11
>             Project: Maven 2.x JBoss Packaging Plugin
>          Issue Type: Bug
>          Components: har
>            Reporter: Wally Wallou
>             Fix For: 2.0
>
>         Attachments: AbstractPackagingMojo-har.patch
>
>
> When hibernate-service.xml is specified, it is copied as jboss-service.xml so 
> there is two equal files what may cause conflicts.

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