IvyJvmLibraryArtifactResolutionIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Align implementations of artifact identifier display names

DefaultModuleComponentArtifactIdentifier now behaves similar as

ComponentFileArtifactIdentifier (showing the full actual file name).

This means that the artifact name used during reporting now

contains the version at the usual position in the file name.

This way it shows the actual file name for artifacts originating

from pom-only maven repositories (except snapshots, which show the

SNAPSHOT placeholder) and ivy repositories with default pattern.

The motivation for this alignment is to get the same representation for

the same file, independent of whether it was sourced from traditional

or Gradle module metadata.

    • -10
    • +10
    ./IvyJvmLibraryArtifactResolutionIntegrationTest.groovy
  1. … 32 more files in changeset.
Align implementations of artifact identifier display names

DefaultModuleComponentArtifactIdentifier now behaves similar as

ComponentFileArtifactIdentifier (showing the full actual file name).

This means that the artifact name used during reporting now

contains the version at the usual position in the file name.

This way it shows the actual file name for artifacts originating

from pom-only maven repositories (except snapshots, which show the

SNAPSHOT placeholder) and ivy repositories with default pattern.

The motivation for this alignment is to get the same representation for

the same file, independent of whether it was sourced from traditional

or Gradle module metadata.

    • -10
    • +10
    ./IvyJvmLibraryArtifactResolutionIntegrationTest.groovy
  1. … 32 more files in changeset.
Adjust tests and samples to new metadata sources defaults

    • -6
    • +2
    ./IvyJvmLibraryArtifactResolutionIntegrationTest.groovy
  1. … 95 more files in changeset.
wip - fix more tests

    • -6
    • +2
    ./IvyJvmLibraryArtifactResolutionIntegrationTest.groovy
  1. … 46 more files in changeset.
wip - fix more tests

    • -6
    • +2
    ./IvyJvmLibraryArtifactResolutionIntegrationTest.groovy
  1. … 45 more files in changeset.
wip - fix more tests

    • -6
    • +2
    ./IvyJvmLibraryArtifactResolutionIntegrationTest.groovy
  1. … 46 more files in changeset.
Migrate test to ComponentMetadataRule usage

This covers a number of tests that were missed on the previous pass.

    • -3
    • +8
    ./IvyJvmLibraryArtifactResolutionIntegrationTest.groovy
  1. … 7 more files in changeset.
Migrate integration tests to use class based rules.

    • -3
    • +8
    ./IvyJvmLibraryArtifactResolutionIntegrationTest.groovy
  1. … 9 more files in changeset.
Improve error reporting in case no matching dynamic version is found

This commit improves rendering of errors in case resolution fails because

all versions in a dynamic range are evicted, and that at least one of the

evicted versions was evicted because of attribute matching. The error will

now report the attributes on each tested version, as well as the requested

attributes.

For this, the module not found exception has been updated to carry more

context, and now makes use of the tree formatter for consistency with other

exceptions in the codebase.

    • -6
    • +6
    ./IvyJvmLibraryArtifactResolutionIntegrationTest.groovy
  1. … 37 more files in changeset.
Use ResourceException instead of IOException when retrieving a resource.

    • -23
    • +88
    ./IvyJvmLibraryArtifactResolutionIntegrationTest.groovy
  1. … 21 more files in changeset.
Tweaked 'could not download artifact' and 'could not find artifact' error messages.

    • -2
    • +2
    ./IvyJvmLibraryArtifactResolutionIntegrationTest.groovy
  1. … 13 more files in changeset.
Minor updates on review of ComponentMetadata rules improvements

+review REVIEW-5218

    • -1
    • +1
    ./IvyJvmLibraryArtifactResolutionIntegrationTest.groovy
  1. … 11 more files in changeset.
Refactored ComponentMetadataHandler.eachComponent() to all()

+review REVIEW-5218

    • -2
    • +2
    ./IvyJvmLibraryArtifactResolutionIntegrationTest.groovy
  1. … 14 more files in changeset.
Moved some exception and result types out of org.gradle.api.internal.artifacts into org.gradle.internal.resolve

    • -1
    • +1
    ./IvyJvmLibraryArtifactResolutionIntegrationTest.groovy
  1. … 109 more files in changeset.
Renamed subprojects/core-impl to subprojects/dependency-management.

    • -0
    • +370
    ./IvyJvmLibraryArtifactResolutionIntegrationTest.groovy
  1. … 1384 more files in changeset.