Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 19 of 19 for getArtifactHandler (0.33 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

                        .orElse(null);
                if (type == null) {
                    // Copy data as the ArtifactHandler is not immutable, but Type should be.
                    ArtifactHandler handler = manager.getArtifactHandler(id);
                    type = new DefaultType(
                            id,
                            languageRegistry.lookup(handler.getLanguage()).orElseGet(() -> handler::getLanguage),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed May 14 04:47:58 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

                    source.getScope(),
                    extension,
                    classifier,
                    new TransformedArtifactHandler(
                            classifier, extension, source.getArtifactHandler().getPackaging()));
            this.pomArtifactTransformer = pomArtifactTransformer;
            this.project = project;
            this.target = target;
            this.session = session;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

        @Override
        public void install(String basedir, String finalName, Artifact artifact, ArtifactRepository localRepository)
                throws ArtifactInstallationException {
            String extension = artifact.getArtifactHandler().getExtension();
            File source = new File(basedir, finalName + "." + extension);
    
            install(source, artifact, localRepository);
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                Artifact artifact,
                ArtifactRepository deploymentRepository,
                ArtifactRepository localRepository)
                throws ArtifactDeploymentException {
            String extension = artifact.getArtifactHandler().getExtension();
            File source = new File(basedir, finalName + "." + extension);
            deploy(source, artifact, deploymentRepository, localRepository);
        }
    
        @Override
        public void deploy(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

                // system scopes come through unchanged...
                desiredScope = Artifact.SCOPE_SYSTEM;
            }
    
            ArtifactHandler handler = artifactHandlerManager.getArtifactHandler(type);
    
            return new DefaultArtifact(
                    groupId, artifactId, versionRange, desiredScope, type, classifier, handler, optional);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

                    artifact.getArtifactId(),
                    range,
                    artifact.getScope(),
                    artifact.getType(),
                    artifact.getClassifier(),
                    artifact.getArtifactHandler(),
                    artifact.isOptional());
            clone.setRelease(artifact.isRelease());
            clone.setResolvedVersion(artifact.getVersion());
            clone.setResolved(artifact.isResolved());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            Artifact artifact = artifactFactory.createBuildArtifact("test", "test", version, type);
            artifact.setFile(new File(
                    testData,
                    "test-" + version + "." + artifact.getArtifactHandler().getExtension()));
            assertFalse(artifact.getFile().exists());
            return artifact;
        }
    
        private ArtifactRepository createStringRepo() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                    pomRepositories = rel.project.getRemoteArtifactRepositories();
                }
            }
    
            Set<Artifact> artifacts = Collections.emptySet();
    
            if (!artifact.getArtifactHandler().isIncludesDependencies()) {
                artifacts = new LinkedHashSet<>();
    
                for (Dependency dependency : dependencies) {
    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)
  9. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                // system scopes come through unchanged...
                desiredScope = Artifact.SCOPE_SYSTEM;
            }
    
            ArtifactHandler handler = artifactHandlerManager.getArtifactHandler(type);
    
            return new DefaultArtifact(
                    groupId, artifactId, versionRange, desiredScope, type, classifier, handler, optional);
        }
    
        //
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
Back to Top