Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for ModelProblem (0.12 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblem.Severity;
    import org.apache.maven.model.building.ModelProblem.Version;
    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.building.ModelProblemCollectorRequest;
    import org.apache.maven.model.path.PathTranslator;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java

    import java.io.File;
    
    import org.apache.maven.model.Activation;
    import org.apache.maven.model.ActivationFile;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelProblem.Severity;
    import org.apache.maven.model.building.ModelProblem.Version;
    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.building.ModelProblemCollectorRequest;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorExt.java

    public interface ModelProblemCollectorExt extends ModelProblemCollector {
    
        /**
         * The collected problems.
         * @return a list of model problems encountered, never {@code null}
         */
        List<ModelProblem> getProblems();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

    import org.apache.maven.internal.impl.InternalMavenSession;
    import org.apache.maven.internal.impl.InternalSession;
    import org.apache.maven.model.building.ModelBuildingException;
    import org.apache.maven.model.building.ModelProblem;
    import org.apache.maven.repository.RepositorySystem;
    import org.apache.maven.repository.internal.MavenRepositorySystemUtils;
    import org.apache.maven.session.scope.internal.SessionScope;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

         * {@link ModelProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause
         * the model builder to fail with a {@link ModelBuildingException}.
         *
         * @return The problems that were encountered during the model building, can be empty but never {@code null}.
         */
        List<ModelProblem> getProblems();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

    import java.util.List;
    import java.util.regex.Pattern;
    
    import org.apache.maven.model.Activation;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelProblem.Severity;
    import org.apache.maven.model.building.ModelProblem.Version;
    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.building.ModelProblemCollectorRequest;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

    import org.apache.maven.api.services.ProjectBuilderResult;
    import org.apache.maven.api.services.Source;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.model.building.ModelProblem;
    import org.apache.maven.model.building.ModelSource2;
    import org.apache.maven.project.DefaultProjectBuildingRequest;
    import org.apache.maven.project.ProjectBuildingException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         *
         * @return the problems that were encountered during the project building, can be empty but never {@code null}
         */
        @Nonnull
        List<ModelProblem> getProblems();
    
        /**
         * Gets the children of this result.
         *
         * @return the children of this result, can be empty but never {@code null}
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

                return "";
            }
        }
    
        /**
         * Gets the problems that caused this exception.
         *
         * @return The problems that caused this exception, never {@code null}.
         */
        public List<ModelProblem> getProblems() {
            if (result == null) {
                return Collections.emptyList();
            }
            return Collections.unmodifiableList(result.getProblems());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            Result<? extends ProjectDependencyGraph> graphResult = graphBuilder.build(session);
            for (ModelProblem problem : graphResult.getProblems()) {
                if (problem.getSeverity() == ModelProblem.Severity.WARNING) {
                    logger.warn(problem.getMessage());
                } else {
                    logger.error(problem.getMessage());
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
Back to top