Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for activeProfile (0.17 seconds)

  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>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Jul 21 17:09:50 GMT 2025
    - 1.7K bytes
    - Click Count (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),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 94.8K bytes
    - Click Count (0)
  3. 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");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. 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);
                    }
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  5. 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;
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. 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);
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. 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;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. 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());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  9. impl/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) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * <ul>
         *   <li>Command line activation using the -P flag</li>
         *   <li>Maven settings activation in settings.xml via &lt;activeProfiles&gt;</li>
         *   <li>Automatic activation via &lt;activation&gt; conditions</li>
         *   <li>The default active profile (marked with &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;)</li>
         * </ul>
         * <p>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top