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....