Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for aiofiles (0.94 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java

         */
        List<String> getActiveProfileIds();
    
        /**
         * Gets the identifiers of those profiles that should be deactivated by explicit demand.
         *
         * @return The identifiers of those profiles to deactivate, never {@code null}.
         */
        List<String> getInactiveProfileIds();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            checkBuildPluginWithArtifactId(
                    outsidePlugins,
                    "plugin-all-profiles",
                    "Outside ||${project.basedir}||",
                    "<plugin-all-profiles-out>Outside ||${project.basedir}||</plugin-all-profiles-out>");
    
            // =============================================
            Profile activeProfile = originalModel.getProfiles().stream()
    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-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

        }
    
        private List<Profile> interpolateActivations(
                List<Profile> profiles, DefaultProfileActivationContext context, DefaultModelProblemCollector problems) {
            if (profiles.stream()
                    .map(org.apache.maven.api.model.Profile::getActivation)
                    .noneMatch(Objects::nonNull)) {
                return profiles;
            }
            final Interpolator xform = new RegexBasedInterpolator();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         * {@code <groupId>:<artifactId>:<version>} for a POM profile or {@code external} for profiles from the
         * {@code settings.xml}.
         *
         * @return The identifiers of all injected profiles, indexed by the source from which the profiles originated, never
         *         {@code null}.
         */
        public Map<String, List<String>> getInjectedProfileIds() {
            return this.injectedProfileIds;
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *     <li>Project properties (optional)</li>
         *     <li>User properties (highest precedence)</li>
         * </ul>
         * Note: Project properties contains properties injected from profiles, if applicable. Their precedence is
         * {@code profile > project}, hence active profile property may override project property.
         * <p>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            if (!errors.isEmpty()) {
                throw errors.get(0);
            }
    
            return profiles;
        }
    
        /* (non-Javadoc)
         * @see org.apache.maven.profiles.ProfileManager#addProfiles(java.util.List)
         */
        public void addProfiles(List<Profile> profiles) {
            for (Profile profile1 : profiles) {
                addProfile(profile1);
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileSelector.java

    /**
     * Calculates the active profiles among a given collection of profiles.
     *
     */
    public interface ProfileSelector {
    
        /**
         * Determines the profiles which are active in the specified activation context. Active profiles will eventually be
         * injected into the model.
         *
         * @param profiles The profiles whose activation status should be determined, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         *         not refer to a known model or has no active profiles.
         */
        @Nonnull
        List<Profile> getActivePomProfiles(@Nonnull String modelId);
    
        /**
         * Gets the external profiles that were active during model building. External profiles are those that were
         * contributed by {@link ModelBuilderRequest#getProfiles()}.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. maven-api-impl/src/test/java/org/apache/maven/internal/impl/model/MavenModelMergerTest.java

            assertEquals(modelPrerequisites, builder.build().getPrerequisites());
        }
    
        // Profiles are neither inherited nor injected
        @Test
        void testMergeModel_Profiles() {
            Model parent = Model.newBuilder()
                    .profiles(Collections.singletonList(Profile.newInstance()))
                    .build();
            Model model = Model.newInstance();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileInjector.java

                Model model, List<Profile> profiles, ModelBuilderRequest request, ModelProblemCollector problems) {
            Model result = CACHE.computeIfAbsent(model, k -> new ConcurrentHashMap<>())
                    .computeIfAbsent(profiles, l -> doInjectProfiles(model, profiles));
            return result == KEY ? model : result;
        }
    
        private Model doInjectProfiles(Model model, List<Profile> profiles) {
            Model orgModel = model;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.5K bytes
    - Viewed (0)
Back to top