Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setLocation (0.05 sec)

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

                    source.setModelId(ModelProblemUtils.toId(model));
                    source.setLocation(modelSource.getLocation());
                }
            } catch (ModelParseException e) {
                problems.add(new ModelProblemCollectorRequest(Severity.FATAL, Version.BASE)
                        .setMessage("Non-parseable POM " + modelSource.getLocation() + ": " + e.getMessage())
                        .setException(e));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:08 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            problems.add(new ModelProblemCollectorRequest(severity, version)
                    .setMessage(buffer.toString())
                    .setLocation(getLocation(fieldName, tracker)));
            // CHECKSTYLE_ON: LineLength
        }
    
        private static InputLocation getLocation(String fieldName, InputLocationTracker tracker) {
            InputLocation location = null;
    
            if (tracker != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 03 15:06:05 UTC 2025
    - 66.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

            public InputStream openStream() throws IOException {
                return modelSource.getInputStream();
            }
    
            @Override
            @Nonnull
            public String getLocation() {
                return modelSource.getLocation();
            }
    
            @Override
            @Nullable
            public Source resolve(@Nonnull String relative) {
                if (modelSource instanceof ModelSource2 ms) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                        .map(MojoExecution::getPlugin)
                        .filter(p -> p.getLocation("version") != null
                                && p.getLocation("version").getSource() != null
                                && defaulModelId.equals(
                                        p.getLocation("version").getSource().getModelId()))
                        .distinct()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 55.1K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    slf4jLogger.warn("{} @ {}", problem.getMessage(), problem.getLocation());
                }
    
                slf4jLogger.warn("");
            }
        }
    
        private Object getLocation(Source source, File defaultLocation) {
            if (source != null) {
                return source.getLocation();
            }
            return defaultLocation;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
Back to top