Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Milesi (0.17 sec)

  1. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                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);
                        Files.delete(artifactPath.getParent());
    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)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Shortcut for {@code getService(ArtifactResolver.class).resolve(...)}.
         *
         * @param coordinates coordinates of all artifacts to resolve
         * @return requested artifacts together with the paths to their files
         * @throws org.apache.maven.api.services.ArtifactResolverException if the artifact resolution failed
         *
         * @see org.apache.maven.api.services.ArtifactResolver#resolve(Session, Collection)
         */
        @Nonnull
    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)
  3. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/TestApiStandalone.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.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;
    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)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

        }
    
        protected abstract void merge(Metadata recessive);
    
        static Metadata read(Path metadataPath) throws RepositoryException {
            if (!Files.exists(metadataPath)) {
                return Metadata.newInstance();
            }
    
            try (InputStream input = Files.newInputStream(metadataPath)) {
                return new MetadataStaxReader().read(input, false);
            } catch (IOException | XMLStreamException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Objects;
    
    class PathSource implements ModelSource {
    
        private final Path path;
        private final String location;
    
        PathSource(Path path) {
    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)
  6. maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            resolutionErrorHandler.throwErrors(request, result);
            assertEquals(1, result.getArtifacts().size());
    
            //
            // Put in a bogus file to make sure missing files cause the resolution to fail.
            //
            file = new File(getBasedir(), "src/test/repository-system/maven-monkey-2.1.0.jar");
            assertFalse(file.exists());
            d.setSystemPath(file.getCanonicalPath());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                                    Version.V20,
                                    prefix + prefix2 + "systemPath",
                                    key,
                                    "should not point at files within the project directory, " + sysPath
                                            + " will be unresolvable by dependent projects",
                                    dependency);
                        }
                    }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            try {
                Path tempPath = null;
                try {
                    tempPath = Files.createTempFile("transport-get", "tmp");
                    Files.write(tempPath, source);
                    put(tempPath, relativeTarget);
                } finally {
                    if (tempPath != null) {
                        Files.deleteIfExists(tempPath);
                    }
                }
            } catch (IOException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top