Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for getLocation (0.07 seconds)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

                if (sourceDominant) {
                    target.setUrl(src);
                    target.setLocation("url", source.getLocation("url"));
                } else if (target.getUrl() == null) {
                    target.setUrl(extrapolateChildUrl(src, source.isChildProjectUrlInheritAppendPath(), context));
                    target.setLocation("url", source.getLocation("url"));
                }
            }
        }
    
        /*
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  2. 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(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 19 18:49:57 GMT 2025
    - 12K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                    merged.putAll(target.getProperties());
                }
                target.setProperties(merged);
                target.setLocation(
                        "properties",
                        InputLocation.merge(
                                target.getLocation("properties"), source.getLocation("properties"), sourceDominant));
            }
    
            private void putAll(Map<Object, Object> s, Map<Object, Object> t, Object excludeKey) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  4. 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:
    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)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                    .map(MojoExecution::getPlugin)
                    .filter(p -> p.getLocation("version") != null
                            && p.getLocation("version").getSource() != null
                            && defaulModelId.equals(
                                    p.getLocation("version").getSource().getModelId()))
                    .distinct()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

                return getOtherLocation(key);
            }
        } // -- InputLocation getLocation( Object )
    
        /**
         * Gets the map of nested element locations within this location.
         *
         * @return a map of keys to InputLocation instances for nested elements, or null if none
         */
        public java.util.Map<Object, InputLocation> getLocations() {
            return locations;
    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)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

                    mojoDescriptor.getPluginDescriptor().getPlugin().getLocation("");
            if (inputLocation != null && inputLocation.getSource() != null) {
                StringBuilder stringBuilder = new StringBuilder();
                stringBuilder.append(inputLocation.getSource().getModelId());
                String location = inputLocation.getSource().getLocation();
                if (location != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:32 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            for (Dependency dependency : project.getDependencies()) {
                if (dependency.getManagementKey().equals("org.apache.maven.its:a:jar")) {
                    dependencyLocation = dependency.getLocation("version");
                }
            }
            assertNotNull(dependencyLocation, "missing dependency");
            assertEquals(
                    "org.apache.maven.its:bom:0.1", dependencyLocation.getSource().getModelId());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  9. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            Source src = mock(Source.class);
            IOException ioException = new IOException("MESSAGE");
            doThrow(ioException).when(src).getInputStream();
            doReturn("LOCATION").when(src).getLocation();
    
            ToolchainsBuildingRequest request = new DefaultToolchainsBuildingRequest();
            request.setGlobalToolchainsSource(src);
    
            try {
                toolchainBuilder.build(request);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 14K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                }
                trackingData.add(indent + plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion());
                indent.append("  ");
    
                InputLocation location = plugin.getLocation("");
                if (location != null && location.getSource() != null) {
                    trackingData.add(indent + location.getSource().getModelId() + " (implicit)");
                    indent.append("  ");
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 29 08:17:07 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top