Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Profiles2 (0.05 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            File testPom = getTestFile("src/test/resources/projects/pom-with-profiles/pom.xml");
    
            try (FileSystem fs = Jimfs.newFileSystem(fsName, fsConfig)) {
                Path path = fs.getPath("projects", "pom-with-profiles", "pom.xml");
                Files.createDirectories(path.getParent());
                Files.copy(testPom.toPath(), path);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

            public ModelBuilderRequestBuilder source(ModelSource source) {
                this.source = source;
                return this;
            }
    
            public ModelBuilderRequestBuilder profiles(List<Profile> profiles) {
                this.profiles = profiles;
                return this;
            }
    
            public ModelBuilderRequestBuilder activeProfileIds(List<String> activeProfileIds) {
                this.activeProfileIds = activeProfileIds;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  3. 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.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. 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()
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 15.3K bytes
    - Viewed (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);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. 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(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  7. 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))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  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>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 19:50:42 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. 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) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. 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>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 19:50:42 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top