Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 61 for getRelocation (0.24 sec)

  1. 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)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

                                .setMessage("Failed to determine activation for profile " + profile.getId() + ": "
                                        + e.getMessage())
                                .setLocation(profile.getLocation(""))
                                .setException(e));
                        return false;
                    }
                }
            }
            return isActive;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K 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-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

                        .setMessage("The property name is required to activate the profile " + profile.getId())
                        .setLocation(property.getLocation("")));
                return false;
            }
    
            String sysValue = context.getUserProperties().get(name);
            if (sysValue == null) {
                sysValue = context.getSystemProperties().get(name);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorRequest.java

            return message;
        }
    
        public ModelProblemCollectorRequest setMessage(String message) {
            this.message = message;
            return this;
        }
    
        public InputLocation getLocation() {
            return location;
        }
    
        public ModelProblemCollectorRequest setLocation(InputLocation location) {
            this.location = location;
            return this;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

            return this.lineNumber;
        } // -- int getLineNumber()
    
        /**
         *
         *
         * @param key
         * @return InputLocation
         */
        public InputLocation getLocation(Object key) {
            if (key instanceof String) {
                switch ((String) key) {
                    case "": {
                        return this.location;
                    }
                    default: {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)));
        }
    
        private static org.apache.maven.model.InputLocation getLocation(String fieldName, InputLocationTracker tracker) {
            InputLocation location = null;
    
            if (tracker != null) {
                if (fieldName != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  10. 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)
Back to top