Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for Profiles2 (0.07 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         */
        @Nonnull
        Model getEffectiveModel();
    
        /**
         * Gets the profiles that were active during model building.
         *
         * @return The active profiles of the model or an empty list if the model has no active profiles.
         */
        @Nonnull
        List<Profile> getActivePomProfiles();
    
        /**
         * Gets the profiles that were active during model building for a specific model in the hierarchy.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

        @Nonnull
        Optional<Project> getParent();
    
        /**
         * Returns all profiles defined in this project.
         * <p>
         * This method returns only the profiles defined directly in the current project's POM
         * and does not include profiles from parent projects.
         *
         * @return a non-null, possibly empty list of profiles defined in this project
         * @see Profile
         * @see #getEffectiveProfiles()
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

                            .filter(container -> container.element != null),
                    // Profile dependencies
                    root.child(PROFILES).stream()
                            .flatMap(profiles -> profiles.children(PROFILE))
                            .flatMap(profile -> Stream.of(
                                            new DependencyContainer(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                }
            }
    
            // Check profiles for dependencyManagement
            boolean profileChanges = root.child(PROFILES).stream()
                    .flatMap(profiles -> profiles.children(PROFILE))
                    .map(profile -> profile.child(DEPENDENCY_MANAGEMENT)
                            .flatMap(dm -> dm.child(DEPENDENCIES))
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                    + "attribute on the <project> element of your POM.");
        }
    
        private static List<Profile> prune(List<Profile> profiles) {
            return profiles.stream()
                    .map(p -> {
                        Profile.Builder builder = Profile.newBuilder(p, true);
                        prune((ModelBase.Builder) builder, p);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 22.3K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                    context.detail("Converted " + moduleElements.size() + " <module> elements to <subproject>");
                }
            }
    
            // Also check inside profiles
            Element profilesElement = root.child(PROFILES).orElse(null);
            if (profilesElement != null) {
                var profileElements = profilesElement.children(PROFILE).toList();
                for (Element profileElement : profileElements) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                    .collect(toSet());
        }
    
        /**
         * Check whether the required profiles were found in any of the projects we're building or the settings.
         * @param session the Maven session.
         * @param profileActivation the requested optional and required profiles.
         */
        private void validateRequiredProfiles(MavenSession session, ProfileActivation profileActivation) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 29 10:43:38 GMT 2025
    - 28.8K bytes
    - Click Count (1)
  8. guava-bom/pom.xml

            <version>${central-publishing-maven-plugin.version}</version>
            <extensions>true</extensions>
          </plugin>
        </plugins>
      </build>
    
      <profiles>
        <profile>
          <id>sonatype-oss-release</id>
          <build>
            <plugins>
              <plugin>
                <artifactId>maven-gpg-plugin</artifactId>
                <version>${maven-gpg-plugin.version}</version>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 12 15:41:31 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  9. android/guava-bom/pom.xml

            <version>${central-publishing-maven-plugin.version}</version>
            <extensions>true</extensions>
          </plugin>
        </plugins>
      </build>
    
      <profiles>
        <profile>
          <id>sonatype-oss-release</id>
          <build>
            <plugins>
              <plugin>
                <artifactId>maven-gpg-plugin</artifactId>
                <version>${maven-gpg-plugin.version}</version>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 12 15:41:31 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  10. apache-maven/pom.xml

                  <attach>true</attach>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    
      <profiles>
        <profile>
          <id>create-distribution-in-dir</id>
          <activation>
            <property>
              <name>distributionTargetDir</name>
            </property>
          </activation>
          <build>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 30 07:38:30 GMT 2026
    - 13K bytes
    - Click Count (0)
Back to Top