Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 25 of 25 for getAbsoluteFile (0.33 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        private final LocalRepository repository;
    
        public LegacyLocalRepositoryManager(File basedir) {
            this.repository = new LocalRepository(basedir.getAbsoluteFile(), "legacy");
        }
    
        @Override
        public LocalRepository getRepository() {
            return repository;
        }
    
        @Override
        public String getPathForLocalArtifact(Artifact artifact) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                try {
                    cliRequest.multiModuleProjectDirectory = basedir.getCanonicalFile();
                } catch (IOException e) {
                    cliRequest.multiModuleProjectDirectory = basedir.getAbsoluteFile();
                }
            }
    
            // We need to locate the top level project which may be pointed at using
            // the -f/--file option.  However, the command line isn't parsed yet, so
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        protected File getLocalRepositoryPath() throws FileNotFoundException, URISyntaxException {
            File markerFile = getFileForClasspathResource("local-repo/marker.txt");
    
            return markerFile.getAbsoluteFile().getParentFile();
        }
    
        protected static File getFileForClasspathResource(String resource)
                throws FileNotFoundException, URISyntaxException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

        @Override
        public File getPomFile() {
            return pomFile;
        }
    
        @Override
        public DefaultModelBuildingRequest setPomFile(File pomFile) {
            this.pomFile = (pomFile != null) ? pomFile.getAbsoluteFile() : null;
    
            return this;
        }
    
        @Override
        public synchronized ModelSource getModelSource() {
            if (modelSource == null && pomFile != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                        @Override
                        public Object getValue(String expression) {
                            if (projectDir != null && "baseUri".equals(expression)) {
                                return projectDir.getAbsoluteFile().toPath().toUri().toASCIIString();
                            }
                            return null;
                        }
                    },
                    PROJECT_PREFIXES,
                    false);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
Back to Top