Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for setProperties (0.19 sec)

  1. 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 Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. 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 Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  3. 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 Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

                }
            } else {
                return Nature.RELEASE;
            }
        }
    
        public Map<String, String> getProperties() {
            return Collections.emptyMap();
        }
    
        @Override
        public Metadata setProperties(Map<String, String> properties) {
            return this;
        }
    
        @SuppressWarnings("deprecation")
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

            }
        }
    
        @Override
        public Map<String, String> getProperties() {
            return Collections.emptyMap();
        }
    
        @Override
        public org.eclipse.aether.metadata.Metadata setProperties(Map<String, String> properties) {
            return this;
        }
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/Config.java

         * using the <tt>-Djcifs.properties=</tt> commandline parameter.
         */
    
        public static void setProperties( Properties prp ) {
            Config.prp = new Properties( prp );
            try {
                Config.prp.putAll( System.getProperties() );
            } catch( SecurityException se ) {
                if( log.level > 1 )
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            String checkValue = "value";
    
            Properties properties = new Properties();
            properties.setProperty(key, checkValue);
    
            Model model = new Model();
            model.setProperties(properties);
    
            MavenProject project = new MavenProject(model);
    
            ExpressionEvaluator ee = createExpressionEvaluator(project, null, new Properties());
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Dec 05 08:11:33 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

                String requiredMavenVersion = (String) result.getProperties().get("prerequisites.maven");
                if (requiredMavenVersion != null) {
                    Map<String, String> props = new LinkedHashMap<>(pluginArtifact.getProperties());
                    props.put("requiredMavenVersion", requiredMavenVersion);
                    pluginArtifact = pluginArtifact.setProperties(props);
                }
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 10K bytes
    - Viewed (0)
  9. 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 Apr 21 03:35:09 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  10. 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 Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2K bytes
    - Viewed (0)
Back to top