Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for bom1 (0.04 sec)

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

            given:
            mavenHttpRepo.module('group', 'main', '5.0').allowAll().parent(bom.group, bom.artifactId, bom.version).publish()
            bomDependency('moduleA')
            bomDependency('moduleB')
            bom.publish()
            bom.pomFile.text = bom.pomFile.text.replace("<version>2.0</version>", "")
    
            buildFile << """
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/platforms.adoc

    In order to qualify as a BOM, a `.pom` file needs to have `<packaging>pom</packaging>` set.
    
    However often BOMs are not only providing versions as recommendations, but also a way to override any other version found in the graph.
    You can enable this behavior by using the `enforcedPlatform` keyword, instead of `platform`, when importing the BOM:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 18:33:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  3. src/text/scanner/scanner_test.go

    	checkTok(t, s, 1, s.Scan(), EOF, "")
    }
    
    func TestScanNext(t *testing.T) {
    	const BOM = '\uFEFF'
    	BOMs := string(BOM)
    	s := new(Scanner).Init(strings.NewReader(BOMs + "if a == bcd /* com" + BOMs + "ment */ {\n\ta += c\n}" + BOMs + "// line comment ending in eof"))
    	checkTok(t, s, 1, s.Scan(), Ident, "if") // the first BOM is ignored
    	checkTok(t, s, 1, s.Scan(), Ident, "a")
    	checkTok(t, s, 1, s.Scan(), '=', "=")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 03:41:50 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserBomTest.groovy

            dep.constraint
            !dep.transitive
        }
    
        def 'exclusion on imported BOM is ignored'() {
            given:
            def bomFile = tmpDir.file('bom.xml') << """
    <project>
        <modelVersion>4.0.0</modelVersion>
        <groupId>group-a</groupId>
        <artifactId>bom</artifactId>
        <version>1.0</version>
        <packaging>pom</packaging>
    
        <dependencyManagement>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/yaml/yaml_test.go

    g: &g [*f,*f,*f,*f,*f,*f,*f,*f,*f,*f,*f,*f,*f,*f,*f,*f,*f,*f]
    h: &h [*g,*g,*g,*g,*g,*g,*g,*g,*g,*g,*g,*g,*g,*g,*g,*g,*g,*g]
    i: &i [*h,*h,*h,*h,*h,*h,*h,*h,*h,*h,*h,*h,*h,*h,*h,*h,*h,*h]
    kind: ConfigMap
    metadata:
    name: yaml-bomb
    namespace: default
    `),
    		},
    		{
    			name:  "arrays of empty string aliases",
    			error: "excessive aliasing",
    			data: []byte(`
    apiVersion: v1
    data:
    a: &a ["","","","","","","","",""]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 06 20:18:22 UTC 2020
    - 14.3K bytes
    - Viewed (0)
  6. maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            assertTrue(problem.toString().contains("Ignored POM import"));
        }
    
        /**
         * This test has
         *   - a BOM import which itself imports the junit BOM which manages the dep to 0.1
         *   - a BOM import to the junit BOM which manages the dep to 0.2
         * This <i>currently</i> results in 0.1 (first wins, unexpected as this is not the closest) and a warning
         */
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Feb 01 16:25:04 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_maven.adoc

    .Importing a BOM in a Gradle build
    ====
    include::sample[dir="snippets/mavenMigration/importBom/kotlin",files="build.gradle.kts[tags=bom]"]
    include::sample[dir="snippets/mavenMigration/importBom/groovy",files="build.gradle[tags=bom]"]
    ====
    <1> Applies the Spring Boot Dependencies BOM
    <2> Adds a dependency whose version is defined by that BOM
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/dependency_version_alignment.adoc

    === Align versions of modules using a published BOM
    
    .A dependency version alignment rule
    ====
    include::sample[dir="snippets/dependencyManagement/managingTransitiveDependencies-dependencyAlignment/kotlin",files="build.gradle.kts[tags=bom-alignment-rule]"]
    include::sample[dir="snippets/dependencyManagement/managingTransitiveDependencies-dependencyAlignment/groovy",files="build.gradle[tags=bom-alignment-rule]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/platforms/PlatformResolveIntegrationTest.groovy

                .withVariant('api') {
                    dependsOn('jack', 'bom', '1.0') {
                        endorseStrictVersions = true
                        attribute(Category.CATEGORY_ATTRIBUTE.name, Category.REGULAR_PLATFORM)
                    }
                    dependsOn('spring', 'bom', '2.0') {
                        endorseStrictVersions = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/ForcingUsingStrictlyPlatformAlignmentTest.groovy

                            noArtifacts = true
                        }
                        // this is used only in BOMs
                        members.each { member ->
                            constraint(member)
                        }
    
                        withModule(MavenHttpModule) {
                            // make it a BOM
                            hasPackaging('pom')
                        }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 21.6K bytes
    - Viewed (0)
Back to top