dm Server
  1. dm Server
  2. DMS-787

mvn package of GreenPages 1.1.0 fails

    Details

    • Type: Defect Defect
    • Status: Done Done
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: Sprint 6, 2.0.0.M3, 2.0.0.RELEASE
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1

      Description

      Steps to reproduce:

      1. Delete .m2 repository
      2. Download and unzip http://dist.springframework.org/release/DMSS/greenpages-1.1.0.RELEASE.zip
      3. cd into solution directory
      4. mvn package

      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Failed to resolve artifact.

      Missing:
      ----------
      1) com.springsource.util:com.springsource.util.parser.manifest:jar:2.0.0.CI-R219-B142

      Try downloading the file manually from the project website.

      Then, install it using the command:
      mvn install:install-file -DgroupId=com.springsource.util -DartifactId=com.springsource.util.parser.manifest -Dversion=2.0.0.CI-R219-B142 -Dpackaging=jar -Dfile=/path/to/file

      Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=com.springsource.util -DartifactId=com.springsource.util.parser.manifest -Dversion=2.0.0.CI-R219-B142 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

      Path to dependency:
      1) com.springsource.bundlor:com.springsource.bundlor.maven:maven-plugin:1.0.0.BUILD-SNAPSHOT
      2) com.springsource.bundlor:com.springsource.bundlor:jar:1.0.0.BUILD-SNAPSHOT
      3) com.springsource.util:com.springsource.util.parser.manifest:jar:2.0.0.CI-R219-B142

      ----------
      1 required artifact is missing.

      for artifact:
      com.springsource.bundlor:com.springsource.bundlor.maven:maven-plugin:1.0.0.BUILD-20090522.000338-63

      from the specified remote repositories:
      com.springsource.repository.bundles.milestone (http://repository.springsource.com/maven/bundles/milestone),
      com.springsource.repository.bundles.snapshot (http://repository.springsource.com/maven/bundles/snapshot),
      com.springsource.repository.bundles.external (http://repository.springsource.com/maven/bundles/external),
      com.springsource.repository.libraries.external (http://repository.springsource.com/maven/libraries/external),
      com.springsource.repository.bundle.external (http://repository.springsource.com/maven/bundles/external),
      central (http://repo1.maven.org/maven2),
      com.springsource.repository.bundles.release (http://repository.springsource.com/maven/bundles/release),
      com.springsource.repository.libraries.release (http://repository.springsource.com/maven/libraries/release)

        Activity

        Hide
        Andy Wilkinson added a comment -

        This should simply be a matter of changing the version of Bundlor to a fixed known-good version.

        Show
        Andy Wilkinson added a comment - This should simply be a matter of changing the version of Bundlor to a fixed known-good version.

          People

          • Assignee:
            Chris Frost
            Reporter:
            Andy Wilkinson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2h
              2h
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 1h 31m Time Not Required
              1h 31m