Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for myartifact2 (0.29 sec)

  1. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            exc.setArtifactId( "test-artifact3" );
    
            dep1.addExclusion( exc );
    
            Dependency dep2 = new Dependency();
            dep2.setGroupId( "test" );
            dep2.setArtifactId( "test-artifact2" );
            dep2.setVersion( "1" );
            dep2.setType( "jar" );
    
            List<Dependency> deps = new ArrayList<>();
            deps.add( dep1 );
            deps.add( dep2 );
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/CatalogPluginsKotlinDSLIntegrationTest.groovy

            new PluginBuilder(file("greeter-second"))
                .addPluginWithPrintlnTask('greet2', 'Hello from second plugin!', secondPluginId, "SecondPlugin")
                .publishAs("some", "artifact2", pluginVersion, pluginPortal, executer)
                .allowAll()
    
            file("settings.gradle") << """
                dependencyResolutionManagement {
                    versionCatalogs {
                        libs {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  3. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/publisher/ValidatingMavenPublisherTest.groovy

                getClassifier() >> "classified"
                getFile() >> testDir.createFile('artifact1')
            }
            MavenArtifact artifact2 = Stub() {
                getExtension() >> "ext1"
                getClassifier() >> "classified"
                getFile() >> testDir.createFile('artifact2')
            }
            def projectIdentity = makeProjectIdentity("group", "artifact", "version")
            def pomFile = createPomFile(projectIdentity)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 12K bytes
    - Viewed (0)
  4. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publisher/ValidatingIvyPublisherTest.groovy

            }
            IvyArtifact artifact2 = Stub() {
                getName() >> "name"
                getExtension() >> "ext1"
                getType() >> "type"
                getClassifier() >> "classified"
                getFile() >> testDirectoryProvider.createFile('artifact2')
            }
            def publication = new IvyNormalizedPublication("pub-name", coordinates, ivyFile(), [artifact1, artifact2] as Set)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 15K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/CatalogPluginsGroovyDSLIntegrationTest.groovy

                .publishAs("some", "artifact2", pluginVersion, pluginPortal, executer)
                .allowAll()
    
            file("settings.gradle") << """
    dependencyResolutionManagement {
        versionCatalogs {
            libs {
                library('$alias', 'some', 'artifact').version('1.5')
                library('$alias-second', 'some', 'artifact2').version('1.5')
            }
        }
    }"""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/type/DefaultArtifactTypeRegistryTest.groovy

            def artifactName1 = Stub(IvyArtifactName)
            def artifact2 = Stub(ComponentArtifactMetadata)
            def artifactName2 = Stub(IvyArtifactName)
    
            given:
            artifact1.name >> artifactName1
            artifactName1.extension >> "jar"
            artifactName1.type >> "jar"
            artifact2.name >> artifactName2
            artifactName2.extension >> "zip"
            artifactName2.type >> "zip"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 14:43:17 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publication/DefaultIvyPublicationTest.groovy

            then:
            notationParser.parseNotation("notation1") >> ivyArtifact1
            notationParser.parseNotation("notation2") >> ivyArtifact2
    
            and:
            publication.artifacts == [ivyArtifact1, ivyArtifact2] as Set
        }
    
        def "resolving the publishable files does not throw if gradle metadata is not activated"() {
            given:
            def publication = createPublication()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 01:33:41 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/jvm/internal/DefaultJvmPluginServicesTest.groovy

            def artifact1 = Stub(TaskProvider)
            def artifact2 = Stub(File)
    
            when:
            services.replaceArtifacts(config, artifact1, artifact2)
    
            then:
            1 * outgoing.getArtifacts() >> artifacts
            1 * artifacts.clear()
            1 * artifacts2.clear()
            1 * outgoing.artifact(artifact1)
            1 * outgoing.artifact(artifact2)
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/IvyDependencyDescriptorTest.groovy

            def artifact2 = new Artifact(new DefaultIvyArtifactName("art2", "type", "ext"), ["other"] as Set)
            def artifact3 = new Artifact(new DefaultIvyArtifactName("art3", "type", "ext"), ["super"] as Set)
    
            given:
            def metadata = createWithArtifacts(requested, [artifact1, artifact2, artifact3])
    
            expect:
            metadata.dependencyArtifacts.size() == 3
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/publication/DefaultMavenPublicationTest.groovy

            artifact1.classifier >> ""
            artifact1.extension >> "jar"
            def artifact2 = Mock(PublishArtifact)
            artifact2.file >> artifactFile
            artifact2.classifier >> ""
            artifact2.extension >> "jar"
            def variant1 = createVariant([artifact1], [], 'api')
            def variant2 = createVariant([artifact2], [], 'runtime')
            def component = Stub(SoftwareComponentInternal)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 01:33:41 UTC 2023
    - 24.8K bytes
    - Viewed (0)
Back to top