Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 330 for location (0.08 seconds)

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

         *
         * @param location the API model InputLocation to convert from
         */
        public InputLocation(org.apache.maven.api.model.InputLocation location) {
            this.lineNumber = location.getLineNumber();
            this.columnNumber = location.getColumnNumber();
            this.source = location.getSource() != null ? new InputSource(location.getSource()) : null;
            this.locations = location.getLocations().isEmpty()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

                InputLocation location = profile.getLocation("");
                assertNotNull(location, "Profile location should not be null for profile: " + profile.getId());
                assertTrue(
                        location.getLineNumber() > 0,
                        "Profile location line number should be positive, but was: " + location.getLineNumber()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         * This method is the converse of {@link #location()}.
         *
         * @param location identification of a path in the {@code javax.tool} API
         * @return Java path type associated to the given location
         */
        public static Optional<JavaPathType> valueOf(JavaFileManager.Location location) {
            for (JavaPathType type : JavaPathType.values()) {
                if (location.equals(type.location)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 15.7K bytes
    - Click Count (1)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterException.java

        private final Location location;
    
        /**
         * @param message the message for the exception
         * @param e the exception itself
         */
        public XmlWriterException(String message, Location location, Exception e) {
            super(message, e);
            this.location = location;
        }
    
        public Location getLocation() {
            return location;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

             * Constructs a new PathSource with the specified path and location.
             *
             * @param path the filesystem path to the source content
             * @param location the logical location of the source, used for reporting purposes.
             *                 If null, the path string representation is used
             */
            protected PathSource(Path path, String location) {
                this.path = requireNonNull(path, "path").normalize();
    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)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderException.java

        private final Location location;
    
        /**
         * @param message the message for the exception
         * @param e the exception itself
         */
        public XmlReaderException(String message, Location location, Exception e) {
            super(message, e);
            this.location = location;
        }
    
        public Location getLocation() {
            return location;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  7. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

            return this.modelId;
        } // -- 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>}.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingException.java

                            if (!location.isEmpty()) {
                                location += ", ";
                            }
                            location += "column " + problem.getColumnNumber();
                        }
    
                        if (!location.isEmpty()) {
                            buffer.append(" @ ").append(location);
                        }
                        buffer.append("\n");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jul 26 19:15:57 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java

                            .location("", DefaultLifecycleRegistry.DEFAULT_LIFECYCLE_INPUT_LOCATION)
                            .location("id", DefaultLifecycleRegistry.DEFAULT_LIFECYCLE_INPUT_LOCATION)
                            .location("phase", DefaultLifecycleRegistry.DEFAULT_LIFECYCLE_INPUT_LOCATION)
                            .location("goals", DefaultLifecycleRegistry.DEFAULT_LIFECYCLE_INPUT_LOCATION)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 28 15:21:19 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  10. api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java

            assertEquals(path, source.getPath());
        }
    
        @Test
        void testResolvedSourceWithModelId() {
            String location = "/tmp/resolved-pom.xml";
            Path path = Paths.get(location);
            String modelId = "org.apache.maven:maven-core:4.0.0";
    
            ModelSource source = Sources.resolvedSource(path, modelId);
    
            assertNotNull(source);
    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)
Back to Top