Class EnforceExtension
java.lang.Object
org.apache.maven.AbstractMavenLifecycleParticipant
org.apache.maven.extensions.enforcer.EnforceExtension
@Named("enforcer")
public class EnforceExtension
extends org.apache.maven.AbstractMavenLifecycleParticipant
Extends every MavenProject with the maven-enforcer-plugin, adding executions as defined in
.mvn/enforcer-extension.xml
- Since:
- 3.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterProjectsRead
(org.apache.maven.execution.MavenSession session) Methods inherited from class org.apache.maven.AbstractMavenLifecycleParticipant
afterSessionEnd, afterSessionStart
-
Constructor Details
-
EnforceExtension
public EnforceExtension()
-
-
Method Details
-
afterProjectsRead
public void afterProjectsRead(org.apache.maven.execution.MavenSession session) throws org.apache.maven.MavenExecutionException - Overrides:
afterProjectsRead
in classorg.apache.maven.AbstractMavenLifecycleParticipant
- Throws:
org.apache.maven.MavenExecutionException
-