dev@glassfish.java.net

Re: pom review for adding the inject apis in the javaee apis module

From: Barbara Louis <Barbara.Louis_at_Sun.COM>
Date: Tue, 06 Oct 2009 08:21:08 -0700

JSR 330 will be integrated in by web beans. That is, web beans will
implement jsr 330. There will be no separate integration for jsr 330 in
GlassFish.

Thanks,
Barbara

Sahoo wrote:
> We do not prefer to have separate OSGi bundle for APIs, as we believe
> APIs are very much part of implementation bundle. When WebBeans was
> integrated in GFv3, javax.inject was part of JSR 299. So, javax.inject
> classes are part of webbeans bundle. Subsequently, those APIs have
> been moved to JSR 330. Whoever integrates JSR 330 will have to do
> necessary adjustment. I am happy to answer any queries in this regard.
>
> Thanks,
> Sahoo
>
> Ludovic Champenois wrote:
>> See the diff. Maybe Sahoo or the webbeans owners can comment while
>> Jane is on vacation?
>>
>> I am not sure about the correct version for javax.inject but this new
>> dependency is necessary to add the javax.inject apis into the
>> javaee-api jars, necessary to produced the stripped api jar (only
>> apis, no impl)...
>> Currently, the build of this stripped jar is failing with missing
>> Scope class.
>>
>> Related question: why the java.inject APIs are inside
>> webbeans-osgi-bundle.jar and not in a separate javax.... jar?
>> I need to refresh the posted stripped api jars asap (they are used
>> for Maven EE 6 projects, and currently not functioning)...
>>
>> # Following Index: paths are relative to:
>> /Users/ludo/acvs/v3/javaee-api/javax.javaee
>> # This patch can be applied using context Tools: Patch action on
>> respective folder.
>> # It uses platform neutral UTF-8 encoding and \n newlines.
>> # Above lines and this line are ignored by the patching process.
>> Index: pom.xml
>> --- pom.xml Base (BASE)
>> +++ pom.xml Locally Modified (Based On LOCAL)
>> @@ -265,6 +265,12 @@
>> <optional>true</optional>
>> </dependency>
>> <dependency>
>> + <groupId>javax.inject</groupId>
>> + <artifactId>inject-api</artifactId>
>> + <version>1.0.0-PRD</version>
>> + <optional>true</optional>
>> + </dependency>
>> + <dependency>
>> <groupId>com.sun.messaging.mq</groupId>
>> <artifactId>jaxm-api</artifactId>
>> <version>4.3</version>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>