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:
ContextEnabled, Mojo

@Mojo(name="all-profiles",
      requiresProject=false)
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 1446806 2013-02-15 23:07:28Z rfscholte $
Author:
Rahul Thakur

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 MojoExecutionException,
                    MojoFailureException

Throws:
MojoExecutionException
MojoFailureException


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