users@glassfish.java.net

javaee Maven - fixed :)

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Wed, 7 Jan 2009 12:00:07 +0100

Finally I got the javaee dependency working with my POM configuration file:

the problem was: "legacy"...

        <repositories>
                <repository>
                        <id>maven2-repository.dev.java.net</id>
                        <name>Java.net Repository for Maven</name>
                        <url>https://maven-repository.dev.java.net/repository/</url>
                        <layout>legacy</layout>
                </repository>
        </repositories>

        <dependencies>
                <dependency>
                        <groupId>javaee</groupId>
                        <artifactId>javaee-api</artifactId>
                        <version>5</version>
                </dependency>
        </dependencies>

since the java.net uses a legacy structure, you should include this in
the pom to properly download the artifacts....