Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for activeProfile (0.08 sec)

  1. impl/maven-core/src/test/projects/plugin-manager/project-with-plugin-classpath-ordering/sub/settings-template.xml

              <snapshots>
                <enabled>false</enabled>
              </snapshots>
            </pluginRepository>
          </pluginRepositories>
        </profile>
      </profiles>
      <activeProfiles>
        <activeProfile>maven-core-it-repo</activeProfile>
      </activeProfiles>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Jul 21 17:09:50 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. impl/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: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
  3. apache-maven/src/assembly/maven/conf/settings.xml

          </properties>
        </profile>
        -->
      </profiles>
    
      <!-- activeProfiles
       | List of profiles that are active for all builds.
       |
      <activeProfiles>
        <activeProfile>alwaysActiveProfile</activeProfile>
        <activeProfile>anotherAlwaysActiveProfile</activeProfile>
      </activeProfiles>
      -->
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 22 07:44:50 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java

                <enabled>false</enabled>
              </snapshots>
            </pluginRepository>
          </pluginRepositories>
        </profile>
      </profiles>
      <activeProfiles>
        <activeProfile>oss-development</activeProfile>
      </activeProfiles>
    </settings>""";
            Path dotMvn = cwd.resolve(".mvn");
            Files.createDirectories(dotMvn);
            Path projectExtensions = dotMvn.resolve("settings.xml");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 21 12:17:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                // profile injection
                for (Profile activeProfile : activePomProfiles) {
                    profileInjector.injectProfile(tmpModel, activeProfile, request, problems);
                }
    
                if (currentData == resultData) {
                    for (Profile activeProfile : activeExternalProfiles) {
                        profileInjector.injectProfile(tmpModel, activeProfile, request, problems);
                    }
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:08 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

         */
        public List<Profile> getActiveProfiles() {
            return activeProfiles;
        }
    
        /**
         * Sets the active profiles from the model.
         *
         * @param activeProfiles The active profiles, may be {@code null}.
         */
        public void setActiveProfiles(List<Profile> activeProfiles) {
            this.activeProfiles = activeProfiles;
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. compat/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: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. compat/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: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

                List<org.apache.maven.api.model.Profile> activeProfiles =
                        new DefaultProject(session, project).getDeclaredActiveProfiles();
                assertEquals(1, activeProfiles.size());
                org.apache.maven.api.model.Profile profile = activeProfiles.get(0);
                assertEquals("active-by-default", profile.getId());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  10. impl/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: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 32.1K bytes
    - Viewed (0)
Back to top