users@glassfish.java.net

Re: javaee Maven - fixed :)

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

and now I just noticed the instructions from here:
https://maven-repository.dev.java.net/

        <repositories>
                <repository>
                  <id>java.net</id>
                  <url>http://download.java.net/maven/1</url>
                  <layout>legacy</layout>
                </repository>
        </repositories>

now everything works.. I confess it was my fault.. somehow I couldn't
find the correct information before.. :)

On Wed, Jan 7, 2009 at 12:00 PM, Felipe Gaúcho <fgaucho_at_gmail.com> wrote:
> 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....
>