Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 100 for getFiler (0.04 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

                    .get(1)
                    .getActivation()
                    .getFile()
                    .getExists();
    
            assertEquals(originalExists, resultExists);
            assertTrue(result.getEffectiveModel()
                    .getProfiles()
                    .get(1)
                    .getActivation()
                    .getFile()
                    .getExists()
                    .contains(BASE_DIR));
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListenerTest.java

            Artifact localRepositoryArtifact = mock(Artifact.class);
            when(localRepositoryArtifact.getFile()).thenReturn(new File(baseDir, "some/path/within"));
    
            Artifact nonLocalReposioryArtifact = mock(Artifact.class);
            when(nonLocalReposioryArtifact.getFile()).thenReturn(new File("something/completely/different"));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/FileSettingsSource.java

        /**
         * Gets the settings file of this model source.
         *
         * @return The underlying settings file, never {@code null}.
         * @deprecated instead use {@link #getFile()}
         */
        @Deprecated
        public File getSettingsFile() {
            return getFile();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

            return profile.getActivation() != null && profile.getActivation().getFile() != null;
        }
    
        @Override
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
    
            ActivationFile actFile = activation.getFile();
    
            if (actFile != null) {
                // check if the file exists, if it does then the profile will be active
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

         */
        public ContentOutputStream(final int threshold, final File tmpDir) {
            super(threshold, PREFIX, SUFFIX, tmpDir);
        }
    
        @Override
        public File getFile() {
            done = true;
            return super.getFile();
        }
    
        /**
         * Closes the stream and deletes the temporary file if it was not retrieved.
         * If an error occurs during file deletion, it is logged but not thrown to avoid
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java

            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            ActivationFile file = activation.getFile();
    
            if (file == null) {
                return false;
            }
    
            String path;
            boolean missing;
    
            if (StringUtils.isNotEmpty(file.getExists())) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                    artifact.getProperty(ArtifactProperties.TYPE, artifact.getExtension()),
                    nullify(artifact.getClassifier()),
                    handler);
    
            result.setFile(artifact.getFile());
            result.setResolved(artifact.getFile() != null);
    
            List<String> trail = new ArrayList<>(1);
            trail.add(result.getId());
            result.setDependencyTrail(trail);
    
            return result;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 04 18:33:16 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                            reactorProject.getArtifact().getFile());
                }
    
                Map<String, Artifact> map = new HashMap<>();
                for (Artifact artifact : resolvedArtifacts) {
                    /**
                     * MNG-6300: resolvedArtifacts can be cache result; this ensures reactor files are always up-to-date
                     * During lifecycle the Artifact.getFile() can change from target/classes to the actual jar.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolverTest.java

            MavenProject war = session.getProjects().get(2);
    
            assertNull(war.getArtifactMap()
                    .get("org.apache.maven.its.mng6300:mng6300-lib")
                    .getFile());
    
            lib.getArtifact().setFile(new File("lib.jar"));
    
            resolver.resolveProjectDependencies(
                    war, scopesToCollect, scopesToResolve, session, aggregating, reactorArtifacts);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/classrealm/ArtifactClassRealmConstituent.java

            return artifact.getClassifier();
        }
    
        @Override
        public String getVersion() {
            return artifact.getBaseVersion();
        }
    
        @Override
        public File getFile() {
            return artifact.getFile();
        }
    
        @Override
        public String toString() {
            return artifact.toString();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top