Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 74 for getRelocation (0.07 sec)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            assertEquals("", problem.getLocation());
    
            problem = new DefaultProblem(null, null, "SOURCE", -1, -1, null);
            assertEquals("SOURCE", problem.getLocation());
    
            problem = new DefaultProblem(null, null, null, 42, -1, null);
            assertEquals("line 42", problem.getLocation());
    
            problem = new DefaultProblem(null, null, null, -1, 127, null);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

            assertNotNull(source);
            assertInstanceOf(Sources.ResolvedPathSource.class, source);
            assertNull(source.getPath());
            assertEquals(path.toString(), source.getLocation());
            assertEquals(modelId, source.getModelId());
        }
    
        @Test
        void testPathSourceFunctionality() {
            // Test basic source functionality
            Path path = Paths.get("/tmp");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

            @Override
            public InputStream getInputStream() throws IOException {
                return source.openStream();
            }
    
            @Override
            public String getLocation() {
                return source.getLocation();
            }
    
            @Override
            public ModelSource2 getRelatedSource(String relPath) {
                Source rel = source.resolve(relPath);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Sep 13 09:44:11 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java

        }
    
        @Test
        void testGetLocation() {
            StringSource source = new StringSource("Hello World!");
            assertEquals("(memory)", source.getLocation());
    
            source = new StringSource("Hello World!", "LOCATION");
            assertEquals("LOCATION", source.getLocation());
        }
    
        @Test
        void testGetContent() {
            StringSource source = new StringSource(null);
            assertEquals("", source.getContent());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

        }
    
        @Override
        public String getLocation() {
            return url.toString();
        }
    
        /**
         * Gets the URL of this source.
         *
         * @return The underlying URL, never {@code null}.
         */
        public URL getUrl() {
            return url;
        }
    
        @Override
        public String toString() {
            return getLocation();
        }
    
        @Override
        public int hashCode() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. 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)
  7. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

            this.hashCode = Objects.hash(path);
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return Files.newInputStream(path);
        }
    
        @Override
        public String getLocation() {
            return path.toString();
        }
    
        /**
         * Gets the file of this source.
         *
         * @return The underlying file, never {@code null}.
         * @deprecated Use {@link #getPath()} instead.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java

        @Override
        public int getLineNumber() {
            return lineNumber;
        }
    
        @Override
        public int getColumnNumber() {
            return columnNumber;
        }
    
        @Override
        public String getLocation() {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!getSource().isEmpty()) {
                if (!buffer.isEmpty()) {
                    buffer.append(", ");
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

        @Nullable
        Reader getReader();
    
        @Nullable
        Transformer getTransformer();
    
        boolean isStrict();
    
        @Nullable
        String getModelId();
    
        @Nullable
        String getLocation();
    
        boolean isAddDefaultEntities();
    
        interface Transformer {
            /**
             * Interpolate the value read from the xml document
             *
             * @param source    The source value
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:27 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

            if (settingsSource == null) {
                return new Settings();
            }
    
            problems.setSource(settingsSource.getLocation());
    
            Settings settings;
    
            try {
                Map<String, ?> options = Collections.singletonMap(SettingsReader.IS_STRICT, Boolean.TRUE);
    
                try {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top