dev@glassfish.java.net

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

From: Ludovic Champenois <Ludovic.Champenois_at_Sun.COM>
Date: Sat, 03 Oct 2009 08:53:09 -0700

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>