Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 397 for Profile (0.1 seconds)

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

        @Nonnull
        List<Profile> getActivePomProfiles(String modelId);
    
        /**
         * Gets a map of all active POM profiles organized by model ID.
         * The map keys are model IDs (groupId:artifactId:version) and values are lists of active profiles for each model.
         *
         * @return A map of model IDs to their active profiles, never {@code null}.
         * @since 4.0.0
         */
        @Nonnull
    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. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        // Profiles
        List<Profile> getProfiles();
    
        MavenExecutionRequest addProfile(Profile profile);
    
        MavenExecutionRequest setProfiles(List<Profile> profiles);
    
        /**
         * @deprecated Since Maven 4: use {@link #getProfileActivation()}.
         */
        @Deprecated
        MavenExecutionRequest addActiveProfile(String profile);
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 18.6K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfileManager.java

     * under the License.
     */
    package org.apache.maven.profiles;
    
    import java.util.List;
    import java.util.Map;
    import java.util.Properties;
    
    import org.apache.maven.model.Profile;
    import org.apache.maven.profiles.activation.ProfileActivationException;
    
    /**
     * ProfileManager
     */
    @Deprecated
    public interface ProfileManager {
    
        void addProfile(Profile profile);
    
        void explicitlyActivate(String profileId);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

        private static final Pattern FILTER_3 = Pattern.compile("\\."); // used for split now
    
        @Override
        public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            String jdk = activation.getJdk();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

                    result.getWarnings().get(0));
    
            assertEquals(
                    "'profiles.profile[missing-project-version].activation.file.missing' "
                            + "Failed to interpolate profile activation property ${project.version}/test.txt: "
                            + "${project.version} expressions are not supported during profile activation.",
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  6. 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;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/site/apt/index.apt

       ({{{./xref/org/apache/maven/model/normalization/DefaultModelNormalizer.html}source}})
    
       ** profile injection: <<<ProfileInjector>>> ({{{./apidocs/org/apache/maven/model/profile/ProfileInjector.html}javadoc}}),
       with its <<<DefaultProfileInjector>>> implementation
       ({{{./xref/org/apache/maven/model/profile/DefaultProfileInjector.html}source}})
    
       ** parent resolution until {{{./super-pom.html}super-pom}}
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 03 08:42:52 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            }
        }
    
        private List<Profile> getProfiles(Model model) {
            ArrayList<Profile> profiles = new ArrayList<>();
            for (Profile profile : model.getProfiles()) {
                profile = profile.clone();
                profiles.add(profile);
            }
            return profiles;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  9. apache-maven/src/assembly/maven/conf/settings.xml

         | to accomplish, particularly when you only have a list of profile id's for debug.
         |
         | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
        <profile>
          <id>jdk-1.4</id>
    
          <activation>
            <jdk>1.4</jdk>
          </activation>
    
          <repositories>
            <repository>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 22 07:44:50 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/test/resources/poms/validation/duplicate-plugin-execution.xml

                <phase>test</phase>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    
      <profiles>
        <profile>
          <id>test</id>
          <build>
            <pluginManagement>
              <plugins>
                <plugin>
                  <groupId>profile</groupId>
                  <artifactId>managed-plugin</artifactId>
                  <executions>
                    <execution>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
Back to Top