Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 71 for promise (9.01 sec)

  1. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

        }
    
        /**
         * @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());
    
            org.apache.maven.api.model.Activation modelActivation = modelProfile.getActivation();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  3. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileSelector.java

         *            {@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(
                Collection<Profile> profiles, ProfileActivationContext context, ModelProblemCollector problems);
    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)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

    import java.util.Optional;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.Profile;
    
    /**
     * Result of a project build call.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ModelBuilderResult {
    
        /**
    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)
  6. maven-api-impl/src/test/java/org/apache/maven/internal/impl/model/MavenModelMergerTest.java

                    .profiles(Collections.singletonList(Profile.newInstance()))
                    .build();
            Model model = Model.newInstance();
            Model.Builder builder = Model.newBuilder(model);
            modelMerger.mergeModel_Profiles(builder, model, parent, false, null);
            assertEquals(0, builder.build().getProfiles().size());
    
            Profile modelProfile = Profile.newBuilder().id("MODEL").build();
    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)
  7. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                    .map(Profile::getId);
            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);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

    /**
     * Collects problems that are encountered during model building. The primary purpose of this component is to account for
     * the fact that the problem reporter has/should not have information about the calling context and hence cannot provide
     * an expressive source hint for the model problem. Instead, the source hint is configured by the model builder before
     * it delegates to other components that potentially encounter problems. Then, the problem reporter can focus on
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java

                    problems.messages.get(0),
                    "'profiles.profile.id' must be unique but found duplicate profile with id test");
        }
    
        @Test
        void testValidateUniqueRepositoryId() throws Exception {
            Settings settings = new Settings();
            Profile profile = new Profile();
            profile.setId("pro");
            settings.addProfile(profile);
            Repository repo1 = new Repository();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Throwables.java

       * @param declaredType the single checked exception type declared by the calling method
       * @deprecated Use a combination of {@link #throwIfInstanceOf} and {@link #throwIfUnchecked},
       *     which togther provide the same behavior except that they reject {@code null}.
       */
      @Deprecated
      @J2ktIncompatible
      @GwtIncompatible // propagateIfInstanceOf
      public static <X extends Throwable> void propagateIfPossible(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
Back to top