Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for props (0.14 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 May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/properties/internal/EnvironmentUtils.java

         * variable lookup.
         *
         * @param props The properties to add the environment variables to, may be {@code null}.
         */
        public static void addEnvVars(Properties props) {
            if (props != null) {
                if (envVars == null) {
                    Properties tmp = new Properties();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:01:36 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            osActivation.setOs( activationOS );
    
            osActivated.setActivation( osActivation );
    
            Properties props = System.getProperties();
            ProfileActivationContext ctx = new ProfileActivationContext( props, false );
    
            ProfileManager profileManager = new DefaultProfileManager( getContainer(), props );
    
            profileManager.addProfile( osActivated );
    
            List active = profileManager.getActiveProfiles( null );
    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)
  4. maven-core/src/main/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformation.java

        }
    
        private String loadMavenVersion() {
            Properties props = new Properties();
    
            String resource = "META-INF/maven/org.apache.maven/maven-core/pom.properties";
    
            try (InputStream is = DefaultRuntimeInformation.class.getResourceAsStream("/" + resource)) {
                if (is != null) {
                    props.load(is);
                } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 18 11:03:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/properties/internal/SystemProperties.java

    /**
     * @since 3.2.3
     */
    public class SystemProperties {
        /**
         * Thread-safe System.properties copy implementation.
         */
        public static void addSystemProperties(Properties props) {
            props.putAll(getSystemProperties());
        }
    
        /**
         * Returns a copy of {@link System#getProperties()} in a thread-safe manner.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            this(container, null);
        }
    
        /**
         * the properties passed to the profile manager are the props that
         * are passed to maven, possibly containing profile activator properties
         *
         */
        public DefaultProfileManager(PlexusContainer container, Properties props) {
            try {
                this.profileSelector = container.lookup(ProfileSelector.class);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

                    .property(ap)
                    .os(ao)
                    .packaging("pom")
                    .build();
            Map<String, String> props = new HashMap<>();
            int count = entropy.nextInt(10);
            for (int i = 0; i < count; i++) {
                props.put("name" + Long.toHexString(entropy.nextLong()), "value" + Long.toHexString(entropy.nextLong()));
            }
            count = entropy.nextInt(3);
    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)
  8. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                    if (error != null) {
                        props.setProperty(key + ERROR_KEY_SUFFIX, error);
                    } else {
                        props.remove(key + ERROR_KEY_SUFFIX);
                    }
    
                    getLogger().debug("Writing resolution-state to: " + touchfile);
                    channel.truncate(0);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

        public Model interpolate(Model model, Map<String, ?> context, boolean strict) throws ModelInterpolationException {
            Properties props = new Properties();
            props.putAll(context);
    
            return interpolate(model, null, new DefaultProjectBuilderConfiguration().setExecutionProperties(props), true);
        }
    
        public Model interpolate(Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 13.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                version = artifact.getVersionRange().toString();
            }
    
            Map<String, String> props = null;
            if (org.apache.maven.artifact.Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) {
                String localPath = (artifact.getFile() != null) ? artifact.getFile().getPath() : "";
                props = Collections.singletonMap(MavenArtifactProperties.LOCAL_PATH, localPath);
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 16K bytes
    - Viewed (0)
Back to top