Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 152 for Mathys (0.32 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelPathTranslator.java

    /**
     * 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
         * configuration are not processed.
         *
         * @param model The model whose paths should be resolved, may be {@code null}.
    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)
  2. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java

            MavenProject project;
            Path file = Paths.get("src/test/resources/consumer/trivial/child/pom.xml");
            try (InputStream inputStream = Files.newInputStream(file)) {
                org.apache.maven.model.Model model =
                        new org.apache.maven.model.Model(new MavenStaxReader().read(inputStream));
                project = new MavenProject(model);
                project.setRootDirectory(Paths.get("src/test/resources/consumer/trivial"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

                    session.createArtifactCoordinate("org.apache.maven.core.test", "test-extension", "1", "jar"));
    
            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.
    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)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java

                        Path path = result.getArtifact().getPath();
                        artifactManager.setPath(artifact, path);
                        paths.put(artifact, path);
                    }
                }
                return () -> paths;
            } catch (ArtifactResolutionException e) {
                throw new ArtifactResolverException("Unable to resolve artifact: " + e.getMessage(), 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)
  5. 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)
  6. 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)
  7. configure.py

      except subprocess.CalledProcessError:
        library_paths = [
            run_shell([
                python_bin_path, '-c',
                'from distutils.sysconfig import get_python_lib;'
                'print(get_python_lib())'
            ])
        ]
    
      all_paths = set(python_paths + library_paths)
      # Sort set so order is deterministic
      all_paths = sorted(all_paths)
    
      paths = []
      for path in all_paths:
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                        .filter(a -> Objects.equals(id, id(a)))
                        .forEach(a -> a.setFile(path != null ? path.toFile() : null));
            }
            if (path == null) {
                paths.remove(id);
            } else {
                paths.put(id, path);
            }
        }
    
        /**
         * Retrieve a stream of the project's artifacts.
         * Do not include the POM artifact as the file can't be set anyway.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/TestApiStandalone.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl.standalone;
    
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Map;
    
    import org.apache.maven.api.Artifact;
    import org.apache.maven.api.ArtifactCoordinate;
    import org.apache.maven.api.Node;
    import org.apache.maven.api.Session;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                        .resolve(project.getVersion());
                if (Files.isDirectory(artifactPath)) {
                    try (Stream<Path> paths = Files.list(artifactPath)) {
                        for (Path path : (Iterable<Path>) paths::iterator) {
                            Files.delete(path);
                        }
                    }
                    try {
                        Files.delete(artifactPath);
    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)
Back to top