users@glassfish.java.net

questions EJB3.1 + maven

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Wed, 21 Oct 2009 18:09:18 +0200

I got again in doubt about the dependencies to use with the Java EE 6:

questions:

if I am using <artifactId>javaee-api</artifactId> I don't need to
declare the <version>3.0-b59</version>, right ?

if I need to declare the <version>3.0-b59</version>, what is the
correct version to EJB 3.1 ?

                <dependency>
                        <groupId>javax</groupId>
                        <artifactId>javaee-api</artifactId>
                        <scope>provided</scope>
                </dependency>
or ???

                <dependency>
                        <groupId>org.glassfish</groupId>
                        <artifactId>javax.ejb</artifactId>
                        <version>3.0-b59</version>
                        <scope>provided</scope>
                </dependency>