Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for setLocation (0.05 sec)

  1. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/model/plugin/DefaultLifecycleBindingsInjector.java

            if (defaultPlugins == null) {
                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("Unknown packaging: " + packaging)
                        .setLocation(model.getLocation("packaging")));
            } else if (!defaultPlugins.isEmpty()) {
                Model lifecycleModel = new Model();
                lifecycleModel.setBuild(new Build());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

                    InputSource inputSource = new InputSource();
                    inputSource.setModelId(modelId);
                    inputSource.setLocation(getClass().getResource(resource).toExternalForm());
                    options.put(ModelProcessor.INPUT_SOURCE, inputSource);
    
                    superModel = modelProcessor.read(is, options);
                } catch (IOException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

            defaultBindings.setModelId(DefaultLifecycleRegistry.DEFAULT_LIFECYCLE_MODELID);
    
            final Plugin plugin = mojoDescriptor.getPluginDescriptor().getPlugin();
            plugin.setLocation("version", new InputLocation(12, 34, defaultBindings));
            MojoExecution result = new MojoExecution(plugin, goal, executionId);
            result.setConfiguration(XmlNode.newInstance(executionId + "-" + goal));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

                assertTrue(
                        location.getSource().getLocation().contains("pom-with-profiles/pom.xml"),
                        "Profile location should contain 'pom-with-profiles/pom.xml', but was: "
                                + location.getSource().getLocation() + " for profile: " + profile.getId());
    
                // This demonstrates the cross-platform path behavior:
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K 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)));
            // 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)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            }
    
            LOGGER.debug(
                    "Reading installation settings from '{}'",
                    getLocation(settingsRequest.getGlobalSettingsSource(), settingsRequest.getGlobalSettingsFile()));
            LOGGER.debug(
                    "Reading project settings from '{}'",
                    getLocation(settingsRequest.getProjectSettingsSource(), settingsRequest.getProjectSettingsFile()));
            LOGGER.debug(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 19 18:49:57 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top