Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for ModelProblem (0.09 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

     * the problem.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class DefaultModelProblem implements ModelProblem {
    
        private final String source;
    
        private final int lineNumber;
    
        private final int columnNumber;
    
        private final String modelId;
    
        private final String message;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginManagement;
    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.composition.DependencyManagementImporter;
    import org.apache.maven.model.inheritance.InheritanceAssembler;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java

    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.DefaultModelBuildingRequest;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblem;
    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.building.ModelProblemCollectorRequest;
    
    /**
     */
    @Deprecated
    @Named
    @Singleton
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                            message += StringUtils.capitalizeFirstLetter(problem);
                            for (ModelProblem modelProblem : problems) {
                                message += String.format(
                                        "\n* %s @ %s",
                                        modelProblem.getMessage(), ModelProblemUtils.formatLocation(modelProblem, null));
                            }
                            logger.warn(message);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ModelBuildingExceptionTest.java

        @Test
        void testMessage() {
            DefaultModelProblem pb1 =
                    new DefaultModelProblem("message1", ModelProblem.Severity.ERROR, null, "source", 0, 0, "modelId", null);
            DefaultModelProblem pb2 =
                    new DefaultModelProblem("message2", ModelProblem.Severity.ERROR, null, "source", 0, 0, "modelId", null);
            String msg = ModelBuildingException.toMessage("modelId", Arrays.asList(pb1, pb2));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

    import java.util.List;
    import java.util.stream.Collectors;
    
    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
    - 5.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

    import java.util.List;
    import java.util.Map;
    import java.util.Properties;
    
    import org.apache.maven.model.Activation;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelProblem;
    import org.apache.maven.model.profile.DefaultProfileActivationContext;
    import org.apache.maven.model.profile.ProfileSelector;
    import org.apache.maven.profiles.activation.ProfileActivationException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java

                            // TODO: https://issues.apache.org/jira/browse/MNG-8004
                            problems.add(new ModelProblemCollectorRequest(
                                            ModelProblem.Severity.WARNING, ModelProblem.Version.V40)
                                    .setMessage("Ignored POM import for: " + toString(dependency) + " as already imported "
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java

     * under the License.
     */
    package org.apache.maven.model.interpolation;
    
    import java.util.List;
    
    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.codehaus.plexus.interpolation.ValueSource;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            rel.relocatedArtifact = relocatedArtifact;
    
            return rel;
        }
    
        private ModelProblem hasMissingParentPom(ProjectBuildingException e) {
            if (e.getCause() instanceof ModelBuildingException) {
                ModelBuildingException mbe = (ModelBuildingException) e.getCause();
                for (ModelProblem problem : mbe.getProblems()) {
                    if (problem.getException() instanceof UnresolvableModelException) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top