What are the correct group and artifact identifiers for Java EE 5 and 6 artifacts?

So far, we have manually downloaded banks and deployed to our maven repo with group / artifact user identifiers. I would like to avoid this. So my question is:

  • What is the correct group and artifact ID for Java EE 5 and 6 artifacts? I would like to get names at the JSR level (for example, I don't need identifiers for Java EE 6 uber jar, but separate apis like jsr 330 etc.).
  • What is the CORRECT MODE to get them? Is there an Oracle server in their own repositories?

My main interest is in the APIs listed here for Java EE 6 and here for Java EE 5 , each of which is a separate artifact


Here is information on the Oracle mvn repository where you can download Java EE 6 artifacts from.

+4
source share
3 answers

Below are the official repositories and artifact id for Java EE 5 and 6

Java EE 5: http://download.java.net/maven/2/javaee/javaee-api/5/

Java EE 6: http://repo1.maven.org/maven2/javax/javaee-api/6.0/

+3
source

Most JSR and Java EE artifacts have artifacts starting with javax

eg. The dependency for JSR-330 is as follows:

 <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <version>1</version> </dependency> 

Most of the standard APIs are available in the central repo and therefore can be found at mvnrepository.com .

Or you can just browse the javax directory of your maven mirror. Here is javax on ibiblio.org

Sun / Oracle Java APIs that are not in the center are usually found in the download.java.net maven repo file

+6
source

I believe that you should get them manually because you need to accept the Sun / Oracle license agreement before using them.

0
source

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


All Articles