Package io.helidon.build.dev.maven
Class MavenProjectConfigCollector
- java.lang.Object
-
- org.apache.maven.AbstractMavenLifecycleParticipant
-
- io.helidon.build.dev.maven.MavenProjectConfigCollector
-
@Component(role=org.apache.maven.AbstractMavenLifecycleParticipant.class) public class MavenProjectConfigCollector extends org.apache.maven.AbstractMavenLifecycleParticipantCollects settings from a maven project and stores them in the a config file for later use byMavenProjectSupplier. Must be installed as a maven extension to run.
-
-
Constructor Summary
Constructors Constructor Description MavenProjectConfigCollector()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterProjectsRead(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.
-
-
-
Method Detail
-
assertSupportedProject
public static Path assertSupportedProject(org.apache.maven.execution.MavenSession session)
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
-
-