Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the source code for the javax:javaee-api-6.0.jar

I use the javax:javaee-api-6.0.jar maven artifact.

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

I would like to download its source code with the dependency:sources mvn goal. I was looking for the sources in the official maven repositories, but I still can't find it.

Could you give me a bit of advice on how can I achieve my object? Thank you.

like image 649
Dmytro Chyzhykov Avatar asked Sep 17 '11 21:09

Dmytro Chyzhykov


2 Answers

Mich is correct.

The purpose of the javaee-api module is to satisfy compile-time dependencies (That is why the Maven scope is set to provided). The module contains interface declarations (or contract) which must be satisfied by the J2EE container you plan to use.

If you really need/want to see the source code, I'd suggest taking a look at one of the open source J2EE containers.

like image 81
Mark O'Connor Avatar answered Oct 04 '22 22:10

Mark O'Connor


see if these are any good and if they work for you http://repo1.maven.org/maven2/org/apache/openejb/javaee-api/

like image 32
Kalpesh Soni Avatar answered Oct 04 '22 21:10

Kalpesh Soni