Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for setLocation (0.07 sec)

  1. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

        } // -- String getModelId()
    
        /**
         * Set the path/URL of the POM or {@code null} if unknown.
         *
         * @param location
         */
        public void setLocation(String location) {
            this.location = location;
        } // -- void setLocation( String )
    
        /**
         * Set the identifier of the POM in the format {@code
         * <groupId>:<artifactId>:<version>}.
         *
         * @param modelId
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            problems.add(new ModelProblemCollectorRequest(Severity.ERROR, ModelProblem.Version.BASE)
                    .setMessage("Failed to interpolate file location " + path + ": " + e.getMessage())
                    .setLocation(Optional.ofNullable(target.getLocation(locationKey))
                            .map(InputLocation::new)
                            .orElse(null))
                    .setException(e));
        }
    
    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-model/src/main/java/org/apache/maven/model/InputLocation.java

                }
            }
            result.setLocations(locations);
    
            return result;
        } // -- InputLocation merge( InputLocation, InputLocation, java.util.Collection )
    
        /**
         *
         *
         * @param locations
         */
        public void setLocations(java.util.Map<Object, InputLocation> locations) {
            this.locations = locations;
        } // -- void setLocations( java.util.Map )
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .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/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)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("Failed to determine Java version for profile " + profile.getId())
                        .setLocation(activation.getLocation("jdk")));
                return false;
            }
            try {
                return isJavaVersionCompatible(jdk, version);
            } catch (NumberFormatException e) {
    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. compat/maven-model/src/main/java/org/apache/maven/model/InputLocationTracker.java

         * <code>null</code> if unknown.
         */
        public InputLocation getLocation(Object field);
        /**
         * Sets the location of the specified field.
         *
         * @param field The key of the field, must not be
         * <code>null</code>.
         * @param location The location of the field, may be
         * <code>null</code>.
         */
        public void setLocation(Object field, InputLocation location);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java

                        .setMessage("Failed to interpolate file location " + path + " for profile " + profile.getId() + ": "
                                + e.getMessage())
                        .setLocation(file.getLocation(missing ? "missing" : "exists"))
                        .setException(e));
                return false;
            }
    
            if (path == null) {
                return false;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorRequest.java

        }
    
        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)
  10. 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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
Back to top