Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for publishPom (0.19 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenVersionRangeResolveIntegrationTest.groovy

            mavenRepo.module('org.test', 'parent', '2.0').dependsOn('org.test', 'dep', '2.0').publishPom()
            mavenRepo.module('org.test', 'parent', '2.1').dependsOn('org.test', 'dep', '2.1').publishPom()
            mavenRepo.module('org.test', 'parent', '3.0').dependsOn('org.test', 'dep', '3.0').publishPom()
            mavenRepo.module('org.test', 'dep', '2.1').publish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenPomResolveIntegrationTest.groovy

                rootProject.name = 'test'
            """
        }
    
        def "follows relocation to another group"() {
            given:
            def original = mavenHttpRepo.module("groupA", "projectA", "1.2").publishPom()
            original.pomFile.text = """
    <project>
        <groupId>groupA</groupId>
        <artifactId>projectA</artifactId>
        <version>1.2</version>
        <distributionManagement>
            <relocation>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenLocalRepoResolveIntegrationTest.groovy

        }
    
        @Issue('GRADLE-2034')
        def "mavenLocal fails to resolve artifact if contains pom but not artifact"() {
            given:
            m2.mavenRepo().module('group', 'projectA', '1.2').publishPom()
    
            when:
            runAndFail 'retrieve'
    
            then:
            failure.assertHasCause('Could not find group:projectA:1.2')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:32 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenPomPackagingResolveIntegrationTest.groovy

        }
    
        def "ignores missing jar artifact for pom with packaging of type 'pom'"() {
            when:
            buildWithDependencies("compile 'group:projectA:1.0'")
            projectARepo1.hasPackaging("pom").publishPom()
    
            and:
            projectARepo1.pom.expectGet()
            projectARepo1.artifact.expectHeadMissing()
    
            and:
            run 'retrieve'
    
            then:
            file('libs').assertDoesNotExist()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/NonDeclarativePluginUseIntegrationSpec.groovy

                    project.task('pluginTask')
                """
    
            pluginRepo.module(GROUP, ARTIFACT, VERSION).dependsOn(GROUP, ARTIFACT + "2", VERSION).publishPom()
    
            when:
            buildScript """
                $USE
    
                def ops = []
    
                plugins.withId('$PLUGIN_ID') {
                  ops << "withId 1"
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/DelegatingMavenModule.java

            return t();
        }
    
        @Override
        public T publish() {
            backingModule.publish();
            return t();
        }
    
        @Override
        public T publishPom() {
            backingModule.publishPom();
            return t();
        }
    
        @Override
        public T publishWithChangedContent() {
            backingModule.publishWithChangedContent();
            return t();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenModule.groovy

         *
         * @return this
         */
        MavenModule publish()
    
        /**
         * Publishes the pom.xml only
         */
        MavenModule publishPom()
    
        /**
         * Publishes the pom.xml plus main artifact, plus any additional artifacts for this module, with different content (and size) to any
         * previous publication.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenPomRelocationIntegrationTest.groovy

        def publishPomWithRelocation(String groupId, String artifactId, String relocationGroupId, String relocationArtifactId, String relocationVersion = null) {
            def module = mavenHttpRepo.module(groupId, artifactId, '1.0').publishPom()
            def relocation = relocationGroupId ? "<groupId>${relocationGroupId}</groupId>" : ''
            relocation += relocationArtifactId ? "<artifactId>${relocationArtifactId}</artifactId>" : ''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/ResolvingFromMultipleCustomPluginRepositorySpec.groovy

            def abModule = publishPlugin(pluginAB, repoB).pluginModule
            (publishPlugin(pluginA, repoA).pluginModule as MavenModule)
                .dependsOn(abModule.group, abModule.module, abModule.version)
                .publishPom()
    
            and:
            use(repoB, repoA)
    
            and:
            buildFile << """
                plugins {
                    id "$pluginA" version "1.0"
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:30:55 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/AbstractMavenModule.groovy

            )
            def moduleFile = moduleDir.file("$artifactId-${publishArtifactVersion}.module")
            publish(moduleFile) {
                adapter.publishTo(it, publishCount)
            }
        }
    
        @Override
        MavenModule publishPom() {
            moduleDir.createDir()
            def rootMavenMetaData = getRootMetaDataFile()
    
            updateRootMavenMetaData(rootMavenMetaData)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top