Package org.apache.maven.plugins.help
Class AllProfilesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.help.AbstractHelpMojo
org.apache.maven.plugins.help.AllProfilesMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.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.
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
- Author:
- Rahul Thakur
-
Field Summary
Fields inherited from class org.apache.maven.plugins.help.AbstractHelpMojo
LINE_LENGTH, LS, output, project, projectBuilder, repositorySystem, session
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.plugins.help.AbstractHelpMojo
getAetherArtifact, getMavenProject, resolveArtifact, writeFile, writeFile
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
AllProfilesMojo
public AllProfilesMojo()
-
-
Method Details
-
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
-