Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for toMatch (0.16 sec)

  1. maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

            // here and be safe. jvz.
            // ----------------------------------------------------------------------------
    
            try {
                Files.createDirectories(destination.toPath().getParent());
                Files.copy(file.toPath(), destination.toPath());
            } catch (IOException e) {
                throw new RepositoryMetadataStoreException("Error copying POM to the local repository.", e);
            }
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        }
    
        public void merge(File current, File result) throws RepositoryException {
            try {
                if (current.exists()) {
                    Files.createDirectories(result.toPath().getParent());
                    Files.copy(current.toPath(), result.toPath());
                }
                ArtifactRepository localRepo = new MetadataRepository(result);
                metadata.storeInLocalRepository(localRepo, localRepo);
                merged = true;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

                    File remoteFile = new File(basedir, path(download.getArtifact()));
                    try {
                        Path dest = download.getFile().toPath();
                        Files.createDirectories(dest.getParent());
                        Files.copy(remoteFile.toPath(), dest);
                    } catch (IOException e) {
                        if (!remoteFile.exists()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLocalRepository.java

        @Nonnull
        @Override
        public String getType() {
            return repository.getContentType();
        }
    
        @Nonnull
        @Override
        public Path getPath() {
            return repository.getBasedir().toPath();
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  5. apache-maven/src/test/java/org/apache/maven/settings/GlobalSettingsTest.java

            assertTrue(globalSettingsFile.isFile(), globalSettingsFile.getAbsolutePath());
    
            try (InputStream is = Files.newInputStream(globalSettingsFile.toPath())) {
                new SettingsStaxReader().read(is, true, new InputSource(globalSettingsFile.getAbsolutePath()));
            }
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  6. maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

         * @deprecated Use {@link #FileSource(Path)} instead.
         */
        @Deprecated
        public FileSource(File file) {
            this(Objects.requireNonNull(file, "file cannot be null").toPath());
        }
    
        /**
         * Creates a new source backed by the specified file.
         *
         * @param path The file, must not be {@code null}.
         * @since 4.0.0
         */
        public FileSource(Path path) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/ExtensionDescriptorBuilder.java

                }
            } else {
                File pluginXml = new File(extensionJar, getExtensionDescriptorLocation());
    
                if (pluginXml.canRead()) {
                    try (InputStream is = Files.newInputStream(pluginXml.toPath())) {
                        extensionDescriptor = build(is);
                    }
                }
            }
    
            return extensionDescriptor;
        }
    
        /**
         * @since 3.3.0
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

         * TODO share with DefaultPluginMappingManager.
         */
        protected Metadata readMetadata(File mappingFile) throws RepositoryMetadataReadException {
    
            try (InputStream in = Files.newInputStream(mappingFile.toPath())) {
                return new Metadata(new MetadataStaxReader().read(in, false));
            } catch (FileNotFoundException e) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultLocalRepository.java

        @Nonnull
        @Override
        public String getType() {
            return repository.getContentType();
        }
    
        @Nonnull
        @Override
        public Path getPath() {
            return repository.getBasedir().toPath();
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. 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));
            // re-build pom with modified parent
    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)
Back to top