Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for publishPom (0.3 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/plugin/PluginBuilder.groovy

        }
    
        void prepareToExecute() {
            buildFile << generateManagedBuildScript()
            buildFile << getPluginDescriptors(pluginIds)
            projectDir.file('settings.gradle').write("")
        }
    
        void publishTo(GradleExecuter executer, TestFile testFile, String buildScript = "") {
            prepareToExecute()
            buildFile << buildScript
            buildFile << """
                jar {
                    archiveFileName = "$testFile.name"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/SettingsScriptVisibilityIntegrationTest.groovy

            plugin1Builder.publishTo(executer, plugin1Jar)
            def plugin1ClassName = "${plugin1Builder.packageName}.MySettingsPlugin1"
    
            def plugin2Builder = new PluginBuilder(file("plugin2"))
            plugin2Builder.addSettingsPlugin("", "test.plugin2", "MySettingsPlugin2")
            def plugin2Jar = file("plugin2.jar")
            plugin2Builder.publishTo(executer, plugin2Jar)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top