Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 196 for profile (0.1 sec)

  1. compat/maven-model-builder/src/test/resources/poms/validation/duplicate-profile-id.xml

      <artifactId>aid</artifactId>
      <groupId>gid</groupId>
      <version>0.1</version>
      <packaging>pom</packaging>
    
      <profiles>
        <profile>
          <id>non-unique-id</id>
        </profile>
        <profile>
          <id>non-unique-id</id>
        </profile>
      </profiles>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/resources/poms/validation/invalid-profile-ids.xml

        <packaging>pom</packaging>
    
        <profiles>
            <profile>
                <id>+invalid-id</id>
            </profile>
            <profile>
                <id>-invalid-id</id>
            </profile>
            <profile>
                <id>!invalid-id</id>
            </profile>
            <profile>
                <id>?invalid-id</id>
            </profile>
            <profile>
                <id>valid-id</id>
            </profile>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/profile-activation-file-with-project-expressions.xml

      <groupId>gid</groupId>
      <version>0.1</version>
      <packaging>pom</packaging>
    
      <profiles>
    
        <profile>
          <id>exists-project-version</id>
          <activation>
            <file>
              <exists>${project.version}/test.txt</exists>
            </file>
          </activation>
        </profile>
        <profile>
          <id>missing-project-version</id>
          <activation>
            <file>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/mdo/profiles.mdo

      xml.namespace="http://maven.apache.org/PROFILES/${version}"
      xml.schemaLocation="http://maven.apache.org/xsd/profiles-${version}.xsd">
      <id>profiles</id>
      <name>Profiles</name>
      <description><![CDATA[
        <b>Deprecated in Maven 2</b> Project-local overrides to the build process based on detected or user-provided environmental parameters.
        This is the model specification for <code>${basedir}/profiles.xml</code>.
      ]]></description>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/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();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

        }
    
        public Map<String, Profile> getProfilesById() {
            return profilesById;
        }
    
        /* (non-Javadoc)
         * @see org.apache.maven.profiles.ProfileManager#addProfile(org.apache.maven.model.Profile)
         */
        public void addProfile(Profile profile) {
            String profileId = profile.getId();
    
            Profile existing = profilesById.get(profileId);
            if (existing != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

        private ProfilesConversionUtils() {}
    
        public static Profile convertFromProfileXmlProfile(org.apache.maven.profiles.Profile profileXmlProfile) {
            Profile profile = new Profile();
    
            profile.setId(profileXmlProfile.getId());
    
            profile.setSource("profiles.xml");
    
            org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top