MavenModuleArtifactResolutionIntegrationTest.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.

    • -1
    • +1
    ./MavenModuleArtifactResolutionIntegrationTest.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.

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

    • -1
    • +9
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 95 more files in changeset.
wip - fix more tests

    • -1
    • +9
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 46 more files in changeset.
wip - fix more tests

    • -1
    • +9
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 45 more files in changeset.
wip - fix more tests

    • -1
    • +9
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 46 more files in changeset.
Changed the Maven repository test fixtures to support publishing and resolving the Gradle module metadata.

    • -1
    • +1
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 8 more files in changeset.
check that ~/.m2 repository not touched during integration tests

+review REVIEW-5724

    • -14
    • +15
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 18 more files in changeset.
Fix test fixture for querying artifacts of project component

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

    • -0
    • +1
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 21 more files in changeset.
Clarifying tests for artifact query integration tests

+review REVIEW-5282

    • -3
    • +6
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 2 more files in changeset.
Handle ProjectIdentifiers more gracefully in ArtifactResolutionQuery

- Instead of failing the query, return an UnresolvedComponentResult

+review REVIEW-5282

    • -10
    • +8
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 3 more files in changeset.
Improved exception message

+review REVIEW-5282

    • -4
    • +3
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 2 more files in changeset.
Check UnresolvedComponentResult failure for integration tests.

+review REVIEW-5282

    • -7
    • +8
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 2 more files in changeset.
Have special handling for project component identifiers.

+review REVIEW-5282

    • -1
    • +1
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 2 more files in changeset.
Moved mismatched ComponentType/ArtifactType combinations into unit test.

+review REVIEW-5282

    • -3
    • +0
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 3 more files in changeset.
Removed convenience method. Needs more specing. Users will need to implement this functionality in their own builds.

+review REVIEW-5282

    • -21
    • +2
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 7 more files in changeset.
Missed a couple of error messages.

    • -1
    • +4
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 1 more file in changeset.
Added test coverage for querying metadata artifacts.

+review REVIEW-5282

    • -56
    • +120
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 5 more files in changeset.
Ground work for accessing the Ivy and Maven metadata artifacts via the Artifact Query API.

    • -0
    • +123
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
  1. … 15 more files in changeset.