Class 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.
    Since:
    2.1
    Version:
    $Id: AllProfilesMojo.java 1446806 2013-02-15 23:07:28Z rfscholte $
    Author:
    Rahul Thakur
    • 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