Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-3074

Gradle fails to parse a org.hornetq:hornetq-native:2.4.0.Final pom

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1-rc-1

      Description

      Gradle (tested 1.9 and 1.10) fails to parse a pom

      Could not resolve all dependencies for configuration ':compile'.
      > Could not resolve org.hornetq:hornetq-native:2.4.0.Final.
      Required by:
      :test:unspecified
      > Could not parse POM http://repo1.maven.org/maven2/org/hornetq/hornetq-native/2.4.0.Final/hornetq-native-2.4.0.Final.pom
      > Illegal character in path at index 97: http://repo1.maven.org/maven2/org/hornetq/hornetq-native/2.4.0.Final/hornetq-native-2.4.0.Final.${native-package-type}

      Maven parses it successfully.

      build.gradle

      apply plugin: 'java'

      repositories {
      mavenCentral()
      }

      dependencies {
      compile "org.hornetq:hornetq-native:2.4.0.Final"
      }

      gradle -version

      Gradle 1.10
      ------------------------------------------------------------

      Build time: 2013-12-17 09:28:15 UTC
      Build number: none
      Revision: 36ced393628875ff15575fa03d16c1349ffe8bb6

      Groovy: 1.8.6
      Ant: Apache Ant(TM) version 1.9.2 compiled on July 8 2013
      Ivy: 2.2.0
      JVM: 1.7.0_45 (Oracle Corporation 24.45-b08)
      OS: Mac OS X 10.9.1 x86_64

        Attachments

          Activity

            People

            Assignee:
            bmuschko Benjamin Muschko
            Reporter:
            forums Gradle Forums
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: