Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for activeProfiles (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. compat/maven-compat/src/main/mdo/profiles.mdo

              ]]></description>
              <association>
                <type>Profile</type>
                <multiplicity>*</multiplicity>
              </association>
            </field>
            <field>
              <name>activeProfiles</name>
              <version>1.0.0</version>
              <description><![CDATA[
                List of manually-activated build profiles, specified in the order in which
                they should be applied.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 22 11:03:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. 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) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
Back to top