Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 476 for classifier2 (0.48 sec)

  1. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishArtifactCustomizationIntegTest.groovy

                        artifact source: "customFile.txt", classifier: "output"
                        artifact source: customFileTask.outputFile, extension: "htm", classifier: "documentation", builtBy: customFileTask
                        artifact source: regularFileTask.outputFile, extension: "txt", classifier: "regular"
                        artifact source: customJar, extension: "war", classifier: null
                    }
                }
    """)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 06:46:01 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishArtifactCustomizationIntegTest.groovy

                    noComponentPublished()
                }
            }
        }
    
        def "can publish artifact with classifier"() {
            given:
            createBuildScripts("""
                publications {
                    ivy(IvyPublication) {
                        artifact source: customJar, classifier: "classy"
                    }
                }
    """)
            when:
            succeeds 'publish'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  3. maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultVersionResolverTest.java

            VersionRequest requestB = new VersionRequest();
            requestB.addRepository(newTestRepository());
            Artifact artifactB =
                    new DefaultArtifact("org.apache.maven.its", "dep-mng5324", "classifierB", "jar", "07.20.3-SNAPSHOT");
            requestB.setArtifact(artifactB);
    
            VersionResult resultB = versionResolver.resolveVersion(session, requestB);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

                sb.append(" -Dversion=");
                sb.append(version);
    
                // insert classifier only if it was used in the artifact
                if (classifier != null && !classifier.equals("")) {
                    sb.append(" -Dclassifier=");
                    sb.append(classifier);
                }
                sb.append(" -Dpackaging=");
                sb.append(type);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/ClassifierToVariantResolveIntegrationTest.groovy

         * If a Maven consumer wants to use that artifact, it has no choice but using <classifier>,
         * so if a Gradle consumer depends on that Maven published library, we want to make sure we
         * can match this classified dependency to a proper variant.
         */
        def "reasonable behavior when a Maven library uses a classifier to select a Gradle variant"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/publisher/ValidatingMavenPublisherTest.groovy

            where:
            extension | classifier     | message
            null      | "classifier"   | "extension cannot be null"
            "ext"     | ""             | "classifier cannot be an empty string. Use null instead"
            "ex\r"    | "classifier"   | "extension cannot contain ISO control character '\\u000d'"
            "ex/"     | "classifier"   | "extension cannot contain '/'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 12K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/compatibility/ArtifactAndClassifierCompatibilityIntegrationTest.groovy

        }
    
        @Issue("gradle/gradle#11825")
        def "dependency on different classifiers of a given module"() {
            given:
            repository {
                'org:foo:1.0' {
                    dependsOn(group: 'org', artifact:'bar', version:'1.0', classifier:'classy')
                    dependsOn(group: 'org', artifact:'bar', version:'1.0', classifier:'other')
                }
                'org:bar:1.0' {
                    withModule {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolvedConfigurationApiIntegrationTest.groovy

            println "names: " + configurations.compile.resolvedConfiguration.resolvedArtifacts.collect { "\$it.name:\$it.extension:\$it.type" }
            println "classifiers: " + configurations.compile.resolvedConfiguration.resolvedArtifacts.collect { it.classifier }
        }
    }
    """
    
            when:
            m1.ivy.expectGet()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 30 18:17:47 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ArtifactSelectionDetails.java

         *
         * @param type the type of the artifact being queried
         * @param extension the extension, defaults to the type
         * @param classifier the classifier, defaults to null (no classifier)
         */
        void selectArtifact(String type, @Nullable String extension, @Nullable String classifier);
    
        /**
         * Adds an artifact to substitute.
         *
         * This method is a convenience to re-register artifacts requested by the original
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 23 15:47:10 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  10. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publisher/ValidatingIvyPublisherTest.groovy

            where:
            name    | type    | extension | classifier   | message
            null    | "type"  | "ext"     | "classifier" | "name cannot be null"
            ""      | "type"  | "ext"     | "classifier" | "name cannot be empty"
            "na/me" | "type"  | "ext"     | null         | "name cannot contain '/'"
            "name"  | null    | "ext"     | "classifier" | "type cannot be null"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 15K bytes
    - Viewed (0)
Back to top