Maven Source for javax javaee-api 6.0

I am building a JEE6 application (EJB) with Maven. I am using the maven dependency:

<dependency> <groupId>javax</groupId> <artifactId>javaee-api</artifactId> <version>6.0</version> <scope>provided</scope> </dependency> 

to get api classes. But I am missing the api source code. (e.g. javax.ejb ejb-api 3.0)

So the question is how to get the source code for JEE6 Apis (special EJB 3.1)?

I need this to better complement the code and documentation in Eclipse.

+6
source share
1 answer

If you use the m2e plugin in eclipse, you can choose "download sources" and / or "download javadoc" for your dependencies. http://www.eclipse.org/m2e/

0
source

Source: https://habr.com/ru/post/911698/


All Articles