Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 70 for setProperties (0.07 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         *
         * @param project the project for which to get the properties
         *
         * @see #setProperty(Project, String, String)
         */
        @Nonnull
        Map<String, String> getProperties(@Nonnull Project project);
    
        /**
         * Set a given project property. Properties set through this method are only valid
         * for the current build session and do not modify the underlying project model.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        }
    
        /**
         * Gets the system properties to use for interpolation and profile activation. The system properties are collected
         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
         * @return The system properties, never {@code null}.
         */
        public Properties getSystemProperties() {
            return request.getSystemProperties();
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/site/apt/index.apt

    *----+------+------+
    | <<<*>>> | Java system properties (see {{{https://docs.oracle.com/javase/8/docs/api/java/lang/System.html#getProperties()}JDK reference}}) | <<<$\{user.home\}>>>\
     | | <<<$\{java.home\}>>> |
    *----+------+------+
    | <<<*>>> | User properties | <<<$\{foo\}>>> |
    *----+------+------+
    | <<<env.*>>>\
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 03 08:42:52 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        @AfterEach
        void tearDown() throws Exception {
            if (origBasedir != null) {
                System.setProperty(MavenCli.MULTIMODULE_PROJECT_DIRECTORY, origBasedir);
            } else {
                System.getProperties().remove(MavenCli.MULTIMODULE_PROJECT_DIRECTORY);
            }
        }
    
        // Helper method for containsExactlyInAnyOrder assertion
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertFalse(result.containsKey("not here"));
    
        // Test loading system properties
        result = Maps.fromProperties(System.getProperties());
        assertTrue(result.containsKey("java.version"));
    
        // Test that defaults work, too.
        testProp = new Properties(System.getProperties());
        String override = "test\njava.version : hidden";
    
        testProp.load(new StringReader(override));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

            if (logger.isDebugEnabled()) {
                try {
                    ManagementFactory.getRuntimeMXBean().getInputArguments().stream().forEach(s -> logger.debug("Parameter: {}", s));
                    System.getProperties()
                            .entrySet()
                            .stream()
                            .forEach(e -> logger.debug("Property: {}={}", e.getKey(),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/http/NetworkExplorer.java

            final StringBuilder sb = new StringBuilder();
            final byte[] buf = new byte[1024];
            int n;
            String name;
    
            final Properties p = new Properties();
            p.putAll(System.getProperties());
            p.setProperty("jcifs.smb.client.soTimeout", "600000");
            p.setProperty("jcifs.smb.client.attrExpirationPeriod", "300000");
    
            final Enumeration<String> e = getInitParameterNames();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            File propFile = new File(tempDir, "test.properties");
    
            // Mock ComponentUtil.getSystemProperties() to return actual system properties
            Properties systemProps = System.getProperties();
    
            // Set a system property
            System.setProperty("test.prop", "test.value");
    
            execJob.testCreateSystemProperties(cmdList, propFile);
    
            assertTrue(propFile.exists());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                if (modelBase != null) {
                    visit(modelBase.getModules());
                    visit(modelBase.getDistributionManagement());
                    visit(modelBase.getProperties());
                    visit(modelBase.getDependencyManagement());
                    for (Dependency dependency : modelBase.getDependencies()) {
                        visit(dependency);
                    }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 43.1K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                if (hasExpression(m.getVersion())) {
                    Severity versionExpressionSeverity = Severity.ERROR;
                    if (Boolean.parseBoolean(
                            m.getProperties().getProperty(BUILD_ALLOW_EXPRESSION_IN_EFFECTIVE_PROJECT_VERSION))) {
                        versionExpressionSeverity = Severity.WARNING;
                    }
                    addViolation(
                            problems,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
Back to Top