Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 123 for getData (0.05 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            File f = new File(getBasedir(), path);
    
            f.createNewFile();
    
            return artifactRepositoryFactory.createArtifactRepository(
                    "test", "file://" + f.getPath(), repoLayout, null, null);
        }
    
        protected String getRepositoryLayout() {
            return "default";
        }
    
        protected ArtifactRepository localRepository() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.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 = basedir.resolve(file.getPath())
                            .normalize()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                            + new File(System.getProperty("basedir", "."), "src/test/remote-repo")
                                    .getAbsoluteFile()
                                    .toURI()
                                    .getPath(),
                    new DefaultRepositoryLayout(),
                    new ArtifactRepositoryPolicy(),
                    new ArtifactRepositoryPolicy());
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            assertNotNull(resolved);
            assertNotNull(resolved.getPath());
            Optional<Path> op = session.getArtifactPath(resolved);
            assertTrue(op.isPresent(), "Expected " + op + ".isPresent() to return true");
            assertEquals(resolved.getPath(), op.get());
        }
    
        @Test
        void testBuildProject() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

         *
         * @return an optional containing the path to the project, or empty if not specified
         */
        @Nonnull
        Optional<Path> getPath();
    
        /**
         * Gets the source of the project to build.
         * This is an alternative to specifying a path, allowing the project to be built from
         * a model source such as a string or input stream.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        }
    
        @Nonnull
        @Override
        public Optional<Path> getPath(@Nonnull Project project) {
            requireNonNull(project, "project" + " cannot be null");
            Optional<ProducedArtifact> mainArtifact = project.getMainArtifact();
            return mainArtifact.flatMap(artifactManager::getPath);
        }
    
        @Nonnull
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/DownloadedArtifact.java

     */
    @Experimental
    @Immutable
    public interface DownloadedArtifact extends Artifact {
    
        /**
         * {@return the a path to the file that has been downloaded to the file system}.
         */
        Path getPath();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

        }
    
        @Override
        public ModelSource2 getRelatedSource(String relPath) {
            relPath = relPath.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
            Path relatedPom = getPath().getParent().resolve(relPath);
    
            if (Files.isDirectory(relatedPom)) {
                // TODO figure out how to reuse ModelLocator.locatePom(File) here
                relatedPom = relatedPom.resolve("pom.xml");
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java

            URI uri = URI.create("jar:" + gradleRuntimeApiInfoJar.getAbsoluteFile().toURI());
            try (FileSystem fs = FileSystems.newFileSystem(uri, Collections.emptyMap())) {
                Path upgradedPropertiesJson = fs.getPath(UPGRADED_PROPERTIES_FILE);
                if (Files.exists(upgradedPropertiesJson)) {
                    Files.copy(upgradedPropertiesJson, to.getAsFile().get().toPath(), StandardCopyOption.REPLACE_EXISTING);
                } else {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        Path createFile() throws IOException {
          Path file = java.nio.file.Files.createTempFile("SinkSourceFile", "txt");
          fileThreadLocal.set(file);
          return file;
        }
    
        Path getPath() {
          return fileThreadLocal.get();
        }
    
        // acts as an override in subclasses that implement SourceSinkFactory
        @SuppressWarnings("EffectivelyPrivate")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 17.9K bytes
    - Click Count (0)
Back to Top