Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 64 for getLocations (0.09 seconds)

  1. 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) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  2. 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();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java

            assertNull(source.getPath(), "Resolved sources should return null for getPath()");
            assertEquals(path.toString(), source.getLocation());
        }
    
        @Test
        void testModelIdFormat() {
            String location = "/tmp/test.xml";
            Path path = Paths.get(location);
            String modelId = "com.example:test-artifact:1.2.3";
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 2.5K bytes
    - Click Count (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);
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

            public InputStream openStream() throws IOException {
                return modelSource.getInputStream();
            }
    
            @Override
            @Nonnull
            public String getLocation() {
                return modelSource.getLocation();
            }
    
            @Override
            @Nullable
            public Source resolve(@Nonnull String relative) {
                if (modelSource instanceof ModelSource2 ms) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  6. 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();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

         *   <li>Description: {@code <memory>} or {@code <database>}</li>
         * </ul>
         *
         * @return a non-null string describing the source location
         */
        @Nonnull
        String getLocation();
    
        /**
         * Resolves a new source relative to this one.
         * <p>
         * The resolution strategy depends on the source type:
         * <ul>
         *   <li>File sources resolve against their parent directory</li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 29 09:46:53 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. 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());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

            @Nonnull
            public InputStream openStream() throws IOException {
                return Files.newInputStream(path);
            }
    
            @Override
            @Nonnull
            public String getLocation() {
                return location;
            }
    
            @Override
            @Nullable
            public Source resolve(@Nonnull String relative) {
                return new PathSource(path.resolve(relative));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top