- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 157 for setVersion (0.12 sec)
-
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
session.setSession(defaultSessionFactory.newSession(session)); sessionScope.seed(MavenSession.class, session); sessionScope.seed(Session.class, session.getSession()); sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(session.getSession())); legacySupport.setSession(session);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
List<MavenProject> sortedProjects = session.getProjectDependencyGraph().getSortedProjects(); for (MavenProject mavenProject : sortedProjects) { if (!topProject.getVersion().equals(mavenProject.getVersion())) { result = false; break; } } return result; } private void logReactorSummary(MavenSession session) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java
return create(DependencyCoordinatesFactoryRequest.build( session, dependency.getGroupId(), dependency.getArtifactId(), dependency.getVersion(), dependency.getClassifier(), null, dependency.getType())); } @Nonnull default DependencyCoordinates create(@Nonnull Session session, Plugin plugin) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 3.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java
public void manageArtifactVersion(Artifact artifact, Artifact replacement) { // only show msg if a change is actually taking place if (!replacement.getVersion().equals(artifact.getVersion())) { String msg = indent + artifact + " (applying version: " + replacement.getVersion() + ")"; logger.debug(msg); } } public void manageArtifactScope(Artifact artifact, Artifact replacement) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
assertEquals(createSet(artifacts), res.getArtifacts(), "Check artifact list"); assertEquals("1.0", getArtifact("d", res.getArtifacts()).getVersion(), "Check version"); assertEquals("2.0", getArtifact("b", res.getArtifacts()).getVersion(), "Check version"); } @Test void testResolveNearestNewestIsNearest() throws ArtifactResolutionException, InvalidVersionSpecificationException {
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/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java
res.getIncidentEdges(v2).get(0).getVersion(), "wrong edge v1-v2 in the resulting graph after resolver"); assertEquals( 1, res.getIncidentEdges(v3).size(), "wrong # of edges v1-v3 in the resulting graph after resolver"); assertEquals( "1.1", res.getIncidentEdges(v3).get(0).getVersion(),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.1K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java
"Cannot resolve", dependency.getGroupId(), dependency.getArtifactId(), dependency.getVersion()); } } }); ModelBuildingResult result = builder.build(request);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
} @Nonnull @Override public String getArtifactId() { return project.getArtifactId(); } @Nonnull @Override public String getVersion() { return project.getVersion(); } @Nonnull @Override public List<ProducedArtifact> getArtifacts() {
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/t06/ProjectInheritanceTest.java
Artifact artifact = (Artifact) iter.next(); System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion() + " Optional=" + (artifact.isOptional() ? "true" : "false")); assertTrue( artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId()); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java
MapProperty<String, String> replacementTokens = task.getReplacementTokens(); replacementTokens.put("version", moduleIdentity.getVersion().map(GradleVersion::getVersion)); replacementTokens.put("baseVersion", moduleIdentity.getVersion().map(v -> v.getBaseVersion().getVersion())); task.getDestinationFile().convention(extension.getStagingRoot().file("release-notes/release-notes.html")); });
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jul 26 08:15:16 UTC 2024 - 5.4K bytes - Viewed (0)