Package io.quarkus.enforcer
Class BansRuntimeDependency
java.lang.Object
io.quarkus.enforcer.DeploymentDependencyRuleSupport
io.quarkus.enforcer.BansRuntimeDependency
- All Implemented Interfaces:
org.apache.maven.enforcer.rule.api.EnforcerRule,org.apache.maven.enforcer.rule.api.EnforcerRule2
Bans from a deployment module of an extension all runtime dependencies to "foreign" extensions.
-
Field Summary
Fields inherited from class io.quarkus.enforcer.DeploymentDependencyRuleSupport
DEPLOYMENT_ARTIFACT_ID_SUFFIX, GROUP_ID_PREFIX, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(org.apache.maven.project.MavenProject project, Map<String, org.apache.maven.artifact.Artifact> nonDeploymentArtifactsByGAV, Map<String, org.apache.maven.model.Dependency> directDepsByGAV) protected booleanisCheckRequired(org.apache.maven.project.MavenProject project) Methods inherited from class io.quarkus.enforcer.DeploymentDependencyRuleSupport
buildGAVKey, execute, getCacheId, getLevel, isCacheable, isResultValid, parseDeploymentGAV, setLevel
-
Constructor Details
-
BansRuntimeDependency
public BansRuntimeDependency()
-
-
Method Details
-
execute
protected void execute(org.apache.maven.project.MavenProject project, Map<String, org.apache.maven.artifact.Artifact> nonDeploymentArtifactsByGAV, Map<String, throws org.apache.maven.enforcer.rule.api.EnforcerRuleExceptionorg.apache.maven.model.Dependency> directDepsByGAV) - Specified by:
executein classDeploymentDependencyRuleSupport- Throws:
org.apache.maven.enforcer.rule.api.EnforcerRuleException
-
isCheckRequired
protected boolean isCheckRequired(org.apache.maven.project.MavenProject project) - Overrides:
isCheckRequiredin classDeploymentDependencyRuleSupport
-