[jboss-as7-dev] specify a manual dependency on the hornetq-ra module in a war

Marius Bogoevici marius.bogoevici at gmail.com
Tue Jul 12 23:09:25 EDT 2011


TBH, I would prefer if we endorsed jboss-deployment-structure.xml more. 
I believe that it is more toolable than MANIFEST.MF, and doing the 
MANIFEST.MF dance in a Maven build requires adding some boilerplate code 
to the pom.xml. I know that in the end it's a small change, but if I had 
to do custom stuff to my project, then I'd rather just add a new file 
(which would happen for MANIFEST.MF anyways) rather than adding a file 
*and* changing the pom.


Jason T. Greene wrote:
> That is the correct way to do it. Otherwise you can use
> jboss-deployment-structure.xml if you prefer.
>
> See:
> https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7
>
> On 7/12/11 6:20 PM, Brian Stansberry wrote:
>    
>> Does doing the same thing Carlo did on that linked file work?
>>
>> Dependencies: org.hornetq.ra
>>
>> in the war's MANIFEST.MF
>>
>> On 7/12/11 5:28 PM, Martin Schwartzman wrote:
>>      
>>> Anyone know how to specify a manual dependency on the hornetq-ra module
>>> in a war?
>>>
>>> Ah yes, at the moment you have to specify a manual dependency on the
>>> hornetq-ra module.
>>>
>>> See
>>> https://github.com/wolfc/jboss-as/blob/AS7-579/testsuite/spec/src/test/resources/ejb3/mdb/MANIFEST.MF
>>>
>>> Don't know how to specify this in a war, but somebody on the dev list
>>> will...
>>>
>>> Thanks,
>>>
>>> Martin
>>>
>>>
>>>
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> jboss-as7-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>        
>>      
>
>
>    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110712/ae1b4dc3/attachment.html 


More information about the jboss-as7-dev mailing list