Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 97 for getProperty (0.07 seconds)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            assertEquals("fff", s36, "7");
            String s35 = props2.getProperty("g");
            assertEquals("g", s35, "8");
            String s34 = props2.getProperty("h h");
            assertEquals("", s34, "9");
            String s33 = props2.getProperty(" ");
            assertEquals("i=i", s33, "10");
            String s32 = props2.getProperty("j");
            assertEquals("   j", s32, "11");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/model/PropertiesTest.java

                // Now wrapper2 performs a write operation
                wrapper2.setProperty("from.wrapper2", "value2");
    
                // Both wrappers should see all changes immediately
                assertEquals("value1", wrapper1.getProperty("from.wrapper1"));
                assertEquals("value2", wrapper1.getProperty("from.wrapper2"));
                assertEquals("value1", wrapper2.getProperty("from.wrapper1"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 12 07:26:53 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            systemProperties.setProperty(Constants.MAVEN_BUILD_VERSION, mavenBuildVersion);
    
            Path mavenConf;
            if (systemProperties.getProperty(Constants.MAVEN_INSTALLATION_CONF) != null) {
                mavenConf = context.installationDirectory.resolve(
                        systemProperties.getProperty(Constants.MAVEN_INSTALLATION_CONF));
            } else if (systemProperties.getProperty("maven.conf") != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            String revision = request.getUserProperties().getProperty("revision");
            assertEquals("8.2.0", revision);
    
            assertEquals("bar ", request.getUserProperties().getProperty("foo"));
            assertEquals("bar two", request.getUserProperties().getProperty("foo2"));
            assertEquals("Apache Maven", request.getUserProperties().getProperty("label"));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    or(paths::getProperty, prefix("cli.", commandLine::getOptionValue), systemProperties::getProperty);
    
            Path mavenConf;
            if (systemProperties.getProperty(MAVEN_INSTALLATION_CONF) != null) {
                mavenConf = fileSystem.getPath(systemProperties.getProperty(MAVEN_INSTALLATION_CONF));
            } else if (systemProperties.getProperty("maven.conf") != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java

                    subject.parseInvocation(ParserRequest.mvn(Arrays.asList("-e", "-X"), mock(MessageBuilderFactory.class))
                            .cwd(Path.of(System.getProperty("userDir")))
                            .userHome(Path.of(System.getProperty("userHome")))
                            .build());
    
            Assertions.assertTrue(invokerRequest.options().isPresent());
            Options options = invokerRequest.options().orElseThrow();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            assertEquals("jar", depArtifact.getExtension());
            assertEquals("java", depArtifact.getProperty("language", null));
            assertEquals("jar", depArtifact.getProperty("type", null));
            assertEquals("true", depArtifact.getProperty("constitutesBuildPath", null));
            assertEquals("false", depArtifact.getProperty("includesDependencies", null));
            assertEquals(4, depArtifact.getProperties().size());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            String path = System.getProperty(altLocationSysProp);
    
            if (path == null || path.isEmpty()) {
                // TODO This replacing shouldn't be necessary as user.home should be in the
                // context of the container and thus the value would be interpolated by Plexus
                String basedir = System.getProperty(basedirSysProp);
                if (basedir == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

        }
    
        def cleanup() {
            repository?.close()
        }
    
        def "each new #apiElement requires a @Incubating annotation"() {
            given:
            JApiCompatibility jApiType = getProperty(jApiTypeName)
            def rule = withContext(new IncubatingMissingRule([:]))
            def annotations = []
            jApiType.annotations >> annotations
    
            when:
            annotations.clear()
    
            then:
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 16K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

         */
        public static final String OS_NAME = System.getProperty("os.name").toLowerCase(Locale.ENGLISH);
    
        /**
         * The OA architecture.
         */
        public static final String OS_ARCH = System.getProperty("os.arch").toLowerCase(Locale.ENGLISH);
    
        /**
         * The OS version.
         */
        public static final String OS_VERSION = System.getProperty("os.version").toLowerCase(Locale.ENGLISH);
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top