[jboss-as7-dev] How should META-INF/services be dealt with in modules?

Brian Stansberry brian.stansberry at redhat.com
Mon Aug 29 12:57:14 EDT 2011


Was anything done with this in the AS7 code base? I see that adding 
services="export" to the org.jboss.resteasy.resteasy-jaxrs module.xml 
wasn't done.

Is adding adding services="export" to the dependencies in 
org.jboss.resteasy.resteasy-jaxrs module.xml the correct thing to do?


On 6/6/11 11:12 AM, Scott Stark wrote:
> Thanks, that was simple.
>
> On 6/6/11 12:29 AM, Richard Opalka wrote:
>> To solve your problem you need to export services:
>>
>> [nucleus][/home/opalka/git/jboss-modules]>git diff
>> diff --git a/src/test/resources/test/repo/test/jaxrs/main/module.xml
>> b/src/test/resources/test/repo/test/jaxrs/main/module.xml
>> index fcf53a7..e6da87e 100644
>> --- a/src/test/resources/test/repo/test/jaxrs/main/module.xml
>> +++ b/src/test/resources/test/repo/test/jaxrs/main/module.xml
>> @@ -29,7 +29,7 @@
>> </resources>
>>
>> <dependencies>
>> -<module name="test.jaxrs-jaxb-provider" services="import" />
>> +<module name="test.jaxrs-jaxb-provider" services="export" />
>> </dependencies>
>> </module>
>>
>> Rio
>>
>> On 06/05/2011 12:34 AM, Scott Stark wrote:
>>> I created an issue that references a test in my
>>> https://github.com/starksm64/jboss-modules repo showing the problem.
>>> https://issues.jboss.org/browse/MODULES-87
>>>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat


More information about the jboss-as7-dev mailing list