- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getMojoExecution (0.16 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java
public Optional<Project> getProject() { return Optional.ofNullable(session.getProject(delegate.getProject())); } @Override public Optional<MojoExecution> getMojoExecution() { return Optional.ofNullable(delegate.getMojoExecution()).map(me -> new DefaultMojoExecution(session, me)); } @Override public Optional<Exception> getException() { return Optional.ofNullable(delegate.getException());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
init(); logger.info(""); MessageBuilder buffer = builder().strong(">>> "); append(buffer, event.getMojoExecution()); buffer.strong(" > "); appendForkInfo(buffer, event.getMojoExecution().getMojoDescriptor()); append(buffer, event.getProject()); buffer.strong(" >>>"); logger.info(buffer.toString()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java
*/ MavenProject getProject(); /** * Gets the current mojo execution (if any). * * @return The current mojo execution or {@code null} if not applicable. */ MojoExecution getMojoExecution(); /** * Gets the exception that caused the event (if any). * * @return The exception or {@code null} if none. */ Exception getException();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
*/ private void processEvent(ExecutionEvent event) { MavenProject project = event.getProject(); switch (event.getType()) { case MojoStarted: String phase = event.getMojoExecution().getLifecyclePhase(); if (phase != null) { Deque<String> phases = getLifecycles(project); if (!Objects.equals(phase, phases.peekLast())) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.3K bytes - Viewed (0)