Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0_b60
    • Fix Version/s: 4.0_b80_EE7MS6
    • Component/s: packaging
    • Labels:
      None

      Description

      Java EE 6 published the following artifacts:

      http://repo1.maven.org/maven2/javax/javaee-api/
      http://repo1.maven.org/maven2/javax/javaee-endorsed-api/
      http://repo1.maven.org/maven2/javax/javaee-web-api/

      We need to do something similar for Java EE 7. More details

      • The Java EE 6 jars are built here: main/appserver/javaee-api/javax.javaee. Rumor is they were built and published manually.
      • The Java EE 6 build did some magic to include class files without the implementations code, so you could compile against the jar files, but not run.
      • We recently changed our Java compatibility rules such that it is no longer necessary to produce the javaee.jar file in this special way with no code. We can now simply create a javaee.jar file that contains all (and only) the javax.* class files that make up the official Java EE platform API. Hopefully doing so is a simplification of the current process for producing this special javaee.jar file.
      • If all javax.* API classes and sources artifacts are published to Maven Central (in api jars) then we could create a pom file that aggregates the classes and sources artifacts and produce the javaee.jar
      • If a javax.* API is not published to Maven Central then we should work with the project team to get it published.
      • Keep in mind that not all javax.* APIs are java.net projects. For example some are from JBoss like Weld (CDI) and bean validator
      • Note that the GlassFish distribution also contains glassfish/lib/javaee.jar. In this case the jar file just contains a manifest that points to the actual jars. This is produced as part of the normal glassfish build. We need to make sure it is correctly updated to include the Java EE 7 APIs.

        Issue Links

          Activity

          Hide
          Romain Grécourt added a comment - - edited

          The artifacts built under main/appserver/javaeeapi have org.glassfish.main as groupId.

          We need to setup a workspace for those, which can certainly be done by moving main/appserver/javaeeapi/* in https://svn.java.net/svn/glassfish~svn/trunk/api/javaee-api/ like it has been done for javax.servlet.

          Show
          Romain Grécourt added a comment - - edited The artifacts built under main/appserver/javaeeapi have org.glassfish.main as groupId. We need to setup a workspace for those, which can certainly be done by moving main/appserver/javaeeapi/* in https://svn.java.net/svn/glassfish~svn/trunk/api/javaee-api/ like it has been done for javax.servlet.
          Show
          Romain Grécourt added a comment - Build process is in place, see: http://dlc.sun.com.edgesuite.net/glassfish/4.0/promoted/javaee-api-7.0-b65.jar http://dlc.sun.com.edgesuite.net/glassfish/4.0/promoted/javaee-web-api-7.0-b65.jar
          Hide
          arungupta added a comment -

          JAX-RPC is getting pruned from Java EE 7 and should not be included in the javadocs.

          Batch, Concurrency Utilities for Java EE, and Java Caching are missing from the list.

          Show
          arungupta added a comment - JAX-RPC is getting pruned from Java EE 7 and should not be included in the javadocs. Batch, Concurrency Utilities for Java EE, and Java Caching are missing from the list.
          Hide
          Romain Grécourt added a comment -

          Please correct me: jaxr and jax-rpc are optional in EE7 ?

          Show
          Romain Grécourt added a comment - Please correct me: jaxr and jax-rpc are optional in EE7 ?
          Hide
          arungupta added a comment -

          That is correct, JAXR and JAX-RPC are optional in Java EE 7 and can be removed from the javadocs.

          Show
          arungupta added a comment - That is correct, JAXR and JAX-RPC are optional in Java EE 7 and can be removed from the javadocs.
          Hide
          Romain Grécourt added a comment -

          batch, concurrency utility and jcache are missing because not yet integrated in glassfish

          Show
          Romain Grécourt added a comment - batch, concurrency utility and jcache are missing because not yet integrated in glassfish
          Show
          Romain Grécourt added a comment - The javax.javaee API jars have been published: https://maven.java.net/content/groups/promoted/javax/javaee-api/7.0-b72/javaee-api-7.0-b72.jar https://maven.java.net/content/groups/promoted/javax/javaee-web-api/7.0-b72/javaee-web-api-7.0-b72.jar This issue will remain open in order to track the subtasks.
          Hide
          Romain Grécourt added a comment -

          update fix version

          Show
          Romain Grécourt added a comment - update fix version
          Hide
          Romain Grécourt added a comment -

          Related work is done. This is now synched with the glassfish build seamlessly.

          Show
          Romain Grécourt added a comment - Related work is done. This is now synched with the glassfish build seamlessly.

            People

            • Assignee:
              Romain Grécourt
              Reporter:
              Joe Di Pol
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 13 weeks Original Estimate - 13 weeks
                13w
                Remaining:
                Time Spent - 1 week Remaining Estimate - 15 weeks
                15w
                Logged:
                Time Spent - 1 week Remaining Estimate - 15 weeks
                1w