Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 93 for getPaths (0.17 seconds)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        }
    
        @Test
        public void testPropertiesInterpolation() throws Exception {
            FileSystem fs = Jimfs.newFileSystem(Configuration.windows());
    
            Path mavenHome = fs.getPath("C:\\maven");
            Files.createDirectories(mavenHome);
            Path mavenConf = mavenHome.resolve("conf");
            Files.createDirectories(mavenConf);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
                    file = file.getAbsoluteFile();
                } else {
                    // an ordinary relative path, align with project directory
                    file = new File(new File(basedir, file.getPath()).toURI().normalize()).getAbsoluteFile();
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

            return MAVEN_METADATA_XML;
        }
    
        @Deprecated
        @Override
        public File getFile() {
            return path != null ? path.toFile() : null;
        }
    
        @Override
        public Path getPath() {
            return path;
        }
    
        @Override
        public void merge(File existing, File result) throws RepositoryException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            File pom4 = new File(pom3.getParentFile(), "p4/pom.xml");
            File pom5 = new File(pom4.getParentFile(), "p5/pom.xml");
    
            System.out.println("Location of project-4's POM: " + pom4.getPath());
    
            // load everything...
            MavenProject project0 = getProject(pom0);
            MavenProject project1 = getProject(pom1);
            MavenProject project2 = getProject(pom2);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 04 10:35:11 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        @Override
        public File getFile() {
            return null;
        }
    
        @Override
        public MetadataBridge setFile(File file) {
            return this;
        }
    
        @Override
        public Path getPath() {
            return null;
        }
    
        @Override
        public Nature getNature() {
            if (metadata instanceof RepositoryMetadata repositoryMetadata) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

                        && artifact.getClassifier().isEmpty()) {
                    try {
                        Path tmpPom = Files.createTempFile("pom-inliner-", ".xml");
                        String originalPom = Files.readString(artifact.getPath());
                        String interpolatedPom = interpolator.interpolate(
                                originalPom,
                                property -> {
                                    if (needsInlining.contains(property)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

         *
         * @return the underlying {@code Path} if this source is file-backed,
         *         or {@code null} if this source has no associated file
         */
        @Nullable
        Path getPath();
    
        /**
         * Creates a new input stream to read the source contents.
         * Each call creates a fresh stream starting from the beginning.
         * The caller is responsible for closing the returned stream.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 29 09:46:53 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                mavenConf = fileSystem.getPath(systemProperties.getProperty(MAVEN_INSTALLATION_CONF));
            } else if (systemProperties.getProperty("maven.conf") != null) {
                mavenConf = fileSystem.getPath(systemProperties.getProperty("maven.conf"));
            } else if (systemProperties.getProperty(MAVEN_HOME) != null) {
                mavenConf = fileSystem.getPath(systemProperties.getProperty(MAVEN_HOME), "conf");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

            // Other required methods with minimal implementations
            @Override
            public ModelSource getSource() {
                return new ModelSource() {
                    @Override
                    public Path getPath() {
                        return Paths.get("test-pom.xml");
                    }
    
                    @Override
                    public String getLocation() {
                        return "test-pom.xml";
                    }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

            return type;
        }
    
        /** @return the classifier */
        public String getClassifier() {
            return this.classifier;
        }
    
        /** @return the path */
        public String getPath() {
            return this.path;
        }
    
        public List<ArtifactRepository> getRemoteRepositories() {
            return remoteRepositories;
        }
    
        public String getOriginalMessage() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Apr 01 21:22:14 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top