org.universAAL.support.directives.checks
Class ParentGForgePropertyCheck

Package class diagram package ParentGForgePropertyCheck
java.lang.Object
  extended by org.universAAL.support.directives.checks.ParentGForgePropertyCheck
All Implemented Interfaces:
APICheck, APIFixableCheck, PomFixer

public class ParentGForgePropertyCheck
extends Object
implements APIFixableCheck, PomFixer

Author:
amedrano

Constructor Summary
ParentGForgePropertyCheck()
           
 
Method Summary
 boolean check(org.apache.maven.project.MavenProject mavenProject, org.apache.maven.plugin.logging.Log log)
          
 void fix(org.apache.maven.project.MavenProject mavenProject, org.apache.maven.plugin.logging.Log log)
          
 void fix(org.apache.maven.model.Model model)
          
static String getSVNURL(File dir)
           
static boolean hasProperty(org.apache.maven.project.MavenProject mp, String prop)
           
static boolean isParentRootPOM(org.apache.maven.project.MavenProject mavenProject2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParentGForgePropertyCheck

public ParentGForgePropertyCheck()
Method Detail

check

public boolean check(org.apache.maven.project.MavenProject mavenProject,
                     org.apache.maven.plugin.logging.Log log)
              throws org.apache.maven.plugin.MojoExecutionException,
                     org.apache.maven.plugin.MojoFailureException

Specified by:
check in interface APICheck
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

fix

public void fix(org.apache.maven.project.MavenProject mavenProject,
                org.apache.maven.plugin.logging.Log log)
         throws org.apache.maven.plugin.MojoExecutionException,
                org.apache.maven.plugin.MojoFailureException

Specified by:
fix in interface APIFixableCheck
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

hasProperty

public static boolean hasProperty(org.apache.maven.project.MavenProject mp,
                                  String prop)

isParentRootPOM

public static boolean isParentRootPOM(org.apache.maven.project.MavenProject mavenProject2)

getSVNURL

public static String getSVNURL(File dir)
                        throws Exception,
                               org.tmatesoft.svn.core.SVNException
Throws:
Exception
org.tmatesoft.svn.core.SVNException

fix

public void fix(org.apache.maven.model.Model model)

Specified by:
fix in interface PomFixer


Copyright © 2014 universAAL Consortium. All Rights Reserved.