Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for profile (0.21 sec)

  1. maven-core/src/test/resources-project-builder/profile-injection-order/pom.xml

      <description>
        Test that profiles are injected in declaration order, with the last profile being the most dominant.
      </description>
    
      <profiles>
        <!-- NOTE: Using intentionally more than two profiles to prevent random test success -->
        <profile>
          <id>pom-a</id>
          <properties>
            <pomProperty>a</pomProperty>
          </properties>
        </profile>
        <profile>
          <id>pom-b</id>
          <properties>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 1.9K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/profiles/activation/ProfileActivator.java

     * under the License.
     */
    package org.apache.maven.profiles.activation;
    
    import org.apache.maven.model.Profile;
    
    /**
     * ProfileActivator
     */
    @Deprecated
    public interface ProfileActivator {
    
        String ROLE = ProfileActivator.class.getName();
    
        boolean canDetermineActivation(Profile profile);
    
        boolean isActive(Profile profile) throws ProfileActivationException;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/projects/transform/before.pom

          </plugin>
        </plugins>
      </build>
    
      <profiles>
        <profile>
          <id>default-active</id>
          <activation>
            <activeByDefault>true</activeByDefault>
          </activation>
          <properties>
            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
          </properties>
        </profile>
        <profile>
          <id>file</id>
          <activation>
            <file>
    Plain Text
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Thu Sep 14 07:51:37 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PackagingProfileActivator.java

    /**
     * Determines profile activation based on the project's packaging.
     */
    @Named("packaging")
    @Singleton
    public class PackagingProfileActivator implements ProfileActivator {
    
        @Override
        public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
            return getActivationPackaging(profile).map(p -> isPackaging(context, p)).orElse(false);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  5. apache-maven/src/assembly/maven/conf/settings.xml

         | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.
         | This will make it more intuitive to understand what the set of introduced profiles is attempting
         | 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>
    
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jun 19 15:06:01 GMT 2023
    - 11K bytes
    - Viewed (0)
  6. maven-core/src/test/resources-project-builder/plugin-config-append/with-profile/subproject/pom.xml

            </executions>
          </plugin>
        </plugins>
      </build>
    
      <profiles>
        <profile>
          <!-- an active but empty profile to ensure profile injection does not interfere with plugin configuration -->
          <id>child</id>
          <activation>
            <activeByDefault>true</activeByDefault>
          </activation>
        </profile>
      </profiles>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 2.6K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileActivationContext.java

        @Override
        public List<String> getActiveProfileIds() {
            return activeProfileIds;
        }
    
        /**
         * Sets the identifiers of those profiles that should be activated by explicit demand.
         *
         * @param activeProfileIds The identifiers of those profiles to activate, may be {@code null}.
         * @return This context, never {@code null}.
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java

        void testValidateUniqueProfileId() throws Exception {
            Settings settings = new Settings();
            Profile profile1 = new Profile();
            profile1.setId("test");
            settings.addProfile(profile1);
            Profile profile2 = new Profile();
            profile2.setId("test");
            settings.addProfile(profile2);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  9. maven-core/src/test/resources-project-builder/inherited-properties-interpolation/active-profile/sub/pom.xml

      </description>
    
      <properties>
        <overridden>CHILD</overridden>
      </properties>
    
      <profiles>
        <profile>
          <id>it-child</id>
          <activation>
            <activeByDefault>true</activeByDefault>
          </activation>
        </profile>
      </profiles>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.pom

              <excludes>
                <exclude>org/codehaus/plexus/classworlds/event/*</exclude>
              </excludes>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <profiles>
        <profile>
          <id>debug</id>
          <build>
            <plugins>
              <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>aspectj-maven-plugin</artifactId>
                <executions>
    Plain Text
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 27 10:08:56 GMT 2020
    - 2.3K bytes
    - Viewed (0)
Back to top