org.universAAL.support.directives.mojos
Class DependencyManagementCheckMojo

Package class diagram package DependencyManagementCheckMojo
java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.universAAL.support.directives.api.AbstractCheckMojo
          extended by org.universAAL.support.directives.api.AbstractFixableCheckMojo
              extended by 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

Field Summary
 
Fields inherited from class org.universAAL.support.directives.api.AbstractCheckMojo
check, failed
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DependencyManagementCheckMojo()
           
 
Method Summary
 APIFixableCheck getFix()
          
 
Methods inherited from class org.universAAL.support.directives.api.AbstractFixableCheckMojo
execute, getCheck
 
Methods inherited from class org.universAAL.support.directives.api.AbstractCheckMojo
getProject, isSnapshot
 
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
 

Constructor Detail

DependencyManagementCheckMojo

public DependencyManagementCheckMojo()
Method Detail

getFix

public APIFixableCheck getFix()

Specified by:
getFix in class AbstractFixableCheckMojo


Copyright © 2014 universAAL Consortium. All Rights Reserved.