Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for getProperties (0.15 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                if (sourceDominant) {
                    merged.putAll(target.getProperties());
                    putAll(merged, source.getProperties(), CHILD_DIRECTORY_PROPERTY);
                } else {
                    putAll(merged, source.getProperties(), CHILD_DIRECTORY_PROPERTY);
                    merged.putAll(target.getProperties());
                }
                builder.properties(merged);
                builder.location(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            Activation defaultActivation = new Activation();
    
            defaultActivation.setActiveByDefault(true);
    
            defaultActivated.setActivation(defaultActivation);
    
            Properties props = System.getProperties();
    
            ProfileManager profileManager = new DefaultProfileManager(getContainer(), props);
    
            profileManager.addProfile(notActivated);
            profileManager.addProfile(defaultActivated);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

        }
    
        @Override
        public Artifact setProperties(Map<String, String> properties) {
            Map<String, String> current = getProperties();
            if (current.equals(properties) || (properties == null && current.isEmpty())) {
                return this;
            }
            return new RelocatedArtifact(
                    artifact.setProperties(properties), groupId, artifactId, classifier, extension, version, message);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

            assertNotNull(result);
            assertNotNull(result.getEffectiveModel());
            assertEquals("activated-1", result.getEffectiveModel().getProperties().get("profile.file"));
            assertNull(result.getEffectiveModel().getProperties().get("profile.miss"));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            assertEquals("true", depArtifact.getProperty("constitutesBuildPath", null));
            assertEquals("false", depArtifact.getProperty("includesDependencies", null));
            assertEquals(4, depArtifact.getProperties().size());
    
            assertEquals("compile", dep2.getScope());
            assertFalse(dep2.isOptional());
            assertEquals(0, dep2.getExclusions().size());
            depArtifact = dep2.getArtifact();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactoryTest.java

            assertNotNull(builder);
    
            DefaultSettingsBuildingRequest request = new DefaultSettingsBuildingRequest();
            request.setSystemProperties(System.getProperties());
            request.setUserSettingsFile(getSettings("simple"));
    
            SettingsBuildingResult result = builder.build(request);
            assertNotNull(result);
            assertNotNull(result.getEffectiveSettings());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            Properties properties = getMavenProject(project).getProperties();
            if (value == null) {
                properties.remove(key);
            } else {
                properties.setProperty(key, value);
            }
        }
    
        @Override
        public Map<String, String> getProperties(Project project) {
            return Collections.unmodifiableMap(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

            return systemProperties;
        }
    
        /**
         * Sets 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.
         *
         * @param systemProperties The system properties, may be {@code null}.
         * @return This context, never {@code null}.
         */
        @SuppressWarnings("unchecked")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java

         * environment like {@link System#getProperties()} and environment variables.
         *
         * @return The system properties, never {@code null}.
         */
        Properties getSystemProperties();
    
        /**
         * Sets the system properties to use for interpolation. The system properties are collected from the runtime
         * environment like {@link System#getProperties()} and environment variables.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                            main.getArtifactId(),
                            BUILD_POM_CLASSIFIER,
                            main.getExtension(),
                            main.getVersion(),
                            main.getProperties(),
                            main.getFile()));
                }
                for (Artifact consumer : consumers) {
                    result.remove(consumer);
                    result.add(new DefaultArtifact(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top