BTW, "1" in the URL of the repository stands for Maven 1 repo.
Felipe Gaúcho wrote:
> 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....
>>
>>