Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for setProperties (0.21 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-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)
  3. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 4.4K 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-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)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    profileProps.putAll(profile.getProperties());
                }
                profileProps.putAll(profileActivationContext.getUserProperties());
                profileActivationContext.setUserProperties(profileProps);
            }
    
            profileActivationContext.setProjectProperties(inputModel.getProperties());
            problems.setSource(inputModel);
            List<Profile> activePomProfiles =
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            Model originalModel = pom.getMavenProject().getOriginalModel();
    
            // =============================================
            assertEquals("||${project.basedir}||", originalModel.getProperties().get("prop-outside"));
    
            List<Plugin> outsidePlugins = originalModel.getBuild().getPlugins();
            assertEquals(1, outsidePlugins.size());
    
            checkBuildPluginWithArtifactId(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

        }
    
        protected List<ValueSource> createValueSources(
                Model model, Path projectDir, ModelBuilderRequest request, ModelProblemCollector problems) {
            Map<String, String> modelProperties = model.getProperties();
    
            ValueSource projectPrefixValueSource;
            ValueSource prefixlessObjectBasedValueSource;
            if (request.getValidationLevel() >= ModelBuilderRequest.VALIDATION_LEVEL_MAVEN_4_0) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
Back to top