Declaring the following dependency:
<dependency> <groupId>javax</groupId> <artifactId>javaee-web-api</artifactId> <version>6.0</version> <scope>provided</scope> </dependency>
I can use everything I need for a Java EE 6 project (Servlet 3.0, JPA 2, EJB, CDI, etc.). The problem is that Maven cannot load Javadocs for dependencies (or at least m2eclipse โDownload JavaDocโ does not work), so Eclipse does not show me Javadocs when I use the very convenient code completion function.
I found this post specific to Servlet 3.0 API, Maven dependency for Servlet 3.0 API? .
Can anyone point out a solution that works for each API? Or, can someone provide a dummy Java EE 6 Javadocs installation reference and link it to the javaee-web-api artifact in the local repository?
Anthony accioly
source share