Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for activeProfile (0.2 sec)

  1. platforms/software/build-init/src/integTest/resources/org/gradle/buildinit/plugins/MavenConversionIntegrationTest/sharedResources/maven_home/m2_home/conf/settings.xml

                <junit-version>4.13</junit-version>
                <compiler-version>3.7.0</compiler-version>
              </properties>
            </profile>
        </profiles>
        <activeProfiles>
            <activeProfile>testprofile</activeProfile>
        </activeProfiles>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 366 bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            Profile activeProfile = originalModel.getProfiles().stream()
                    .filter(profile -> profile.getId().equals("activeProfile"))
                    .findFirst()
                    .orElse(null);
            assertNotNull(activeProfile, "Unable to find the activeProfile");
    
            assertTrue(
                    isActiveProfile(pom.getMavenProject(), activeProfile),
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
  3. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            // profile injection
            for (Profile activeProfile : activePomProfiles) {
                profileInjector.injectProfile(inputModel, activeProfile, request, problems);
            }
    
            modelValidator.validateExternalProfiles(activeExternalProfiles, inputModel, request, problems);
            for (Profile activeProfile : activeExternalProfiles) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilderResult.java

        public DefaultModelBuilderResult setActivePomProfiles(String modelId, List<Profile> activeProfiles) {
            // Intentionally notNull because Super POM may not contain a modelId
            Objects.requireNonNull(modelId, "modelId cannot be null");
    
            if (activeProfiles != null) {
                this.activePomProfiles.put(modelId, new ArrayList<>(activeProfiles));
            } else {
                this.activePomProfiles.remove(modelId);
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

        public DefaultModelBuildingResult setActivePomProfiles(String modelId, List<Profile> activeProfiles) {
            // Intentionally notNull because Super POM may not contain a modelId
            Objects.requireNonNull(modelId, "modelId cannot null");
    
            if (activeProfiles != null) {
                this.activePomProfiles.put(modelId, new ArrayList<>(activeProfiles));
            } else {
                this.activePomProfiles.remove(modelId);
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileSelector.java

                        } else {
                            activeProfiles.add(profile);
                        }
                    }
                }
            }
    
            if (!activatedPomProfileNotByDefault) {
                activeProfiles.addAll(activePomProfilesByDefault);
            }
    
            return activeProfiles;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

                        } else {
                            activeProfiles.add(profile);
                        }
                    }
                }
            }
    
            if (!activatedPomProfileNotByDefault) {
                activeProfiles.addAll(activePomProfilesByDefault);
            }
    
            return activeProfiles;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            return interactiveMode;
        }
    
        @Override
        public MavenExecutionRequest setActiveProfiles(List<String> activeProfiles) {
            if (activeProfiles != null) {
                this.profileActivation.overwriteActiveProfiles(activeProfiles);
            }
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest setInactiveProfiles(List<String> inactiveProfiles) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 31K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            return remotePluginRepositories;
        }
    
        public void setActiveProfiles(List<Profile> activeProfiles) {
            this.activeProfiles = activeProfiles;
        }
    
        public List<Profile> getActiveProfiles() {
            return activeProfiles;
        }
    
        public void setInjectedProfileIds(String source, List<String> injectedProfileIds) {
            if (injectedProfileIds != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 17:18:13 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                            .map(Profile::getDelegate)
                            .map(SettingsUtilsV4::convertToSettingsProfile)
                            .collect(Collectors.toList()))
                    .activeProfiles(request.getActiveProfiles())
                    .pluginGroups(request.getPluginGroups())
                    .build());
        }
    
        @Deprecated
        public List<MavenProject> getSortedProjects() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top