Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for settingsProfile (0.24 sec)

  1. maven-core/src/main/java/org/apache/maven/settings/SettingsUtils.java

        }
    
        /**
         * @param settingsProfile
         * @return a profile
         */
        public static org.apache.maven.model.Profile convertFromSettingsProfile(Profile settingsProfile) {
            return new org.apache.maven.model.Profile(
                    SettingsUtilsV4.convertFromSettingsProfile(settingsProfile.getDelegate()));
        }
    
        /**
         * @param settings could be null
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/settings/SettingsUtilsV4.java

            return profile.build();
        }
    
        /**
         * @param settingsProfile
         * @return a profile
         */
        public static org.apache.maven.api.model.Profile convertFromSettingsProfile(Profile settingsProfile) {
            org.apache.maven.api.model.Profile.Builder profile = org.apache.maven.api.model.Profile.newBuilder();
    
            profile.id(settingsProfile.getId());
    
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Feb 15 08:42:00 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

            return profile.build();
        }
    
        /**
         * @param settingsProfile
         * @return a profile
         */
        public static org.apache.maven.api.model.Profile convertFromSettingsProfile(Profile settingsProfile) {
            org.apache.maven.api.model.Profile.Builder profile = org.apache.maven.api.model.Profile.newBuilder();
    
            profile.id(settingsProfile.getId());
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  4. maven-core/src/test/resources-settings/test-pom-and-settings-interpolation/settings.xml

    -->
    
    <settings>
      <profiles>
        <profile>
          <id>settings</id>
          <activation>
            <activeByDefault>true</activeByDefault>
          </activation>
          <properties>
            <settingsProfile>applied</settingsProfile>
            <pomVsSettings>settings</pomVsSettings>
          </properties>
        </profile>
      </profiles>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Mar 31 21:07:56 GMT 2009
    - 1.1K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

         */
        @Test
        void testPomAndSettingsInterpolation() throws Exception {
            PomTestWrapper pom = buildPom("test-pom-and-settings-interpolation");
            assertEquals("applied", pom.getValue("properties/settingsProfile"));
            assertEquals("applied", pom.getValue("properties/pomProfile"));
            assertEquals("settings", pom.getValue("properties/pomVsSettings"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            final Stream<String> settingsProfiles =
                    session.getSettings().getProfiles().stream().map(org.apache.maven.settings.Profile::getId);
            final Stream<String> superPomProfiles = superPomModels.values().stream()
                    .flatMap(p -> p.getProfiles().stream())
                    .map(Profile::getId);
    
            return Stream.of(projectProfiles, settingsProfiles, superPomProfiles)
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
Back to top