Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 375 for paths (0.15 sec)

  1. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            List<Path> paths = session.resolveDependencies(coord);
    
            assertNotNull(paths);
            assertEquals(10, paths.size());
            assertEquals("test-extension-1.jar", paths.get(0).getFileName().toString());
    
            // JUnit has an "Automatic-Module-Name", so it appears on the module path.
            Map<PathType, List<Path>> dispatched = session.resolveDependencies(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java

                        Artifact artifact = session.getArtifact(result.getArtifact());
                        Path path = result.getArtifact().getPath();
                        artifactManager.setPath(artifact, path);
                        paths.put(artifact, path);
                    }
                }
                return () -> paths;
            } catch (ArtifactResolutionException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @param dependencyCoordinate coordinate of the dependency for which to get the paths
         * @param scope build path scope (main compile, test compile, etc.) of desired paths
         * @param desiredTypes the type of paths to include in the result
         * @return paths to the transitive dependencies of the given project
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

            BeanConfigurationPathTranslator translator = path -> new File("base", path.getPath()).getAbsoluteFile();
    
            DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest();
            request.setBean(bean).setConfiguration(config);
            request.setValuePreprocessor(preprocessor).setPathTranslator(translator);
    
            configurator.configureBean(request);
    
            assertEquals(Paths.get("base/test").toAbsolutePath(), bean.file);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelPathTranslator.java

    import java.nio.file.Path;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.services.ModelBuilderRequest;
    
    /**
     * Resolves relative paths of a model against a specific base directory.
     *
     */
    public interface ModelPathTranslator {
    
        /**
         * Resolves the well-known paths of the specified model against the given base directory. Paths within plugin
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            @Override
            public Model getRawModel(Path from, String groupId, String artifactId) throws IllegalStateException {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public Model getRawModel(Path from, Path p) {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public Path locate(Path path) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/FileConfigTests.java

            final Map<String, Object> requestBody = new HashMap<>();
            final String keyProp = NAME_PREFIX + id;
            final String paths = "file:///" + NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("paths", paths);
            requestBody.put("num_of_thread", 5);
            requestBody.put("interval_time", 1000);
            requestBody.put("boost", id);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            try {
                Path artifactPath = getProjectLocalRepo()
                        .resolve(project.getGroupId())
                        .resolve(project.getArtifactId())
                        .resolve(project.getVersion());
                if (Files.isDirectory(artifactPath)) {
                    try (Stream<Path> paths = Files.list(artifactPath)) {
                        for (Path path : (Iterable<Path>) paths::iterator) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

                private final Map<Artifact, Path> paths = new ConcurrentHashMap<>();
    
                @Override
                public Optional<Path> getPath(Artifact artifact) {
                    return Optional.ofNullable(paths.get(artifact));
                }
    
                @Override
                public void setPath(Artifact artifact, Path path) {
                    paths.put(artifact, path);
                }
            };
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java

            if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) {
                final Path path = Paths.get(logFilePath, filename);
                return asStream(filename).contentTypeOctetStream().stream(out -> {
                    try (InputStream in = Files.newInputStream(path)) {
                        out.write(in);
                    }
                });
            }
            return StreamResponse.asEmptyBody();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.7K bytes
    - Viewed (0)
Back to top