integtests

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix Unrolled tests with partial success with instant execution

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

    • -3
    • +3
    ./publish/maven/SamplesMavenPomGenerationIntegrationTest.groovy
  1. … 7 more files in changeset.
Fix Unrolled tests with partial success with instant execution

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

    • -4
    • +4
    ./publish/maven/SamplesMavenPomGenerationIntegrationTest.groovy
  1. … 18 more files in changeset.
Treat single version ranges as "required"

This commit changes the way Gradle handles single version

ranges to treat them like Maven does: they are effectively

"exact" version selectors (not strictly).

Fixes #11185

    • -1
    • +1
    ./publish/maven/MavenVersionRangePublishIntegrationTest.groovy
  1. … 6 more files in changeset.
Revert "Remove sourceJar task in favor of sourcesJar (plural)"

This reverts commit a965be46

    • -2
    • +2
    ./publish/maven/MavenPublishIntegrationTest.groovy
  1. … 8 more files in changeset.
Remove sourceJar task in favor of sourcesJar (plural)

    • -2
    • +2
    ./publish/maven/MavenPublishIntegrationTest.groovy
  1. … 10 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

    • -2
    • +2
    ./publish/maven/MavenEarProjectPublishIntegrationTest.groovy
    • -5
    • +5
    ./publish/maven/MavenJavaProjectPublishIntegrationTest.groovy
    • -15
    • +15
    ./publish/maven/MavenMultiProjectPublishIntegrationTest.groovy
    • -6
    • +6
    ./publish/maven/MavenPomGenerationPublishIntegrationTest.groovy
    • -20
    • +20
    ./publish/maven/MavenPublishIntegrationTest.groovy
    • -2
    • +2
    ./publish/maven/MavenSettingsPublishIntegrationTest.groovy
    • -3
    • +3
    ./publish/maven/MavenVersionRangePublishIntegrationTest.groovy
    • -2
    • +2
    ./publish/maven/MavenWagonPublishIntegrationTest.groovy
    • -2
    • +2
    ./publish/maven/MavenWarProjectPublishIntegrationTest.groovy
    • -5
    • +5
    ./publish/maven/SamplesMavenPomGenerationIntegrationTest.groovy
    • -3
    • +3
    ./publish/maven/SamplesMavenQuickstartIntegrationTest.groovy
  1. … 862 more files in changeset.
Annotate integ tests failing with instant execution in various projects

removing most of @IgnoreWithInstantExecution annotations

after fixing the @FailsWithInstantExecution rule

and more ci feedback

also make @IgnoreWithInstantExecution require a reason from a fixed set

and add it to the remaining ignores

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

    • -5
    • +4
    ./publish/maven/MavenPublishIntegrationTest.groovy
    • -2
    • +1
    ./publish/maven/SamplesMavenPomGenerationIntegrationTest.groovy
  1. … 125 more files in changeset.
Annotate integ tests failing with instant execution in various projects

after third round of CI feedback

much better, no more OOMEs, no more hung builds, no more console

replacement weirdness

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

    • -0
    • +4
    ./publish/maven/SamplesMavenPomGenerationIntegrationTest.groovy
    • -0
    • +3
    ./publish/maven/SamplesMavenQuickstartIntegrationTest.groovy
  1. … 36 more files in changeset.
Annotate integ tests failing with instant execution in various projects

after second round of CI feedback

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

    • -4
    • +0
    ./publish/maven/SamplesMavenPomGenerationIntegrationTest.groovy
    • -3
    • +0
    ./publish/maven/SamplesMavenQuickstartIntegrationTest.groovy
  1. … 31 more files in changeset.
Annotate integ tests failing with instant execution in :maven

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

    • -0
    • +2
    ./publish/maven/MavenEarProjectPublishIntegrationTest.groovy
    • -0
    • +5
    ./publish/maven/MavenJavaProjectPublishIntegrationTest.groovy
    • -0
    • +15
    ./publish/maven/MavenMultiProjectPublishIntegrationTest.groovy
    • -0
    • +6
    ./publish/maven/MavenPomGenerationPublishIntegrationTest.groovy
    • -0
    • +22
    ./publish/maven/MavenPublishIntegrationTest.groovy
    • -0
    • +3
    ./publish/maven/MavenSettingsPublishIntegrationTest.groovy
    • -0
    • +3
    ./publish/maven/MavenVersionRangePublishIntegrationTest.groovy
    • -0
    • +2
    ./publish/maven/MavenWagonPublishIntegrationTest.groovy
    • -0
    • +2
    ./publish/maven/MavenWarProjectPublishIntegrationTest.groovy
    • -0
    • +6
    ./publish/maven/SamplesMavenPomGenerationIntegrationTest.groovy
    • -0
    • +3
    ./publish/maven/SamplesMavenQuickstartIntegrationTest.groovy
  1. … 29 more files in changeset.
Rename methods for javadoc and sources jar creation

The new name reflects better what happens exactly when the option is

activated on the java extension.

The publication part is only applicable when a publishing plugin is also

configured.

Issue #11140

    • -1
    • +1
    ./publish/maven/MavenPublishIntegrationTest.groovy
  1. … 25 more files in changeset.
Rename methods for javadoc and sources jar creation

The new name reflects better what happens exactly when the option is

activated on the java extension.

The publication part is only applicable when a publishing plugin is also

configured.

Issue #11140

    • -1
    • +1
    ./publish/maven/MavenPublishIntegrationTest.groovy
  1. … 24 more files in changeset.
Add sha-256 and sha-512 checksums to `maven-publish`

This commit adds the SHA-256 and SHA-512 checksums in:

- Gradle Module Metadata

- uploads to Maven repositories using the `maven-publish` plugin

The upload of those additional files is failsafe, just in case some

repositories don't support those checksum files.

    • -1
    • +1
    ./publish/maven/MavenEarProjectPublishIntegrationTest.groovy
    • -0
    • +4
    ./publish/maven/MavenJavaProjectPublishIntegrationTest.groovy
    • -16
    • +16
    ./publish/maven/MavenPublishIntegrationTest.groovy
    • -1
    • +1
    ./publish/maven/MavenVersionRangePublishIntegrationTest.groovy
    • -1
    • +1
    ./publish/maven/MavenWarProjectPublishIntegrationTest.groovy
    • -1
    • +1
    ./publish/maven/SamplesMavenQuickstartIntegrationTest.groovy
  1. … 28 more files in changeset.
Configure Javadoc and sources separately and create tasks only on demand

    • -0
    • +4
    ./publish/maven/MavenPublishIntegrationTest.groovy
  1. … 34 more files in changeset.
Adjust samples to use the built-in javadoc/sources functionality

    • -5
    • +0
    ./publish/maven/MavenPublishIntegrationTest.groovy
  1. … 10 more files in changeset.
Deprecate the maven/ivy plugins

This commit introduces a deprecation warning for the `maven` plugin.

Because there's no such thing as an `ivy` plugin, we also deprecate

the _use_ of the `uploadArchives` task, which corresponds to uploading

with `ivy`, but is defined in the `base` plugin that we cannot

deprecate.

    • -0
    • +2
    ./publish/maven/MavenPublishIntegrationTest.groovy
    • -0
    • +2
    ./publish/maven/MavenPublishRepoDslIntegrationTest.groovy
    • -0
    • +1
    ./publish/maven/MavenSettingsPublishIntegrationTest.groovy
    • -0
    • +2
    ./publish/maven/MavenWagonPublishIntegrationTest.groovy
    • -0
    • +2
    ./publish/maven/SamplesMavenQuickstartIntegrationTest.groovy
  1. … 11 more files in changeset.
Fix integration tests that more strictly check for credentials

    • -14
    • +13
    ./publish/maven/MavenPublishIntegrationTest.groovy
  1. … 1 more file in changeset.
Update samples to use new Java plugin configurations

    • -1
    • +1
    ./publish/maven/SamplesMavenPomGenerationIntegrationTest.groovy
  1. … 65 more files in changeset.
Allow deprecation warnings in legacy maven plugin tests

    • -0
    • +6
    ./publish/maven/MavenEarProjectPublishIntegrationTest.groovy
    • -0
    • +5
    ./publish/maven/MavenJavaProjectPublishIntegrationTest.groovy
    • -0
    • +2
    ./publish/maven/MavenMultiProjectPublishIntegrationTest.groovy
    • -0
    • +2
    ./publish/maven/MavenPomGenerationPublishIntegrationTest.groovy
    • -1
    • +3
    ./publish/maven/MavenPublishIntegrationTest.groovy
    • -0
    • +2
    ./publish/maven/MavenVersionRangePublishIntegrationTest.groovy
    • -0
    • +5
    ./publish/maven/MavenWarProjectPublishIntegrationTest.groovy
    • -0
    • +2
    ./publish/maven/SamplesMavenPomGenerationIntegrationTest.groovy
Replace 'Matchers' with 'CoreMatchers'

So we do not require 'org.hamcrest:hamcrest-library' as additional

dependency anymore. Which was only available for most of the tests

because it leaked onto the test compile classpath.

    • -2
    • +2
    ./publish/maven/SamplesMavenPomGenerationIntegrationTest.groovy
  1. … 162 more files in changeset.
Remove Maven 2 publishing mode

    • -55
    • +0
    ./publish/maven/MavenNonUniqueSnapshotPublishIntegrationTest.groovy
    • -2
    • +1
    ./publish/maven/MavenPublishIntegrationTest.groovy
  1. … 6 more files in changeset.
Use `require` instead of `prefer` in more tests

    • -1
    • +1
    ./publish/maven/MavenJavaProjectPublishIntegrationTest.groovy
  1. … 11 more files in changeset.
Fix SamplesMavenPomGenerationIntegrationTest

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

    • -3
    • +0
    ./publish/maven/SamplesMavenPomGenerationIntegrationTest.groovy
maven_plugin.adoc: Kotlin DSL sample for maven/pomGeneration

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

    • -15
    • +61
    ./publish/maven/SamplesMavenPomGenerationIntegrationTest.groovy
  1. … 35 more files in changeset.
maven_plugin.adoc: Kotlin DSL sample for maven/quickstart

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

    • -15
    • +33
    ./publish/maven/SamplesMavenQuickstartIntegrationTest.groovy
  1. … 11 more files in changeset.
Fix maven usages of output test fixtures

    • -1
    • +1
    ./publish/maven/MavenSettingsPublishIntegrationTest.groovy
Fix int tests for changes to test fixtures.

    • -1
    • +1
    ./publish/maven/MavenWagonPublishIntegrationTest.groovy
  1. … 3 more files in changeset.
Change int tests to use relevant fixture methods to express their expectations about the build log output.

    • -1
    • +1
    ./publish/maven/MavenWagonPublishIntegrationTest.groovy
  1. … 30 more files in changeset.
Improve test coverage for SNAPSHOT publishing

- Extract coverage into separate test case

- Verify maven-metadata.xml for snapshots

    • -0
    • +20
    ./publish/maven/MavenPublishIntegrationTest.groovy
  1. … 8 more files in changeset.
Remove SFTP publish test that has always been ignored

This test demonstrates failure using `uploadArchives` and SFTP.

Now that we support SFTP with `maven-publish`, I don't think there's

any reason to keep this failing test around.

    • -99
    • +0
    ./publish/maven/MavenSftpPublishIntegrationTest.groovy