Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 233 for profile2 (0.07 sec)

  1. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/profile-activation-file-with-allowed-expressions.xml

        </profile>
    
        <profile>
          <id>dynamic-property-available</id>
          <activation>
            <property>
              <name>${activationProperty}</name>
            </property>
          </activation>
        </profile>
    
        <profile>
          <id>matches-another-property</id>
          <activation>
            <property>
              <name>foo</name>
              <value>${bar}</value>
            </property>
          </activation>
        </profile>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/profile-activation-property-with-project-expressions.xml

      <groupId>gid</groupId>
      <version>0.1</version>
      <packaging>pom</packaging>
    
      <profiles>
    
        <profile>
          <id>property-name-project-version</id>
          <activation>
            <property>
              <name>${project.version}</name>
            </property>
          </activation>
        </profile>
        <profile>
          <id>property-value-project-version</id>
          <activation>
            <property>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (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);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

        }
    
        /**
         * Mark a profile as required and activated.
         * @param id The identifier of the profile.
         */
        public void activateRequiredProfile(String id) {
            this.activations.put(id, ActivationSettings.activated());
        }
    
        /**
         * Mark a profile as optional and activated.
         * @param id The identifier of the profile.
         */
        public void activateOptionalProfile(String id) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 16:38:19 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

            boolean activatedPomProfileNotByDefault = false;
    
            for (Profile profile : profiles) {
                if (!deactivatedIds.contains(profile.getId())) {
                    if (activatedIds.contains(profile.getId()) || isActive(profile, context, problems)) {
                        activeProfiles.add(profile);
    
                        if (Profile.SOURCE_POM.equals(profile.getSource())) {
                            activatedPomProfileNotByDefault = true;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java

        /**
         * Determines the profiles which are active in the specified activation context. Active profiles will eventually be
         * injected into the model.
         *
         * @param profiles The profiles whose activation status should be determined, must not be {@code null}.
         * @param context The environmental context used to determine the activation status of a profile, must not be
         *            {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/resources/poms/factory/simple.xml

            </executions>
          </plugin>
        </plugins>
      </build>
    
      <profiles>
        <profile>
          <id>default</id>
          <activation>
            <activeByDefault>true</activeByDefault>
          </activation>
          <properties>
            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
          </properties>
        </profile>
        <profile>
          <id>file</id>
          <activation>
            <file>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. 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)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

        }
    
        private static boolean isEmpty(Profile profile) {
            return profile.getActivation() == null
                    && profile.getBuild() == null
                    && profile.getDependencies().isEmpty()
                    && (profile.getDependencyManagement() == null
                            || profile.getDependencyManagement().getDependencies().isEmpty())
                    && profile.getDistributionManagement() == null
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. apache-maven/src/assembly/maven/conf/settings.xml

       | Finally, the list of active profiles can be specified directly from the command line.
       |
       | NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact
       |       repositories, plugin repositories, and free-form properties to be used as configuration
       |       variables for plugins in the POM.
       |
       |-->
      <profiles>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 22 07:44:50 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top