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

gradle 1.12 tries to resolve custom packaging with .jar extension

    XMLWordPrintable

    Details

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

      Description

      Hi,

      I have a plugin that generates custom artifacts (.zip) and uploads them via maven to a nexus repository.

      When I upgrade to gradle 1.12 I get errors when the plugin tries to find the artificats.

      Caused by: org.gradle.api.internal.artifacts.ivyservice.ivyresolve.ArtifactNotFoundException: Artifact '<group>:<name>:<version>:<name>.jar' not found.

      I debugged a bit and found out that the jar extension is mentioned in the cache

      ~/.gradle/caches/modules-2/metadata-2.6/descriptors/<group>/<name>/<version>/a3513388c78b5904e7c3c3af682f5a1a/ivy.xml:

      ....
      <publications>
      <artifact name="jquery-no-conflict-with-ui" type="zip" ext="jar" conf="master"/>
      </publications>
      ....

      Any idea where to tell gradle how to resolve the configurations with zip extension?

      Thanks in advance

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            forums Gradle Forums
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: