Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-1713

Fix dependencies in maven project for move to Spring 3

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 1.8.0
    • Fix Version/s: OpenMRS 1.8.0
    • Component/s: None
    • Labels:
    • Complexity:
      Low

      Description

      Library versions changed for the move to Spring 3 (in TRUNK-154) were not updated in the maven project pom
      These include antlr, asm, and cglib
      These versions are specified by the hibernate dependency, antlr 2.7.6 (only), asm 1.5.3, and cglib 2.1_3

      Dependencies to add for Spring 3:

      <!--
      For the upgrade to Spring 3.0, antlr-runtime-3.2.jar is required. However, Hibernate 3.25 needs antlr_2.7.6.jar and they can
      both exist because their packaging is different. The earlier version, 2.7.6, is antlr.* whereas 3.2 is org.antlr.*, so 
      they can co-habitate here just fine.
      For more information, see this article: http://blog.newsplore.com/2009/03/07/upgrading-to-spring-30
      -->
      <dependency>
          <groupId>org.antlr</groupId>
          <artifactId>antlr</artifactId>
          <version>3.2</version>
      </dependency>
      <dependency>
          <groupId>asm</groupId>
          <artifactId>asm</artifactId>
          <version>2.2.3</version>
      </dependency>
      <dependency>
          <groupId>asm</groupId>
          <artifactId>asm-commons</artifactId>
          <version>2.2.3</version>
      </dependency>
      <dependency>
          <groupId>asm</groupId>
          <artifactId>asm-util</artifactId>
          <version>2.2.3</version>
      </dependency>
      <dependency>
          <groupId>cglib</groupId>
          <artifactId>cglib-nodep</artifactId>
          <version>2.2</version>
      </dependency>
      

      The cglib dependency from hibernate should be excluded since this new artifactId is different
      The antlr dependency should not be excluded, despite different groupIds, as the comment specifies

        Attachments

          Activity

            People

            Assignee:
            mblanchette Matthew Blanchette
            Reporter:
            mblanchette Matthew Blanchette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: