Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for setLocation (0.19 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                        return source.getInputStream();
                    }
    
                    @Override
                    public String getLocation() {
                        return source.getLocation();
                    }
    
                    @Override
                    public org.apache.maven.api.services.Source resolve(String relative) {
                        return null;
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.InjectMocks;
    import org.mockito.Spy;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import static org.apache.maven.internal.impl.StaxLocation.getLocation;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.Mockito.doReturn;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

                Model model = new Model(mr.read(parser, strict, source != null ? source.toApiSource() : null));
                return model;
            } catch (XMLStreamException e) {
                Location location = e.getLocation();
                throw new ModelParseException(
                        e.getMessage(),
                        location != null ? location.getLineNumber() : -1,
                        location != null ? location.getColumnNumber() : -1,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                }
                builder.properties(merged);
                builder.location(
                        "properties",
                        InputLocation.merge(
                                target.getLocation("properties"), source.getLocation("properties"), sourceDominant));
            }
    
            private void putAll(Map<String, String> s, Map<String, String> t, Object excludeKey) {
                for (Map.Entry<String, String> e : t.entrySet()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterException.java

         * @param e the exception itself
         */
        public XmlWriterException(String message, Location location, Exception e) {
            super(message, e);
            this.location = location;
        }
    
        public Location getLocation() {
            return location;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

            URL txtFile = new File("target/test-classes/source.txt").toURI().toURL();
            UrlSource source = new UrlSource(txtFile);
            assertEquals(txtFile.toExternalForm(), source.getLocation());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

        @Test
        void testGetLocation() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
            assertEquals(txtFile.getAbsolutePath(), source.getLocation());
        }
    
        @Test
        void testGetFile() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                        throw new IllegalStateException(String.format(
                                "No unique Source for %s:%s: %s and %s",
                                groupId, artifactId, a.getLocation(), b.getLocation()));
                    })
                    .orElse(null);
        }
    
        public void putSource(String groupId, String artifactId, FileModelSource source) {
            mappedSources
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java

                writer.print("[");
                writer.print(problem.getSeverity());
                writer.print("] ");
                writer.print(problem.getMessage());
                String location = problem.getLocation();
                if (!location.isEmpty()) {
                    writer.print(" @ ");
                    writer.print(location);
                }
                writer.println();
            }
    
            return buffer.toString();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderException.java

         * @param e the exception itself
         */
        public XmlReaderException(String message, Location location, Exception e) {
            super(message, e);
            this.location = location;
        }
    
        public Location getLocation() {
            return location;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top