- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for hasLifecyclePhase (0.05 sec)
-
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/PhaseRecorderTest.java
final MojoExecution mojoExecution2 = executions.get(1); phaseRecorder.observeExecution(mojoExecution1); assertTrue(ProjectDependencyGraphStub.A.hasLifecyclePhase(mojoExecution1.getLifecyclePhase())); assertFalse(ProjectDependencyGraphStub.A.hasLifecyclePhase(mojoExecution2.getLifecyclePhase())); assertFalse(phaseRecorder.isDifferentPhase(mojoExecution1));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
return null; } private File determineBuildOutputDirectoryForArtifact(final MavenProject project, final Artifact artifact) { if (isTestArtifact(artifact)) { if (project.hasLifecyclePhase("test-compile")) { return new File(project.getBuild().getTestOutputDirectory()); } } else { String type = artifact.getProperty("type", "");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:20:38 UTC 2025 - 24.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java
* used by plugins. * * @param phase The phase to check for, must not be {@code null}. * @return {@code true} if the phase has been seen. */ public boolean hasLifecyclePhase(String phase) { return lifecyclePhases.contains(phase); } /** * <strong>Warning:</strong> This is an internal utility method that is only public for technical reasons, it is notRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Aug 29 12:47:20 UTC 2025 - 67K bytes - Viewed (0)