MavenPublishHttpIntegTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improve error messages for missing credentials prerequisites

  1. … 5 more files in changeset.
Remove unnecessary @Unroll annotations from "maven"

  1. … 19 more files in changeset.
Remove unnecessary @Unroll annotations from "maven"

  1. … 19 more files in changeset.
Remove unnecessary @Unroll annotations from "maven"

  1. … 19 more files in changeset.
Remove unnecessary @Unroll annotations from "maven"

  1. … 19 more files in changeset.
Remove unnecessary @Unroll annotations from "maven"

  1. … 19 more files in changeset.
Merge remote-tracking branch 'origin/vv/credentials-providers-v2'

* origin/vv/credentials-providers-v2: (31 commits)

Ignore configuration cache test in instantIntegTest mode

Ensure provided credentials are not cached

Add non null API annotation to credentials provider factory implementation package

Move credentials provider factory interface to core-api module

Add credentials provider test using programmatically registered inputs

Preserve provider semantics in credentials providers

Use Providers.notDefined() instead of custom missing value provider

Simplify credential providers implementation

Suppress unchecked cast warnings

Fail at configuration time when any credential providers are not fulfilled

Remove unused internal field

Do not listen for task graph readiness in credentials provider factory

Use managed properties in credentials provider integration test

Unignore a test that works with configuration cache

Add AWS credentials provider

Provide using a single method accepting the type instead of multiple per-type methods

Simplify credentials provider with inferred identity from repository

Simplify repository credentials identity resolution

Do not expose CredentialsProviderFactory via Project

Fix credentials provider factory unit test

...

    • -36
    • +80
    ./MavenPublishHttpIntegTest.groovy
  1. … 4 more files in changeset.
Use org.gradle.api.credentials.PasswordCredentials internally

org.gradle.api.artifacts.repositories.PasswordCredentials was where PasswordCredentials originated before being moved to org.gradle.api.credentials package together with other Credentials implementations.

After this change org.gradle.api.artifacts.repositories.PasswordCredentials will remain to be used only in the public APIs around repositories.

Once its surface area is reduced, we might be able to deprecate it in favor of org.gradle.api.credentials.PasswordCredentials in a subsequent change.

  1. … 16 more files in changeset.
Preserve provider semantics in credentials providers

  1. … 6 more files in changeset.
Simplify credential providers implementation

Resolve the credentials values in a callable without wrapping it in a Provider again.

  1. … 5 more files in changeset.
Simplify credentials provider with inferred identity from repository

  1. … 5 more files in changeset.
Simplify credentials provider with inferred identity from repository

  1. … 6 more files in changeset.
Do not expose CredentialsProviderFactory via Project

  1. … 3 more files in changeset.
Merge branch 'vv/credentials-providers-v2' into vv/credentials-providers-identity

# Conflicts:

# subprojects/core/src/main/java/org/gradle/internal/service/scopes/ProjectScopeServices.java

  1. … 6 more files in changeset.
Validate credential providers before task execution

  1. … 7 more files in changeset.
Validate credential providers before task execution

  1. … 7 more files in changeset.
Allow to use repository name as credentials identity

  1. … 13 more files in changeset.
Simplify usage of Property<Credentials> in AuthenticationSupporter

  1. … 8 more files in changeset.
Simplify usage of Property<Credentials> in AuthenticationSupporter

  1. … 10 more files in changeset.
Simplify usage of Property<Credentials> in AuthenticationSupporter

  1. … 10 more files in changeset.
Rename credentials provider sad path tests and add TODOs

  1. … 1 more file in changeset.
Add input field Property<Credentials> to publishing tasks

This way the error messages coming from providers are not lost.

  1. … 2 more files in changeset.
Use Property<Credentials> in AuthenticationSupporter

For now, fail due to missing credentials at execution time and with error messages that we currently get.

    • -15
    • +16
    ./MavenPublishHttpIntegTest.groovy
  1. … 6 more files in changeset.
Ensure missing but unused credentials do not prevent other tasks from running

  1. … 1 more file in changeset.
Add credentials provider for username and password credentials

Test the feature via publishing to Maven and Ivy repositories.

Do not add any public APIs at this point.

    • -36
    • +91
    ./MavenPublishHttpIntegTest.groovy
  1. … 11 more files in changeset.
Do not repeat property names in maven http publishing test

Remove duplications in maven http publishing test

    • -93
    • +48
    ./MavenPublishHttpIntegTest.groovy
  1. … 1 more file in changeset.
Add Provider APIs to PasswordCredentials

    • -1
    • +111
    ./MavenPublishHttpIntegTest.groovy
  1. … 4 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

    • -10
    • +10
    ./MavenPublishHttpIntegTest.groovy
  1. … 872 more files in changeset.
Merge branch 'master' into eskatos/ie/instantIntegTest-enable

  1. … 8 more files in changeset.