Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 247 for path (0.17 sec)

  1. maven-core/src/test/resources/projects/build-path-expression-pom.xml

    <project>
      <modelVersion>4.0.0</modelVersion>
      <groupId>org.apache.maven.project.tests</groupId>
      <artifactId>build-path-expression</artifactId>
      <version>1</version>
      <build>
        <sourceDirectory>sources</sourceDirectory>
        <resources>
          <resource>
            <directory>${project.build.sourceDirectory}</directory>
          </resource>
        </resources>
      </build>
    XML
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Wed Apr 29 05:20:38 GMT 2009
    - 381 bytes
    - Viewed (0)
  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 artifact the artifact for which to associate a path
         * @param path path to associate to the given artifact
         *
         * @see org.apache.maven.api.services.ArtifactManager#setPath(Artifact, Path)
         */
        void setArtifactPath(@Nonnull Artifact artifact, @Nonnull Path path);
    
        /**
         * Shortcut for {@code getService(ArtifactManager.class).getPath(...)}.
         *
    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/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)
  5. 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)
  6. 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)
  7. maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

        public String unalignFromBaseDirectory(String path, File basedir) {
            if (basedir == null) {
                return path;
            }
    
            if (path == null) {
                return null;
            }
    
            path = path.trim();
    
            String base = basedir.getAbsolutePath();
            if (path.startsWith(base)) {
                path = chopLeadingFileSeparator(path.substring(base.length()));
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java

            return new XmlWriterRequestBuilder<>();
        }
    
        class XmlWriterRequestBuilder<T> {
            Path path;
            OutputStream outputStream;
            Writer writer;
            T content;
    
            public XmlWriterRequestBuilder<T> path(Path path) {
                this.path = path;
                return this;
            }
    
            public XmlWriterRequestBuilder<T> outputStream(OutputStream outputStream) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

         * or on the module-path when the {@code "jar"} artifact type is used.
         */
        private PathType getPathType(Path path) throws IOException {
            PathType type = pathTypes.get(path);
            if (type == null) {
                type = new PathModularization(path, false).getPathType();
                pathTypes.put(path, type);
            }
            return type;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         *
         * @param path directory or JAR file to test
         * @param resolve whether the module names are requested. If false, null values may be used instead
         * @throws IOException if an error occurred while reading the JAR file or the module descriptor
         */
        PathModularization(Path path, boolean resolve) throws IOException {
            if (Files.isDirectory(path)) {
                /*
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
Back to top