[jboss-as7-dev] How should META-INF/services be dealt with in modules?
Jason T. Greene
jason.greene at redhat.com
Mon Aug 29 13:32:08 EDT 2011
We now add automatically service imports on all providers directly to
user deployments via JaxrsDependencyProcessor, so this step should not
be needed.
On 8/29/11 11:57 AM, Brian Stansberry wrote:
> 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
>
>
--
Jason T. Greene
JBoss AS Lead / EAP Platform Architect
JBoss, a division of Red Hat
More information about the jboss-as7-dev
mailing list