Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for pathes (0.17 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. 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)
  4. 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)
  5. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            when(sessionDataMock.get(any())).thenReturn(new NoTransformerContext());
    
            Path beforePomFile =
                    Paths.get("src/test/resources/projects/transform/before.pom").toAbsolutePath();
            Path afterPomFile =
                    Paths.get("src/test/resources/projects/transform/after.pom").toAbsolutePath();
            Path tempFile = Files.createTempFile("", ".pom");
            Files.delete(tempFile);
    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)
  6. 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)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

            return a -> matches(artifact.getGroupId(), a.getGroupId())
                    && matches(artifact.getArtifactId(), a.getArtifactId())
                    && matches(artifact.getBaseVersion(), a.getBaseVersion())
                    && matches(artifact.getExtension(), a.getExtension())
                    && matches(artifact.getClassifier(), a.getClassifier());
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java

                @Override
                public int size() {
                    return (int) properties.entrySet().stream()
                            .filter(PropertiesAsMap::matches)
                            .count();
                }
            };
        }
    
        private static boolean matches(Entry<Object, Object> entry) {
            return entry.getKey() instanceof String && entry.getValue() instanceof String;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

         * Determines if the OS on which Maven is executing matches the
         * given OS family.
         *
         * @param family the family to check for
         * @return true if the OS matches
         *
         */
        public static boolean isFamily(String family) {
            return isFamily(family, OS_NAME);
        }
    
        /**
         * Determines if the OS on which Maven is executing matches the
         * given OS family derived from the given OS name
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

                    if (location.contains("://")) {
                        stringBuilder.append(" (").append(location).append(")");
                    } else {
                        Path topDirectory = mavenSession.getTopDirectory();
                        Path locationPath = Paths.get(location).toAbsolutePath().normalize();
                        if (locationPath.startsWith(topDirectory)) {
                            locationPath = topDirectory.relativize(locationPath);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 19 21:11:13 GMT 2023
    - 17.4K bytes
    - Viewed (0)
Back to top