Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 140 for Metafile (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            this.parent = parent;
        }
    
        public boolean hasParent() {
            return getParent() != null;
        }
    
        public File getFile() {
            return file;
        }
    
        public void setFile(File file) {
            this.file = file;
            this.basedir = file != null ? file.getParentFile() : null;
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
  2. 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();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

            Profile profile = newExistsProfile("file.txt");
            assertEquals("file.txt", profile.getActivation().getFile().getExists());
    
            assertActivation(true, profile, context);
    
            assertEquals("file.txt", profile.getActivation().getFile().getExists());
        }
    
        private Profile newExistsProfile(String filePath) {
            ActivationFile activationFile =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. 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) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/UserLocalArtifactRepository.java

            // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal
            // with multiple local repository implementations yet.
            artifact.setFile(artifactFile);
    
            return artifact;
        }
    
        @Override
        public String getId() {
            return localRepository.getId();
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. 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);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. 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;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

        }
    
        private List<Artifact> newTestArtifactList() {
            List<Artifact> artifacts = new ArrayList<Artifact>();
    
            Artifact artifact = mock(Artifact.class);
            when(artifact.getFile()).thenReturn(new File(new File("local/repository"), "some/path"));
            when(artifact.getGroupId()).thenReturn("group1");
            when(artifact.getArtifactId()).thenReturn("artifact1");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. 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())) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/TransferResourceIdentifier.java

            String resourceName,
            @Nullable File file) {
        TransferResourceIdentifier(TransferResource resource) {
            this(resource.getRepositoryId(), resource.getRepositoryUrl(), resource.getResourceName(), resource.getFile());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top