Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for pathes (0.29 sec)

  1. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

    class ComparableVersionIT {
    
        @Test
        void test() throws Exception {
            Files.walkFileTree(Paths.get("target"), new SimpleFileVisitor<Path>() {
                Pattern mavenArtifactJar = Pattern.compile("maven-artifact-[\\d.]+(-SNAPSHOT)?\\.jar");
    
                @Override
                public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
                    String filename = file.getFileName().toString();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         * followed by the specified path elements.
         *
         * @param paths the path to format as a tool option
         * @return the option associated to this path type followed by the given path elements,
         *         or an empty string if there is no path element
         * @throws IllegalStateException if no option is associated to this path type
         */
        @Nonnull
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. 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)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java

                        Artifact artifact = session.getArtifact(result.getArtifact());
                        Path path = result.getArtifact().getFile().toPath();
                        artifactManager.setPath(artifact, path);
                        paths.put(artifact, path);
                    }
                }
                return () -> paths;
            } catch (ArtifactResolutionException e) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Dec 15 06:34:19 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

        /**
         * Returns the file paths of all dependencies, regardless on which tool option those paths should be placed.
         * The returned list may contain a mix of Java class-path, Java module-path, and other types of path elements.
         *
         * @return the paths of all dependencies
         */
        @Nonnull
        List<Path> getPaths();
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/internal/impl/DefaultSessionTest.java

            MavenSession ms = new MavenSession(null, rss, mer, null);
            ms.getRequest().setRootDirectory(Paths.get("myRootDirectory"));
            DefaultSession session =
                    new DefaultSession(ms, mock(RepositorySystem.class), Collections.emptyList(), null, null, null);
    
            assertEquals(Paths.get("myRootDirectory"), session.getRootDirectory());
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jan 25 13:58:24 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

            paths = new ArrayList<>(count);
            dispatchedPaths = new LinkedHashMap<>();
            dependencies = new LinkedHashMap<>(count + count / 3);
        }
    
        /**
         * Adds the given path element to the specified type of path.
         *
         * @param type the type of path (class-path, module-path, …)
         * @param path the path element to add
         */
        private void addPathElement(PathType type, Path path) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsBuilderFactoryTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Map;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.Session;
    import org.apache.maven.api.services.SettingsBuilder;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. apache-maven/src/assembly/maven/conf/settings.xml

         | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
         | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
         |
        <mirror>
          <id>mirrorId</id>
          <mirrorOf>repositoryId</mirrorOf>
          <name>Human Readable Name for this Mirror.</name>
          <url>http://my.repository.com/repo/path</url>
        </mirror>
        -->
        <mirror>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jun 19 15:06:01 GMT 2023
    - 11K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java

        /**
         * Builds the effective settings of the specified settings paths.
         *
         * @return the result of the settings building, never {@code null}
         * @throws SettingsBuilderException if the effective settings could not be built
         */
        @Nonnull
        default SettingsBuilderResult build(
                @Nonnull Session session, @Nonnull Path globalSettingsPath, @Nonnull Path userSettingsPath) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.1K bytes
    - Viewed (0)
Back to top