Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for getProfiles (0.11 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FilterModelBuildingRequest.java

            return this;
        }
    
        @Override
        public List<Profile> getProfiles() {
            return request.getProfiles();
        }
    
        @Override
        public FilterModelBuildingRequest setProfiles(List<Profile> profiles) {
            request.setProfiles(profiles);
    
            return this;
        }
    
        @Override
        public List<String> getActiveProfileIds() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

                    readPom(pom).getProfiles().get(1).getActivation().getFile().getExists();
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setProcessPlugins(true);
            request.setPomFile(pom);
            ModelBuildingResult result = builder.build(request);
            String resultExists = result.getRawModel()
                    .getProfiles()
                    .get(1)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileToRawModelMerger.java

                Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) {
            Iterator<Profile> sourceIterator = source.getProfiles().iterator();
            builder.profiles(target.getProfiles().stream()
                    .map(d -> mergeProfile(d, sourceIterator.next(), sourceDominant, context))
                    .collect(Collectors.toList()));
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                                .build(null),
                        model);
                builder.packaging(POM_PACKAGING);
                builder.profiles(prune(model.getProfiles()));
    
                model = builder.build();
                String modelVersion = new MavenModelVersion().getModelVersion(model);
                model = model.withModelVersion(modelVersion);
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

        /**
         * Defines external profiles that may be activated for the given model.
         * Those are external profiles usually defined in {@link org.apache.maven.api.settings.Settings#getProfiles()}.
         */
        @Nonnull
        Collection<Profile> getProfiles();
    
        /**
         * List of profile ids that have been explicitly activated by the user.
         */
        @Nonnull
        List<String> getActiveProfileIds();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            Objects.requireNonNull(profile, "profile cannot be null");
    
            for (Profile p : getProfiles()) {
                if (p.getId() != null && p.getId().equals(profile.getId())) {
                    return this;
                }
            }
    
            getProfiles().add(profile);
    
            return this;
        }
    
        @Override
        public RepositoryCache getRepositoryCache() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java

            shallowMergeById(dominant.getServers(), recessive.getServers(), recessiveSourceLevel);
            shallowMergeById(dominant.getProxies(), recessive.getProxies(), recessiveSourceLevel);
            shallowMergeById(dominant.getProfiles(), recessive.getProfiles(), recessiveSourceLevel);
            shallowMergeById(dominant.getRepositories(), recessive.getRepositories(), recessiveSourceLevel);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

        List<Profile> getActivePomProfiles();
    
        /**
         * Gets the external profiles that were active during model building. External profiles are those that were
         * contributed by {@link ModelBuilderRequest#getProfiles()}.
         *
         * @return The active external profiles or an empty list if none, never {@code null}.
         */
        @Nonnull
        List<Profile> getActiveExternalProfiles();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

        List<Profile> getActivePomProfiles(String modelId);
    
        /**
         * Gets the external profiles that were active during model building. External profiles are those that were
         * contributed by {@link ModelBuildingRequest#getProfiles()}.
         *
         * @return The active external profiles or an empty list if none, never {@code null}.
         */
        List<Profile> getActiveExternalProfiles();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top