Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for BOMs (0.05 sec)

  1. src/text/scanner/scanner_test.go

    	checkTok(t, s, 1, s.Scan(), Ident, "b")
    	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")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 03:41:50 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenDependencyManagementImportOrderTest.groovy

    	}
    }
    		"""
    
    		then:
    		succeeds 'verifyUndertowVersion'
    	}
    
    	@Issue("https://github.com/gradle/gradle/issues/2212")
    	def "Verify that if multiple boms declare the same dependency, the first bom wins"() {
    		file("mavenRoot/group/level1/1/level1-1.pom").text = '''\
    <?xml version="1.0" encoding="UTF-8"?>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/jvm/java_platform_plugin.adoc

    it is only used to reference other libraries, so that they play well together during dependency resolution.
    
    Platforms can be published as {metadata-file-spec}[Gradle Module Metadata] and {maven-bom}[Maven BOMs].
    
    NOTE: The `java-platform` plugin cannot be used in combination with the `java` or `java-library` plugins in a given project.
    Conceptually a project is either a platform, with no binaries, _or_ produces binaries.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishDependenciesIntegTest.groovy

                    artifactSelector.classifier == 'classy'
                    isLast()
                }
            }
        }
    
        @Issue("https://github.com/gradle/gradle/issues/26996")
        def "BOMs are not published multiple times"() {
            given:
            mavenRepo.module("org", "foo").publish()
            settingsFile << "rootProject.name = 'root'"
            buildFile << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 16:29:10 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/platforms.adoc

    In the Java ecosystem, Gradle provides a <<java_platform_plugin.adoc#java_platform_plugin,plugin>> for this purpose.
    
    It's also common to find platforms published as Maven BOMs which <<#sub:bom_import,Gradle supports natively>>.
    
    A dependency on a platform is created using the `platform` keyword:
    
    .Getting versions declared in a platform
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 18:33:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  6. src/net/http/sniff.go

    		pat:    []byte("<?xml"),
    		skipWS: true,
    		ct:     "text/xml; charset=utf-8"},
    	&exactSig{[]byte("%PDF-"), "application/pdf"},
    	&exactSig{[]byte("%!PS-Adobe-"), "application/postscript"},
    
    	// UTF BOMs.
    	&maskedSig{
    		mask: []byte("\xFF\xFF\x00\x00"),
    		pat:  []byte("\xFE\xFF\x00\x00"),
    		ct:   "text/plain; charset=utf-16be",
    	},
    	&maskedSig{
    		mask: []byte("\xFF\xFF\x00\x00"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 20 21:51:06 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/ForcingUsingStrictlyPlatformAlignmentTest.groovy

                                constraint(member)
                            }
                            noArtifacts = true
                        }
                        // this is used only in BOMs
                        members.each { member ->
                            constraint(member)
                        }
    
                        withModule(MavenHttpModule) {
                            // make it a BOM
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_maven.adoc

    [[migmvn:using_boms]]
    == Using bills of materials (BOMs)
    
    Maven allows you to share dependency constraints by defining dependencies inside a `<dependencyManagement>` section of a POM file that has a packaging type of `pom`.
    This special type of POM (a BOM) can then be imported into other POMs so that you have consistent library versions across your projects.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  9. src/strconv/quote.go

    // characters other than tab.
    func CanBackquote(s string) bool {
    	for len(s) > 0 {
    		r, wid := utf8.DecodeRuneInString(s)
    		s = s[wid:]
    		if wid > 1 {
    			if r == '\ufeff' {
    				return false // BOMs are invisible and should not be quoted.
    			}
    			continue // All other multibyte runes are correctly encoded and assumed printable.
    		}
    		if r == utf8.RuneError {
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  10. src/go/scanner/scanner.go

    			}
    		case '|':
    			tok = s.switch3(token.OR, token.OR_ASSIGN, '|', token.LOR)
    		case '~':
    			tok = token.TILDE
    		default:
    			// next reports unexpected BOMs - don't repeat
    			if ch != bom {
    				// Report an informative error for U+201[CD] quotation
    				// marks, which are easily introduced via copy and paste.
    				if ch == '“' || ch == '”' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
Back to top