Skip to content

gradle artifactory plugin - resolve.ivy.mavenCompatible=true does not convert dots to paths for ivyPaths #55

@hborham

Description

@hborham

I noticed the resolver configuration does not convert dots to paths when setting mavenCompatible = true when searching for ivy files. As a consequence the artifact is retrieved but the ivy.xml is not and thus none of the configuration dependencies are downloaded.

Example:

artifactory {

    contextUrl = "${project.getProperty('artifactory.contextUrl')}"  

    resolve {
        repository {
            repoKey = 'someRepo'
            username = "someUser"
            password = "somePassword"
            maven = true
            ivy {
                mavenCompatible = true
                ivyLayout = '[organization]/[module]/[revision]/ivy.xml'
                artifactLayout = '[organization]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]'
            }
        }
    }
}

Resolution for ivyLayout works fine in the case where I hardcode the organization in ivyLayout.

Publishing seems to work fine with mavenCompatible = true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions