Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for getUserProperties (0.09 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileActivationContext.java

     */
    @Deprecated(since = "4.0.0")
    public interface ProfileActivationContext {
        /**
         * Key of the property containing the project's packaging.
         * Available in {@link #getUserProperties()}.
         * @since 4.0.0
         */
        String PROPERTY_NAME_PACKAGING = "packaging";
    
        /**
         * Gets the identifiers of those profiles that should be activated by explicit demand.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

            if (Features.consumerPom(session.getUserProperties()) && consumerPomPresent(request.getArtifacts())) {
                request.setArtifacts(replacePom(request.getArtifacts()));
            }
            return request;
        }
    
        public DeployRequest remapDeployArtifacts(RepositorySystemSession session, DeployRequest request) {
            if (Features.consumerPom(session.getUserProperties()) && consumerPomPresent(request.getArtifacts())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                                                        e -> e.getValue().toString()));
                                    } else if ("getUserProperties".equals(method.getName())) {
                                        return request.getUserProperties().entrySet().stream()
                                                .collect(Collectors.toMap(
                                                        e -> e.getKey().toString(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java

            return getActivationPackaging(profile).isPresent();
        }
    
        private static boolean isPackaging(ProfileActivationContext context, String p) {
            String packaging = context.getUserProperties().get(ProfileActivationContext.PROPERTY_NAME_PACKAGING);
            return Objects.equals(p, packaging);
        }
    
        private static Optional<String> getActivationPackaging(org.apache.maven.model.Profile profile) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java

            return verbose;
        }
    
        public boolean isQuiet() {
            return quiet;
        }
    
        public boolean isShowErrors() {
            return showErrors;
        }
    
        public Properties getUserProperties() {
            return userProperties;
        }
    
        public Properties getSystemProperties() {
            return systemProperties;
        }
    
        public MavenExecutionRequest getRequest() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/aether/PropertyContributorExtender.java

            if (!effectivePropertyContributors.isEmpty()) {
                HashMap<String, String> userPropertiesMap = new HashMap<>((Map) mavenExecutionRequest.getUserProperties());
                for (PropertyContributor contributor : effectivePropertyContributors.values()) {
                    contributor.contribute(userPropertiesMap);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultProjectBuilderConfiguration.java

        }
    
        public ProjectBuilderConfiguration setUserProperties(Properties userProperties) {
            this.userProperties = userProperties;
            return this;
        }
    
        public Properties getUserProperties() {
            if (userProperties == null) {
                userProperties = new Properties();
            }
    
            return userProperties;
        }
    
        public Properties getExecutionProperties() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            copy.setRecursive(original.isRecursive());
            copy.setPom(original.getPom());
            copy.setSystemProperties(original.getSystemProperties());
            copy.setUserProperties(original.getUserProperties());
            copy.setShowErrors(original.isShowErrors());
            copy.setActiveProfiles(original.getActiveProfiles());
            copy.setInactiveProfiles(original.getInactiveProfiles());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

        }
    
        @Override
        public Settings getSettings() {
            return Settings.newInstance();
        }
    
        @Override
        public Map<String, String> getUserProperties() {
            return Map.of();
        }
    
        @Override
        public Map<String, String> getSystemProperties() {
            return systemProperties;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java

        }
    
        /**
         * Check if the consumer POM feature is active.
         */
        public static boolean consumerPom(@Nullable Session session) {
            return consumerPom(session != null ? session.getUserProperties() : null);
        }
    
        private static boolean doGet(Properties userProperties, String key, boolean def) {
            return doGet(userProperties != null ? userProperties.get(key) : null, def);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Sep 11 16:31:06 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top