Enterprise Bundle Repository
  1. Enterprise Bundle Repository
  2. EBR-541

xstream 1.3.1 in EBR has an unresolvable import for org.xmlpull.mxp1 version [1.1.4,2.0.0)

    Details

    • Type: Defect Defect
    • Status: Done Done
    • Priority: Minor Minor
    • Resolution: Bundle Updated
    • Labels:
      None
    • Environment:

      dm server 2.0.0 CI-475 but isn't specific to this build

      Description

      We tried an xstream upgrade to 1.3.1 using the EBR artifact:

      <dependency>
      <groupId>com.thoughtworks.xstream</groupId>
      <artifactId>com.springsource.com.thoughtworks.xstream</artifactId>
      <version>1.3.1</version>
      </dependency>

      This brings in transitively the xml pull API 1.1.4:

      <dependency>
      <groupId>org.xmlpull</groupId>
      <artifactId>com.springsource.org.xmlpull</artifactId>
      <version>1.1.4</version>
      </dependency>

      However, xml pull 1.1.4 does not export the org.xmlpull.mxp1 package (it doesn't even have it).

      Our workaround right now is to use xstream 1.3.0 which requires xml pull version 1.1.3.4-O, which does satisfy its imports.

      A quick test case to replicate this problem is on a CLEAN dm server (we used 2.0.0 CI-475 but saw this on earlier builds as well), put the following artifacts into the pickup folder in this order (taken from the EBR):

      • XML PULL API 1.1.4
      • Xstream 1.3.0

      You should get in the console:

      [2009-11-13 11:48:52.984] fs-watcher <DE0058E> Install failed for bundle 'com.springsource.com.thoughtworks.xstream' version '1.3.1'.
      [2009-11-13 11:48:52.984] fs-watcher <DE0018E> Unable to install application from location 'file:/R:/bin/springsource/springsource-dm-server-2.0.0.CI-475/pickup/com.springsource.com.thoughtworks.xstream-1.3.1.jar'. Could not satisfy constraints for bundle 'com.springsource.com.thoughtworks.xstream' at version '1.3.1'. Cannot resolve: com.springsource.com.thoughtworks.xstream
      Resolver report:
      An Import-Package could not be resolved. Caused missing constraint <Import-Package: org.xmlpull.mxp1; version="[1.1.4,2.0.0)"> in bundle <com.springsource.com.thoughtworks.xstream_1.3.1>
      .
      [2009-11-13 11:48:53.000] fs-watcher <HD0002E> Hot deploy failed for resource 'R:\bin\springsource\springsource-dm-server-2.0.0.CI-475\pickup\com.springsource.com.thoughtworks.xstream-1.3.1.jar'.

        Issue Links

          Activity

          Hide
          Scott Hamilton added a comment -

          OOPS - bug in my description. SORRY!

          Deploy:

          • XML PULL API 1.1.4
          • Xstream 1.3.1

          That's 1.3.1 of xstream to deploy to see this problem.

          Show
          Scott Hamilton added a comment - OOPS - bug in my description. SORRY! Deploy: XML PULL API 1.1.4 Xstream 1.3.1 That's 1.3.1 of xstream to deploy to see this problem.
          Hide
          Scott Andrews added a comment -

          We added com.springsource.org.xmlpull 1.1.4.c that contains the needed packages, and updated xstream 1.3.1 to use the newer version.

          Show
          Scott Andrews added a comment - We added com.springsource.org.xmlpull 1.1.4.c that contains the needed packages, and updated xstream 1.3.1 to use the newer version.

            People

            • Assignee:
              Unassigned
              Reporter:
              Scott Hamilton
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                First Response Date: