Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Wiles (0.18 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

                 * source files.
                 */
                if (Files.isDirectory(file)) {
                    Map<Path, String> names = new HashMap<>();
                    try (Stream<Path> subdirs = Files.list(file)) {
                        subdirs.filter(Files::isDirectory).forEach((subdir) -> {
                            Path mf = subdir.resolve(MODULE_INFO);
                            if (Files.isRegularFile(mf)) {
    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)
  2. 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)
  3. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

     */
    package org.apache.maven.internal.aether;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.UncheckedIOException;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Objects;
    
    import org.apache.maven.model.InputLocation;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Apr 12 11:08:37 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  4. 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)
  5. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

    package org.apache.maven.plugin.internal;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.*;
    import java.lang.annotation.Annotation;
    import java.nio.file.Files;
    import java.util.*;
    import java.util.jar.JarFile;
    import java.util.stream.Collectors;
    import java.util.zip.ZipEntry;
    
    import org.apache.maven.RepositoryUtils;
    import org.apache.maven.api.Project;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                File remoteFile = new File(remoteRepo.getBasedir(), remoteRepo.pathOf(artifact));
    
                Files.createDirectories(localFile.toPath().getParent());
                Files.copy(remoteFile.toPath(), localFile.toPath());
            }
    
            artifact.setResolved(true);
        }
    
        public void retrieve(
                ArtifactRepository repository,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

                 * source files.
                 */
                if (Files.isDirectory(file)) {
                    Map<Path, String> names = new HashMap<>();
                    try (Stream<Path> subdirs = Files.list(file)) {
                        subdirs.filter(Files::isDirectory).forEach((subdir) -> {
                            Path mf = subdir.resolve(MODULE_INFO);
                            if (Files.isRegularFile(mf)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            String parentContent = new String(Files.readAllBytes(parent.toPath()), StandardCharsets.UTF_8);
            parentContent = parentContent.replace(
                    "<packaging>pom</packaging>",
                    "<packaging>pom</packaging><properties><addedProperty>addedValue</addedProperty></properties>");
            Files.write(parent.toPath(), parentContent.getBytes(StandardCharsets.UTF_8));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    }
                }
    
                disconnectWagon(wagon);
    
                releaseWagon(protocol, wagon);
            }
        }
    
        private void cleanupTemporaryFiles(List<File> files) {
            for (File file : files) {
                // really don't care if it failed here only log warning
                if (!file.delete()) {
                    logger.warn("skip failed to delete temporary file : " + file.getAbsolutePath());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionRangeResolver.java

                        syncContext.acquire(null, Collections.singleton(metadata));
    
                        if (metadata.getPath() != null && Files.exists(metadata.getPath())) {
                            try (InputStream in = Files.newInputStream(metadata.getPath())) {
                                versioning =
                                        new MetadataStaxReader().read(in, false).getVersioning();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top