MavenPomResolveIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -2
    • +2
    ./MavenPomResolveIntegrationTest.groovy
  1. … 872 more files in changeset.
Annotate integ tests failing with instant execution in :dependencyManagement

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./MavenPomResolveIntegrationTest.groovy
  1. … 93 more files in changeset.
Break maven pom relocation integration test into multiple scenario and add two unit tests

    • -5
    • +4
    ./MavenPomResolveIntegrationTest.groovy
  1. … 2 more files in changeset.
Merge two integration tests for https://github.com/gradle/gradle/issues/1789

    • -4
    • +5
    ./MavenPomResolveIntegrationTest.groovy
  1. … 1 more file in changeset.
Ignore artifact when relocation exists in pom

This fixes https://github.com/gradle/gradle/issues/1789

When <relocation> element exists in pom, both original artifact

(if it exists) and relocated artifact will be downloaded, which causes

package conflict. For example, org.apache.commons:commons-io:1.3.2 is

relocated to commons-io:commons-io:1.3.2, if a project depends on

org.apache.commons:commons-io:1.3.2 and commons-io:commons-io:2.4, the

two artifacts will both exist in resolved classpath.

(See MavenPomPackagingResolveIntegrationTest.groovy provided in this

commit) This fix checks if relocation exists in pom and ignore its

artifact if necessary. This problem is first introduced in Gradle 2.0.

An integration test is provide to justify the fix.

In addition, an unnecessary artifact retrieval in test and a redundant

System.out.println("") is removed.

    • -1
    • +0
    ./MavenPomResolveIntegrationTest.groovy
  1. … 3 more files in changeset.
Use doLast instead of left shift operator

Made this change in preparation for deprecating the left shift operator.

+review REVIEW-6236

    • -1
    • +1
    ./MavenPomResolveIntegrationTest.groovy
  1. … 163 more files in changeset.
More integration testing of POM with property replacement in <dependencyManagement>

    • -0
    • +44
    ./MavenPomResolveIntegrationTest.groovy
  1. … 3 more files in changeset.
Renamed subprojects/core-impl to subprojects/dependency-management.

    • -0
    • +64
    ./MavenPomResolveIntegrationTest.groovy
  1. … 1384 more files in changeset.