Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 57 for setLocation (0.2 sec)

  1. compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java

         * empty string. The intention is to assist users during error reporting.
         *
         * @return A user-friendly hint about the location of the source, never {@code null}.
         */
        String getLocation();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java

            return path;
        }
    
        @Override
        public InputStream openStream() throws IOException {
            return Files.newInputStream(path);
        }
    
        @Override
        public String getLocation() {
            return location;
        }
    
        @Override
        public Source resolve(String relative) {
            return new PathSource(path.resolve(relative));
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Sep 18 11:42:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java

         * value is undefined.
         *
         * @return The location of the problem, never {@code null}.
         */
        String getLocation();
    
        /**
         * Gets the exception that caused this problem (if any).
         *
         * @return The exception that caused this problem or {@code null} if not applicable.
         */
        Exception getException();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

                writer.print("[");
                writer.print(problem.getSeverity());
                writer.print("] ");
                writer.print(problem.getMessage());
                String location = problem.getLocation();
                if (!location.isEmpty()) {
                    writer.print(" @ ");
                    writer.println(location);
                }
            }
    
            return buffer.toString();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         * value is undefined.
         *
         * @return The location of the problem, never {@code null}.
         */
        String getLocation();
    
        /**
         * Gets the exception that caused this problem (if any).
         *
         * @return The exception that caused this problem or {@code null} if not applicable.
         */
        Exception getException();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

         * The intention is to assist users during error reporting.
         *
         * @return a user-friendly hint about the location of the source, never {@code null}
         */
        @Nonnull
        String getLocation();
    
        /**
         * Returns a new source identified by a relative path. Implementation <strong>MUST</strong>
         * be able to accept <code>relative</code> parameter values that
         * <ul>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

         * value is undefined.
         *
         * @return the location of the problem, never {@code null}
         */
        @Nonnull
        String getLocation();
    
        /**
         * Gets the exception that caused this problem (if any).
         *
         * @return the exception that caused this problem or {@code null} if not applicable
         */
        @Nullable
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            }
    
            @Override
            public InputStream openStream() throws IOException {
                return Files.newInputStream(src);
            }
    
            @Override
            public String getLocation() {
                return src.toString();
            }
    
            @Override
            public Source resolve(String relative) {
                return ModelSource.fromPath(path.resolve(relative));
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                }
                trackingData.add(indent + plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion());
                indent += "  ";
    
                InputLocation location = plugin.getLocation("");
                if (location != null && location.getSource() != null) {
                    trackingData.add(indent + location.getSource().getModelId() + " (implicit)");
                    indent += "  ";
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top