Package io.helidon.build.devloop.maven
Class MavenProjectConfigCollector
java.lang.Object
org.apache.maven.AbstractMavenLifecycleParticipant
io.helidon.build.devloop.maven.MavenProjectConfigCollector
@Component(role=org.apache.maven.AbstractMavenLifecycleParticipant.class)
public class MavenProjectConfigCollector
extends org.apache.maven.AbstractMavenLifecycleParticipant
Collects settings from a maven project and stores them in a config file for later use
by
MavenProjectSupplier. Must be installed as a maven extension to run.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterProjectsRead(org.apache.maven.execution.MavenSession session) voidafterSessionEnd(org.apache.maven.execution.MavenSession session) static PathassertSupportedProject(org.apache.maven.execution.MavenSession session) Assert that the project is one whose configuration we can support.Methods inherited from class org.apache.maven.AbstractMavenLifecycleParticipant
afterSessionStart
-
Constructor Details
-
MavenProjectConfigCollector
public MavenProjectConfigCollector()
-
-
Method Details
-
assertSupportedProject
Assert that the project is one whose configuration we can support.- Parameters:
session- The session.- Returns:
- The project directory.
-
afterProjectsRead
public void afterProjectsRead(org.apache.maven.execution.MavenSession session) - Overrides:
afterProjectsReadin classorg.apache.maven.AbstractMavenLifecycleParticipant
-
afterSessionEnd
public void afterSessionEnd(org.apache.maven.execution.MavenSession session) - Overrides:
afterSessionEndin classorg.apache.maven.AbstractMavenLifecycleParticipant
-