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.

    • -2
    • +2
    ./MavenBrokenRemoteResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenDynamicResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenJvmLibraryArtifactResolutionIntegrationTest.groovy
    • -1
    • +1
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
    • -1
    • +1
    ./MavenPomPackagingResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenSnapshotResolveIntegrationTest.groovy
  1. … 27 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.

    • -2
    • +2
    ./MavenBrokenRemoteResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenDynamicResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenJvmLibraryArtifactResolutionIntegrationTest.groovy
    • -1
    • +1
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
    • -1
    • +1
    ./MavenPomPackagingResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenSnapshotResolveIntegrationTest.groovy
  1. … 27 more files in changeset.
Module test fixture: add 'category' attribute to api/runtime variants

This reflects the default variant attributes of a published

java component.

    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 13 more files in changeset.
Module test fixture: add 'category' attribute to api/runtime variants

This reflects the default variant attributes of a published

java component.

    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 13 more files in changeset.
Do not drop variant attributes for 'traditional' maven artifacts

FixedComponentArtifacts dropped the variant attributes (stored in

ConfigurationMetadata) for no clear reason. Because of this, the

attributes in the resolve result differed depending on whether the

variant was constructed from pom or GMM.

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

    • -6
    • +1
    ./BadPomFileResolveIntegrationTest.groovy
    • -2
    • +0
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -13
    • +0
    ./MavenBrokenRemoteResolveIntegrationTest.groovy
    • -6
    • +19
    ./MavenDynamicResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
    • -6
    • +2
    ./MavenHttpRepoResolveIntegrationTest.groovy
    • -6
    • +2
    ./MavenJvmLibraryArtifactResolutionIntegrationTest.groovy
    • -3
    • +2
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
    • -1
    • +0
    ./MavenLocalRepoResolveIntegrationTest.groovy
    • -1
    • +9
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
    • -3
    • +0
    ./MavenParentPomResolveIntegrationTest.groovy
    • -1
    • +0
    ./MavenPomPackagingResolveIntegrationTest.groovy
    • -1
    • +0
    ./MavenPomRelocationIntegrationTest.groovy
    • -10
    • +19
    ./MavenRemoteDependencyWithGradleMetadataResolutionIntegrationTest.groovy
    • -4
    • +0
    ./MavenSnapshotResolveIntegrationTest.groovy
  1. … 81 more files in changeset.
wip - fix more tests

    • -6
    • +1
    ./BadPomFileResolveIntegrationTest.groovy
    • -2
    • +0
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -13
    • +0
    ./MavenBrokenRemoteResolveIntegrationTest.groovy
    • -6
    • +19
    ./MavenDynamicResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
    • -2
    • +0
    ./MavenHttpRepoResolveIntegrationTest.groovy
    • -6
    • +2
    ./MavenJvmLibraryArtifactResolutionIntegrationTest.groovy
    • -1
    • +0
    ./MavenLocalRepoResolveIntegrationTest.groovy
    • -1
    • +9
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
    • -3
    • +0
    ./MavenParentPomResolveIntegrationTest.groovy
    • -1
    • +0
    ./MavenPomPackagingResolveIntegrationTest.groovy
    • -1
    • +0
    ./MavenPomRelocationIntegrationTest.groovy
    • -4
    • +0
    ./MavenSnapshotResolveIntegrationTest.groovy
  1. … 34 more files in changeset.
wip - fix more tests

    • -6
    • +1
    ./BadPomFileResolveIntegrationTest.groovy
    • -13
    • +0
    ./MavenBrokenRemoteResolveIntegrationTest.groovy
  1. … 13 more files in changeset.
wip - fix more tests

    • -6
    • +1
    ./BadPomFileResolveIntegrationTest.groovy
    • -2
    • +0
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -13
    • +0
    ./MavenBrokenRemoteResolveIntegrationTest.groovy
    • -6
    • +19
    ./MavenDynamicResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
    • -6
    • +2
    ./MavenJvmLibraryArtifactResolutionIntegrationTest.groovy
    • -1
    • +0
    ./MavenLocalRepoResolveIntegrationTest.groovy
    • -1
    • +9
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
    • -3
    • +0
    ./MavenParentPomResolveIntegrationTest.groovy
    • -1
    • +0
    ./MavenPomPackagingResolveIntegrationTest.groovy
    • -1
    • +0
    ./MavenPomRelocationIntegrationTest.groovy
    • -4
    • +0
    ./MavenSnapshotResolveIntegrationTest.groovy
  1. … 34 more files in changeset.
wip - fix more tests

    • -6
    • +1
    ./BadPomFileResolveIntegrationTest.groovy
    • -2
    • +0
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -13
    • +0
    ./MavenBrokenRemoteResolveIntegrationTest.groovy
    • -6
    • +19
    ./MavenDynamicResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
    • -2
    • +0
    ./MavenHttpRepoResolveIntegrationTest.groovy
    • -6
    • +2
    ./MavenJvmLibraryArtifactResolutionIntegrationTest.groovy
    • -1
    • +0
    ./MavenLocalRepoResolveIntegrationTest.groovy
    • -1
    • +9
    ./MavenModuleArtifactResolutionIntegrationTest.groovy
    • -3
    • +0
    ./MavenParentPomResolveIntegrationTest.groovy
    • -1
    • +0
    ./MavenPomPackagingResolveIntegrationTest.groovy
    • -1
    • +0
    ./MavenPomRelocationIntegrationTest.groovy
    • -4
    • +0
    ./MavenSnapshotResolveIntegrationTest.groovy
  1. … 34 more files in changeset.
Adjust tests and samples to new metadata sources defaults

    • -4
    • +2
    ./MavenHttpRepoResolveIntegrationTest.groovy
  1. … 15 more files in changeset.
Adjust tests and samples to new metadata sources defaults

    • -4
    • +2
    ./MavenHttpRepoResolveIntegrationTest.groovy
  1. … 15 more files in changeset.
Adjust tests and samples to new metadata sources defaults

    • -4
    • +2
    ./MavenHttpRepoResolveIntegrationTest.groovy
  1. … 15 more files in changeset.
Adjust tests following Gradle Module Metadata feature preview removal

    • -3
    • +2
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
    • -10
    • +19
    ./MavenRemoteDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 28 more files in changeset.
Adjust tests following Gradle Module Metadata feature preview removal

    • -3
    • +2
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
    • -10
    • +19
    ./MavenRemoteDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 28 more files in changeset.
Adjust tests following Gradle Module Metadata feature preview removal

    • -3
    • +2
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
    • -10
    • +19
    ./MavenRemoteDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 28 more files in changeset.
First elements of a compatibility mode for classifiers in Gradle Metadata

This commit introduces a synthetic attribute used for compatibility

purposes when a dependency declaration uses classifiers. It is

transparently converted to a dependency attribute on Gradle Module

Metadata, and this attribute is used in a specific manner during

resolution (it's actually converted _back to_ an artifact selection).

    • -0
    • +44
    ./MavenDependencyResolveIntegrationTest.groovy
  1. … 11 more files in changeset.
First elements of a compatibility mode for classifiers in Gradle Metadata

This commit introduces a synthetic attribute used for compatibility

purposes when a dependency declaration uses classifiers. It is

transparently converted to a dependency attribute on Gradle Module

Metadata, and this attribute is used in a specific manner during

resolution (it's actually converted _back to_ an artifact selection).

    • -0
    • +44
    ./MavenDependencyResolveIntegrationTest.groovy
  1. … 11 more files in changeset.
MetadataSources: Introduce ignoreGradleMetadataRedirection to prevent gradle metadata redirection when marker is present in POM or Ivy descriptor

Signed-off-by: Roberto Perez Alcolea <rperezalcolea@netflix.com>

    • -3
    • +44
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 8 more files in changeset.
WIP

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryelements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryElements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryelements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryElements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryElements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryelements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryElements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryelements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Remove utilisation of *-jars usage values

    • -20
    • +20
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 27 more files in changeset.
Remove utilisation of *-jars usage values

    • -20
    • +20
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 53 more files in changeset.