- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getMojoExecution (0.11 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) -
api/maven-api-core/src/main/java/org/apache/maven/api/Event.java
/** * Gets the current mojo execution (if any). * * @return the current mojo execution or {@code empty()} if not applicable */ @Nonnull Optional<MojoExecution> getMojoExecution(); /** * Gets the exception that caused the event (if any). * * @return the exception or {@code empty()} if none */ Optional<Exception> getException();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 2.1K 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)