Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-644

ejb 2.1 dependency jar - change to freely available jar in M2 Central

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0 M1, 2.0 M2, 2.0 M3
    • Fix Version/s: 2.1.4
    • Component/s: None
    • Labels:
      None

      Description

      The spring-ws-parent and spring-ws-support module poms reference the javax.ejb/ejb/2.1 Maven dependency. Because of Sun/Oracle binary distribution restrictions, this dependency does not exist in Maven Central and prevents the build from executing normally upon a fresh checkout from trunk.

      To guarantee a clean build with no problems, this dependency should be replaced by referencing a freely available unencumbered .jar instead.

      Apache Geronimo provides such distributable .jars for all of the EJB/JEE specifications. A patch will be attached with the following dependency applied instead of the defunct ejb 2.1 .jar:

      <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-ejb_2.1_spec</artifactId>
      <version>1.1</version>
      <scope>provided</scope>
      </dependency>

      Once the patch is applied, the project should build successfully after a checkout without any problems.

        Attachments

          Activity

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              lhazlewood Les Hazlewood
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: