Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getProfileActivation (0.33 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        MavenExecutionRequest setProfiles(List<Profile> profiles);
    
        /**
         * @deprecated Since Maven 4: use {@link #getProfileActivation()}.
         */
        @Deprecated
        MavenExecutionRequest addActiveProfile(String profile);
    
        /**
         * @deprecated Since Maven 4: use {@link #getProfileActivation()}.
         */
        @Deprecated
        MavenExecutionRequest addActiveProfiles(List<String> profiles);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

        private Map<String, String> getPropertiesFromRequestedProfiles(MavenExecutionRequest request) {
            HashSet<String> activeProfileId =
                    new HashSet<>(request.getProfileActivation().getRequiredActiveProfileIds());
            activeProfileId.addAll(request.getProfileActivation().getOptionalActiveProfileIds());
    
            return request.getProfiles().stream()
                    .filter(profile -> activeProfileId.contains(profile.getId()))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                validateRequiredProfiles(session, request.getProfileActivation());
                if (session.getResult().hasExceptions()) {
                    return result;
                }
    
                validateOptionalProfiles(session, request.getProfileActivation());
    
                LifecycleStarter lifecycleStarter = lookup.lookupOptional(LifecycleStarter.class, request.getBuilderId())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                    options.ignoreTransitiveRepositories().orElse(false));
    
            performProjectActivation(context, request.getProjectActivation());
            performProfileActivation(context, request.getProfileActivation());
    
            //
            // Builder, concurrency and parallelism
            //
            // We preserve the existing methods for builder selection which is to look for various inputs in the threading
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            return this;
        }
    
        @Override
        public ProjectActivation getProjectActivation() {
            return this.projectActivation;
        }
    
        @Override
        public ProfileActivation getProfileActivation() {
            return this.profileActivation;
        }
    
        @Override
        public MavenExecutionRequest setRemoteRepositories(List<ArtifactRepository> remoteRepositories) {
            if (remoteRepositories != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            performProjectActivation(commandLine, request.getProjectActivation());
            performProfileActivation(commandLine, request.getProfileActivation());
    
            final String localRepositoryPath = determineLocalRepositoryPath(request);
            if (localRepositoryPath != null) {
                request.setLocalRepositoryPath(localRepositoryPath);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top