- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for addArtifact (0.19 sec)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java
project.addDependency(dependency2); project.setBuild(new Build()); // Build up an artifactMap project.addArtifact(new Artifact("g0", "a0", "v0", "e0", "c0")); project.addArtifact(new Artifact("g1", "a1", "v1", "e1", "c1")); project.addArtifact(new Artifact("g2", "a2", "v2", "e2", "c2")); } /** * <p>testValueExtraction.</p> * * @throws Exception if any.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
ArtifactResolutionResult result = new ArtifactResolutionResult(); if (request.isResolveRoot()) { try { resolve(request.getArtifact(), request); result.addArtifact(request.getArtifact()); } catch (IOException e) { result.addMissingArtifact(request.getArtifact()); } } if (request.isResolveTransitively()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java
} public ArtifactResolutionResult setOriginatingArtifact(final Artifact originatingArtifact) { this.originatingArtifact = originatingArtifact; return this; } public void addArtifact(Artifact artifact) { if (artifacts == null) { artifacts = new LinkedHashSet<>(); } artifacts.add(artifact); } public Set<Artifact> getArtifacts() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
ArtifactSpec spec = null; if (artifact != null) { spec = new ArtifactSpec(); spec.artifact = artifact; source.addArtifact(spec); } return spec; } @SuppressWarnings("unchecked") private static Set<Artifact> createSet(Object[] x) { return new LinkedHashSet(Arrays.asList(x)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 42.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
return result; } } if (artifacts == null || artifacts.isEmpty()) { if (request.isResolveRoot()) { result.addArtifact(rootArtifact); } return result; } // After the collection we will have the artifact object in the result but they will not be resolved yet.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 24.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
set.add(node); // This is required right now. result.addArtifact(artifact); } } } catch (OverConstrainedVersionException e) { result.addVersionRangeViolation(e); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 36.7K bytes - Viewed (0)