Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Liles (0.12 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. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

     * under the License.
     */
    package org.apache.maven.artifact.deployer;
    
    import javax.inject.Inject;
    
    import java.io.File;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.Files;
    
    import org.apache.maven.artifact.AbstractArtifactComponentTestCase;
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.execution.MavenSession;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top