Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for getProperties (0.2 sec)

  1. 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);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/properties/internal/SystemProperties.java

            props.putAll(getSystemProperties());
        }
    
        /**
         * Returns a copy of {@link System#getProperties()} in a thread-safe manner.
         *
         * @return {@link System#getProperties()} obtained in a thread-safe manner.
         */
        public static Properties getSystemProperties() {
            return copyProperties(System.getProperties());
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

                    clone.getActivation().getOs().getVersion());
            assertEquals(p.getActivation().getPackaging(), clone.getActivation().getPackaging());
            assertEquals(p.getProperties(), clone.getProperties());
            assertEquals(p.getRepositories().size(), clone.getRepositories().size());
            // TODO deep compare the lists
            assertEquals(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/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);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

        /**
         * 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 request, never {@code null}.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/artifact/FatArtifactTraverser.java

     * artifacts that have the property {@link MavenArtifactProperties#INCLUDES_DEPENDENCIES} set to
     * {@code true}.
     *
     * @see org.eclipse.aether.artifact.Artifact#getProperties()
     * @see MavenArtifactProperties
     * @since 4.0.0
     */
    public final class FatArtifactTraverser implements DependencyTraverser {
    
        public FatArtifactTraverser() {}
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                    file.setMissing(profileFile.getMissing());
    
                    activation.setFile(file);
                }
    
                profile.setActivation(activation);
            }
    
            profile.setProperties(profileXmlProfile.getProperties());
    
            List repos = profileXmlProfile.getRepositories();
            if (repos != null) {
                for (Object repo : repos) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorReaderDelegate.java

                Artifact artifact = result.getArtifact();
                Map<String, String> props = new HashMap<>(artifact.getProperties());
                props.put(ArtifactProperties.DOWNLOAD_URL, downloadUrl);
                result.setArtifact(artifact.setProperties(props));
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java

        List<String> getInactiveProfileIds();
    
        /**
         * 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 execution properties, never {@code null}.
         */
        Map<String, String> getSystemProperties();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. 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(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top