org.universAAL.support.directives.mojos
Class DependencyManagementCheckMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.universAAL.support.directives.api.AbstractCheckMojo
org.universAAL.support.directives.api.AbstractFixableCheckMojo
org.universAAL.support.directives.mojos.DependencyManagementCheckMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class DependencyManagementCheckMojo
- extends AbstractFixableCheckMojo
This Mojo checks (and fixes, if configured to do so) Dependency and DependencyManagement sections.
For parent POMs dependencyManagement section should contain all of it's modules as dependencies,
and the versions of these dependencies should match the actual version in the module's POM.
For project POMs there should not be any dependency with a version already managed by the inherited (or not)
dependencyManagement section.
- Author:
- amedrano
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DependencyManagementCheckMojo
public DependencyManagementCheckMojo()
getFix
public APIFixableCheck getFix()
-
- Specified by:
getFix
in class AbstractFixableCheckMojo
Copyright © 2014 universAAL Consortium. All Rights Reserved.