Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for convertToSettingsProfile (0.35 sec)

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

            }
        }
    
        /**
         * @param modelProfile
         * @return a profile
         */
        public static Profile convertToSettingsProfile(org.apache.maven.model.Profile modelProfile) {
            return new Profile(SettingsUtilsV4.convertToSettingsProfile(modelProfile.getDelegate()));
        }
    
        /**
         * @param settingsProfile
         * @return a profile
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

                    .properties(props)
                    .repositories(repos)
                    .pluginRepositories(pluginRepos)
                    .build();
    
            Profile clone = SettingsUtilsV4.convertToSettingsProfile(SettingsUtilsV4.convertFromSettingsProfile(p));
    
            assertEquals(p.getId(), clone.getId());
            assertEquals(p.getActivation().getJdk(), clone.getActivation().getJdk());
            assertEquals(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

            return new SettingsMerger().merge(dominant, recessive, true, Collections.emptyMap());
        }
    
        /**
         * @param modelProfile
         * @return a profile
         */
        public static Profile convertToSettingsProfile(org.apache.maven.api.model.Profile modelProfile) {
            Profile.Builder profile = Profile.newBuilder();
    
            profile.id(modelProfile.getId());
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

            return problems;
        }
    
        @Override
        public Profile convert(org.apache.maven.api.model.Profile profile) {
            return SettingsUtilsV4.convertToSettingsProfile(profile);
        }
    
        @Override
        public org.apache.maven.api.model.Profile convert(Profile profile) {
            return SettingsUtilsV4.convertFromSettingsProfile(profile);
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                    .profiles(request.getProfiles().stream()
                            .map(Profile::getDelegate)
                            .map(SettingsUtilsV4::convertToSettingsProfile)
                            .collect(Collectors.toList()))
                    .activeProfiles(request.getActiveProfiles())
                    .pluginGroups(request.getPluginGroups())
                    .build());
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top