Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 61 for setLocation (0.71 seconds)

  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
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. 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));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  3. 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);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java

            Xpp3Dom dom = new Xpp3Dom("reportPlugin", plugin.getLocation(""));
    
            addDom(dom, "groupId", plugin.getGroupId(), plugin.getLocation("groupId"));
            addDom(dom, "artifactId", plugin.getArtifactId(), plugin.getLocation("artifactId"));
            addDom(dom, "version", plugin.getVersion(), plugin.getLocation("version"));
    
            Xpp3Dom configuration = (Xpp3Dom) plugin.getConfiguration();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. 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;
            }
    
            if (jdk.startsWith("!")) {
                return !version.startsWith(jdk.substring(1));
            } else if (isRange(jdk)) {
                try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. 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;
        }
    
        private boolean isActiveByDefault(Profile profile) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  7. 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 )
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (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;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. 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);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  10. 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;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top