users@glassfish.java.net

javaee-api 6.0-SNAPSHOT failing as Maven dependency

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sun, 7 Feb 2010 18:02:07 +0100

I am again having problems to load the javaee-api...

<repositories>
        <repository>
                <id>java.net2</id>
                <name>Java.Net Maven2 Repository, hosts the javaee-api dependency</name>
                <url>http://download.java.net/maven/2</url>
        </repository>
</repositories>

<dependencyManagement>
        <dependencies>
                <dependency>
                        <groupId>javax</groupId>
                        <artifactId>javaee-api</artifactId>
                        <version>${javaee-version}</version>
                        <scope>provided</scope>
                </dependency>

....

and:

1) javaee:javaee-api:jar:6.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=javaee
-DartifactId=javaee-api -Dversion=6.0-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

any hint ?


-- 
------------------------------------------
   Felipe Gaścho
   10+ Java Programmer
   CEJUG Senior Advisor