org.apache.sling.maven.projectsupport
Class CheckBundleListForSnapshotsMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.sling.maven.projectsupport.AbstractBundleListMojo
          extended by org.apache.sling.maven.projectsupport.CheckBundleListForSnapshotsMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CheckBundleListForSnapshotsMojo
extends AbstractBundleListMojo

Validate that the bundle list file (if it exists) does not contain references to SNAPSHOT versions.


Field Summary
 
Fields inherited from class org.apache.sling.maven.projectsupport.AbstractBundleListMojo
BUNDLE_PATH_PREFIX, bundleListFile, CONFIG_PATH_PREFIX, configDirectory, defaultBundleList, JAR, mavenSession, project, projectHelper, WAR
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CheckBundleListForSnapshotsMojo()
           
 
Method Summary
protected  void executeWithArtifacts()
          Execute the logic of the plugin after the default artifacts have been initialized.
 
Methods inherited from class org.apache.sling.maven.projectsupport.AbstractBundleListMojo
execute, getArtifact, getArtifact, getBundleList, initArtifactDefinitions, initBundleList, isCurrentArtifact, shouldCopy
 
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

CheckBundleListForSnapshotsMojo

public CheckBundleListForSnapshotsMojo()
Method Detail

executeWithArtifacts

protected void executeWithArtifacts()
                             throws org.apache.maven.plugin.MojoExecutionException,
                                    org.apache.maven.plugin.MojoFailureException
Description copied from class: AbstractBundleListMojo
Execute the logic of the plugin after the default artifacts have been initialized.

Specified by:
executeWithArtifacts in class AbstractBundleListMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.