Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 283 for profil (0.24 sec)

  1. maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            return requestProperties;
        }
    
        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) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

                    "only-active-profile",
                    "Active only ||${project.basedir}||",
                    "<plugin-in-active-profile-only>Active only ||${project.basedir}||</plugin-in-active-profile-only>");
    
            // =============================================
    
            Profile inactiveProfile = originalModel.getProfiles().stream()
                    .filter(profile -> profile.getId().equals("inactiveProfile"))
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  3. 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();
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  4. 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.ACTIVATION_REQUIRED);
        }
    
        /**
         * Mark a profile as optional and activated.
         * @param id The identifier of the profile.
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  5. 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)
  6. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileSelector.java

         * @param context The environmental context used to determine the activation status of a profile, must not be
         *            {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         * @return The profiles that have been activated, never {@code null}.
         */
        List<Profile> getActiveProfiles(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileInjector.java

         */
        default Model injectProfile(
                Model model, Profile profile, ModelBuilderRequest request, ModelProblemCollector problems) {
            return injectProfiles(model, List.of(profile), request, problems);
        }
    
        /**
         * Merges values from the specified profile into the given model. Implementations are expected to keep the profile
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

        @Test
        void testShouldActivateDefaultProfile() throws Exception {
            Profile notActivated = new Profile();
            notActivated.setId("notActivated");
    
            Activation nonActivation = new Activation();
    
            nonActivation.setJdk("19.2");
    
            notActivated.setActivation(nonActivation);
    
            Profile defaultActivated = new Profile();
            defaultActivated.setId("defaultActivated");
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileInjector.java

                if (profile != null) {
                    Model.Builder builder = Model.newBuilder(model);
                    merger.mergeModelBase(builder, model, profile);
    
                    if (profile.getBuild() != null) {
                        Build build = model.getBuild() != null ? model.getBuild() : Build.newInstance();
                        Build.Builder bbuilder = Build.newBuilder(build);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java

    /**
     * Determines profile activation based on the operating system of the current runtime platform.
     *
     * @see ActivationOS
     */
    @Named("os")
    @Singleton
    public class OperatingSystemProfileActivator implements ProfileActivator {
    
        private static final String REGEX_PREFIX = "regex:";
    
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.9K bytes
    - Viewed (0)
Back to top