org.apache.maven.plugins.help
Class AllProfilesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugins.help.AbstractHelpMojo
          extended by org.apache.maven.plugins.help.AllProfilesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class AllProfilesMojo
extends AbstractHelpMojo

Displays a list of available profiles under the current project.
Note: it will list all profiles for a project. If a profile comes up with a status inactive then there might be a need to set profile activation switches/property.

Since:
2.1
Version:
$Id: AllProfilesMojo.java 690512 2008-08-30 14:20:30Z vsiveton $
Author:
Rahul Thakur
Is defined by the goal name:
all-profiles
Requires a Maven project to run:
false

Field Summary
 
Fields inherited from class org.apache.maven.plugins.help.AbstractHelpMojo
LINE_LENGTH, output
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AllProfilesMojo()
           
 
Method Summary
 void execute()
          
 
Methods inherited from class org.apache.maven.plugins.help.AbstractHelpMojo
writeFile, writeFile
 
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

AllProfilesMojo

public AllProfilesMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException

Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.