Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getSystemPath (0.09 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            }
    
            boolean system =
                    dependency.getSystemPath() != null && dependency.getSystemPath().length() > 0;
    
            Map<String, String> props = null;
            if (system) {
                props = Collections.singletonMap(MavenArtifactProperties.LOCAL_PATH, dependency.getSystemPath());
            }
    
            Artifact artifact = new DefaultArtifact(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                return null;
            }
    
            if (Artifact.SCOPE_SYSTEM.equals(effectiveScope)) {
                dependencyArtifact.setFile(new File(dependency.getSystemPath()));
            }
    
            dependencyArtifact.setDependencyFilter(createDependencyFilter(dependency, inheritedFilter));
    
            return dependencyArtifact;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                    d.getClassifier(),
                    d.getScope(),
                    d.isOptional());
    
            if (Artifact.SCOPE_SYSTEM.equals(d.getScope()) && d.getSystemPath() != null) {
                artifact.setFile(new File(d.getSystemPath()));
            }
    
            if (!d.getExclusions().isEmpty()) {
                List<String> exclusions = new ArrayList<>();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                    new TestArtifactHandler(dependency.getType()));
    
            if (Artifact.SCOPE_SYSTEM.equals(dependency.getScope())) {
                artifact.setFile(new File(dependency.getSystemPath()));
                artifact.setResolved(true);
            }
    
            return artifact;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                    d.getClassifier(),
                    d.getScope(),
                    d.isOptional());
    
            if (Artifact.SCOPE_SYSTEM.equals(d.getScope()) && d.getSystemPath() != null) {
                artifact.setFile(new File(d.getSystemPath()));
            }
    
            if (!d.getExclusions().isEmpty()) {
                artifact.setDependencyFilter(new ExclusionArtifactFilter(d.getExclusions()));
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            assertNotNull(rDeps);
            assertEquals(1, rDeps.size());
            assertEquals(
                    new File(basedir, "artifact.jar").getAbsolutePath(),
                    new File(rDeps.get(0).getSystemPath()).getAbsolutePath());
        }
    
        @Test
        public void testRecursiveExpressionCycleNPE() throws Exception {
            Map<String, String> props = new HashMap<>();
            props.put("aa", "${bb}");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top