Package org.bonitasoft.plugin
Class MavenSessionExecutor
java.lang.Object
org.bonitasoft.plugin.MavenSessionExecutor
Executes maven requests with information from an active session.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classException thrown when the maven build fails. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(File pomFile, File rootModuleDirectory, List<String> goals, Map<String, String> properties, List<String> activeProfiles, Supplier<String> errorMessageBase) static org.bonitasoft.bonita2bar.MavenExecutorforBarFromSession(org.apache.maven.execution.MavenSession session) Get the maven executor from the maven sessionstatic MavenSessionExecutorfromSession(org.apache.maven.execution.MavenSession session) Get the maven executor from the maven session
-
Method Details
-
execute
-
fromSession
Get the maven executor from the maven session- Parameters:
session- maven session- Returns:
- executor relying on the session
-
forBarFromSession
public static org.bonitasoft.bonita2bar.MavenExecutor forBarFromSession(org.apache.maven.execution.MavenSession session) Get the maven executor from the maven session- Parameters:
session- maven session- Returns:
- executor relying on the session
-