MavenPomRelocationIntegrationTest.groovy

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
wip - fix more tests

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

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

    • -1
    • +0
    ./MavenPomRelocationIntegrationTest.groovy
  1. … 46 more files in changeset.
Add test coverage for runtime/compile classpath of relocated dependency

    • -7
    • +25
    ./MavenPomRelocationIntegrationTest.groovy
Make sure relocated POMs are visible in the `Compile` scope

This commit changes the dependency scope for relocated POM files. Previously,

we added a dependency using the `Runtime` scope. But since we activated derived

variants by default, we're using attribute based matching, which has the consequence

that a dependency added in the `compile` (`implementation`) configuration will

not get runtime dependencies anymore. Since the runtime classpath extends the

compile classpath, this commit changes the default mapped scope to `compile`, so

that relocated dependencies are visible to both scopes. It should have no

impact on leaking dependencies since the transitive, relocated, dependency will

have its `runtime` or `compile` dependencies selected appropriately.

Fixes gradle/gradle-private#1527

    • -3
    • +3
    ./MavenPomRelocationIntegrationTest.groovy
  1. … 1 more file in changeset.
Resolve parent and imported POMs as selectors, not ids

    • -1
    • +24
    ./MavenPomRelocationIntegrationTest.groovy
  1. … 3 more files in changeset.
Refine naming for MavenPomRelocationIntegrationTest

    • -17
    • +18
    ./MavenPomRelocationIntegrationTest.groovy
Refactor relocation integration test and add a test for double-relocatio

    • -80
    • +57
    ./MavenPomRelocationIntegrationTest.groovy
Break maven pom relocation integration test into multiple scenario and add two unit tests

    • -0
    • +146
    ./MavenPomRelocationIntegrationTest.groovy
  1. … 2 more files in changeset.