- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for getArtifacts (0.12 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java
request.setArtifacts(replacePom(request.getArtifacts())); } return request; } public DeployRequest remapDeployArtifacts(RepositorySystemSession session, DeployRequest request) { if (Features.consumerPom(session.getUserProperties()) && consumerPomPresent(request.getArtifacts())) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* are NOT recommended (code like {@code "pom".equals(project.getPackaging)} must be avoided). Use method * {@link #getArtifacts()} to gain access to POM or build artifact. * * @see #getArtifacts() */ @Nonnull Packaging getPackaging(); /** * Returns the project language. It is by default determined by {@link #getPackaging()}. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 7.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java
@Experimental @Immutable public interface ArtifactDeployerRequest { @Nonnull Session getSession(); @Nonnull RemoteRepository getRepository(); @Nonnull Collection<ProducedArtifact> getArtifacts(); int getRetryFailedDeploymentCount(); @Nonnull static ArtifactDeployerRequestBuilder builder() { return new ArtifactDeployerRequestBuilder(); } @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 16:43:07 UTC 2024 - 4.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java
* * @since 4.0.0 */ @Experimental @Immutable public interface ArtifactInstallerRequest { @Nonnull Session getSession(); @Nonnull Collection<ProducedArtifact> getArtifacts(); @Nonnull static ArtifactInstallerRequestBuilder builder() { return new ArtifactInstallerRequestBuilder(); } @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 16:43:07 UTC 2024 - 3.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java
} if (result.hasMissingArtifacts()) { throw new MultipleArtifactsNotFoundException( request.getArtifact(), toList(result.getArtifacts()), result.getMissingArtifacts(), request.getRemoteRepositories()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
InternalSession.associate(session, iSession); ArtifactResolutionResult result = repositorySystem.resolve(request); resolutionErrorHandler.throwErrors(request, result); assertEquals(2, result.getArtifacts().size()); // // System scoped version which should // d.setScope(Artifact.SCOPE_SYSTEM);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java
MavenProject project1 = getProjectWithDependencies(pom1); assertEquals(pom0Basedir, project1.getParent().getBasedir()); Set set = project1.getArtifacts(); assertNotNull(set, "No artifacts"); assertTrue(set.size() > 0, "No Artifacts"); Iterator iter = set.iterator(); assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
@Override public List<ProducedArtifact> getArtifacts() { org.eclipse.aether.artifact.Artifact pomArtifact = RepositoryUtils.toArtifact(new ProjectArtifact(project)); org.eclipse.aether.artifact.Artifact projectArtifact = RepositoryUtils.toArtifact(project.getArtifact()); ArrayList<ProducedArtifact> result = new ArrayList<>(2); result.add(session.getArtifact(ProducedArtifact.class, pomArtifact));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java
assertEquals(pom0Basedir, project1.getParent().getBasedir()); System.out.println("Project " + project1.getId() + " " + project1); Set set = project1.getArtifacts(); assertNotNull(set, "No artifacts"); assertTrue(set.size() > 0, "No Artifacts"); assertTrue(set.size() == 3, "Set size should be 3, is " + set.size()); for (Object aSet : set) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/UnresolvedArtifacts.java
this.remoteRepositories = remoteRepositories; } public Artifact getOriginatingArtifact() { return originatingArtifact; } public List<Artifact> getArtifacts() { return artifacts; } public List<ArtifactRepository> getRemoteRepositories() { return remoteRepositories; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0)