Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-52

Update JcloudsVersion after the group ID change to org.apache.jclouds

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.10, 1.6.1, 1.7.0
    • 1.6.1, 1.7.0
    • jclouds-core
    • None

    Description

      JcloudsVersion retrieves its information from the pom.properties file generated by Maven. The path to this file [1] includes the group ID of the project, which has changed with JCLOUDS-15.

      This is resulting in JcloudsVersion being unable to find the required file:

      Caused by: java.lang.NullPointerException: META-INF/maven/org.jclouds/jclouds-core/pom.properties
      at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:208)[56:com.google.guava:14.0.1]
      at org.jclouds.JcloudsVersion.readVersionPropertyFromClasspath(JcloudsVersion.java:89)[60:jclouds-core:1.7.0.SNAPSHOT]

      [1] https://github.com/jclouds/jclouds/blob/master/core/src/main/java/org/jclouds/JcloudsVersion.java#L40

      Attachments

        1. JCLOUDS-52.patch
          2 kB
          Andrew Phillips

        Activity

          People

            andrewp Andrew Phillips
            andrewp Andrew Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: