Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 105 for getFiler (0.07 seconds)

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

            return pomRepositories;
        }
    
        private boolean hasFile(Artifact artifact) {
            return artifact != null
                    && artifact.getFile() != null
                    && artifact.getFile().exists();
        }
    
        private List<ArtifactRepository> aggregateRepositories(
                List<ArtifactRepository> requestRepositories, List<ArtifactRepository> pomRepositories) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

        }
    
        @SuppressWarnings("deprecation")
        @Override
        public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException {
            if (project.getFile() == null) {
                // If there is no build POM there is no reason to inject artifacts for the consumer POM.
                return;
            }
            if (Features.consumerPom(session.getConfigProperties())) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  3. compat/maven-settings/src/main/java/org/apache/maven/settings/RuntimeInfo.java

        public RuntimeInfo() {
            this.settings = DEFAULT_USER_SETTINGS_FILE;
        }
    
        public RuntimeInfo(File settings) {
            this.settings = settings;
        }
    
        public File getFile() {
            return settings;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmConstituent.java

         */
        String getVersion();
    
        /**
         * Gets the file of the constituent's artifact.
         *
         * @return The file, never {@code null}.
         */
        File getFile();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/CheckstylePrecommitPlugin.java

                }
            } else if ("file".equals(checkstyleConfUrl.getProtocol())) {
                copyCheckstyleConf.configure(t -> t.getInputs().files(checkstyleConfUrl.getFile(), checkstyleSuppressionsUrl.getFile()));
            }
    
            // Explicitly using an Action interface as java lambdas
            // are not supported by Gradle up-to-date checks
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 17 08:59:22 GMT 2021
    - 5.5K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ValidateChangelogEntryTask.java

        }
    
        @TaskAction
        public void executeTask() {
            final URI rootDir = projectLayout.getProjectDirectory().getAsFile().toURI();
            final Map<String, ChangelogEntry> changelogs = this.changelogs.getFiles()
                .stream()
                .collect(Collectors.toMap(file -> rootDir.relativize(file.toURI()).toString(), ChangelogEntry::parse));
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 3.3K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        throw e;
                    }
    
                    logger.debug("  Artifact " + artifact.getId() + " resolved to " + artifact.getFile());
    
                    artifact.setResolved(true);
                } else if (!artifact.getFile().exists()) {
                    String error = updateCheckManager.getError(artifact, repository);
                    if (error != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                } else {
                    File file = artifact.getFile();
                    log.debug("  Included {} located at {}", id, file);
                    realm.addURL(file.toURI().toURL());
                }
            }
            return CoreExtensionEntry.discoverFrom(
                    realm,
                    Collections.singleton(artifacts.get(0).getFile()),
                    extension.getGroupId() + ":" + extension.getArtifactId(),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/TransformationFailedException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.transformation;
    
    /**
     * Exception that may be thrown by the {@link org.apache.maven.artifact.Artifact#getFile()}
     * implementation.
     */
    public class TransformationFailedException extends RuntimeException {
    
        public TransformationFailedException(Throwable cause) {
            super(cause);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/FileBackedOutputStream.java

          return buf;
        }
    
        int getCount() {
          return count;
        }
      }
    
      /** Returns the file holding the data (possibly null). */
      @VisibleForTesting
      @Nullable File getFile() {
        return state.getFile();
      }
    
      /**
       * Creates a new instance that uses the given file threshold, and does not reset the data when the
       * {@link ByteSource} returned by {@link #asByteSource} is garbage collected.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
Back to Top