- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getMojoExecution (0.21 sec)
-
maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java
public List<MojoExecution> getMojoExecutions() { List<MojoExecution> result = new ArrayList<>(); for (ExecutionPlanItem executionPlanItem : planItem) { result.add(executionPlanItem.getMojoExecution()); } return result; } /** * Get set of plugins having a goal/mojo used but not marked @threadSafe *
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Wed Jan 10 12:55:54 GMT 2024 - 6.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/ExecutionPlanItem.java
} return result; } public MojoExecution getMojoExecution() { return mojoExecution; } public String getLifecyclePhase() { return mojoExecution.getLifecyclePhase(); } public Plugin getPlugin() { final MojoDescriptor mojoDescriptor = getMojoExecution().getMojoDescriptor(); return mojoDescriptor.getPluginDescriptor().getPlugin(); }
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java
public Optional<Project> getProject() { return Optional.ofNullable(delegate.getProject()).map(session::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());
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 2K bytes - Viewed (0) -
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();
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java
return session; } @Override public MavenProject getProject() { return session.getCurrentProject(); } @Override public MojoExecution getMojoExecution() { return mojoExecution; } @Override public Exception getException() { return exception; }
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Wed Jan 10 12:55:54 GMT 2024 - 2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/PluginExecutionException.java
super(mojoExecution.getMojoDescriptor(), project, constructMessage(mojoExecution, cause), cause); this.mojoExecution = mojoExecution; } public MojoExecution getMojoExecution() { return mojoExecution; } private static String constructMessage(MojoExecution mojoExecution, Throwable cause) { String message; if (mojoExecution != null) {
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Thu Sep 14 11:48:15 GMT 2023 - 2.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDebugLogger.java
logger.debug("Repositories (plugins) : " + currentProject.getRemotePluginRepositories()); for (ExecutionPlanItem mojoExecution : executionPlan) { debugMojoExecution(mojoExecution.getMojoExecution()); } logger.debug("======================================================================="); } private void debugMojoExecution(MojoExecution mojoExecution) {
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 5.8K 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();
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 2.1K bytes - Viewed (0) -
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())) {
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 21.3K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java
List<MojoExecution> result = new ArrayList<>(); for (ExecutionPlanItem executionPlanItem : mavenExecutionPlan) { result.add(executionPlanItem.getMojoExecution()); } return result; } // We need to take in multiple lifecycles public void testCalculationOfBuildPlanTasksOfTheCleanLifecycleAndTheInstallLifecycle() throws Exception {
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Tue Jan 09 20:57:17 GMT 2024 - 24.7K bytes - Viewed (0)