Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for setArtifact (0.04 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            d.setScope(Artifact.SCOPE_COMPILE);
            Artifact artifact = repositorySystem.createDependencyArtifact(d);
    
            ArtifactResolutionRequest request = new ArtifactResolutionRequest()
                    .setArtifact(artifact)
                    .setResolveRoot(true)
                    .setResolveTransitively(true)
                    .setRemoteRepositories(getRemoteRepositories())
                    .setLocalRepository(getLocalRepository());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                Artifact projectArtifact = repositorySystem.createArtifact(
                        project.getGroupId(), project.getArtifactId(), project.getVersion(), null, project.getPackaging());
                project.setArtifact(projectArtifact);
    
                // only set those on 2nd phase, ignore on 1st pass
                if (project.getFile() != null) {
                    Build build = project.getBuild().getDelegate();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                                ? request.getArtifact()
                                        .setVersion(lowerBound.getVersion().toString())
                                : null;
                        org.eclipse.aether.artifact.Artifact upperArtifact = upperBound != null
                                ? request.getArtifact()
                                        .setVersion(upperBound.getVersion().toString())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

                    dependenciesValidator.validate(session, pluginArtifact, result);
                }
    
                pluginArtifact = result.getArtifact();
    
                if (logger.isWarnEnabled() && !result.getRelocations().isEmpty()) {
                    String message =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 15:32:43 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

                    new DefaultArtifact("com.example", "test", "consumer", "pom", "1.0.0") // consumer POM
                    );
            request.setArtifacts(artifacts);
            return request;
        }
    
        private InstallRequest createInstallRequestWithConsumerPom() {
            InstallRequest request = new InstallRequest();
            List<Artifact> artifacts = List.of(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

            if (consumerPomPresent(request.getArtifacts())) {
                // For install, we always include build POMs as they may be needed locally
                request.setArtifacts(replacePom(request.getArtifacts(), true));
            }
            return request;
        }
    
        @Override
        public DeployRequest remapDeployArtifacts(RepositorySystemSession session, DeployRequest request) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    componentDescriptor.setRealm(pluginRealm);
                }
    
                pluginDescriptor.setClassRealm(pluginRealm);
                pluginDescriptor.setArtifacts(pluginArtifacts);
            } else {
                boolean v4api = pluginDescriptor.getMojos().stream().anyMatch(MojoDescriptor::isV4Api);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                    .computeIfAbsent(getClass().getName() + ".relocations", () -> parseRelocations(session));
            if (relocations != null) {
                Artifact original = artifactDescriptorResult.getRequest().getArtifact();
                Relocation relocation = relocations.getRelocation(original);
                if (relocation != null
                        && (isProjectContext(artifactDescriptorResult.getRequest().getRequestContext())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                return result.getArtifactResults().stream()
                        .filter(ArtifactResult::isResolved)
                        .map(ArtifactResult::getArtifact)
                        .collect(Collectors.toList());
            } catch (PluginResolutionException | InterpolatorException e) {
                throw new ExtensionResolutionException(extension, e);
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java

                return result.getArtifactResults().stream()
                        .filter(ArtifactResult::isResolved)
                        .map(ArtifactResult::getArtifact)
                        .collect(Collectors.toList());
            } catch (PluginResolutionException | InterpolatorException e) {
                throw new ExtensionResolutionException(extension, e);
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top