Class CreateProjectMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="create",
          requiresProject=false)
    public class CreateProjectMojo
    extends org.apache.maven.plugin.AbstractMojo
    This goal helps in setting up Quarkus Maven project with quarkus-maven-plugin, with sensible defaults
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.maven.project.MavenProject project  
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      static java.lang.String getPlatformArtifactId​(java.lang.String artifactId)  
      static java.lang.String getPlatformGroupId​(org.apache.maven.plugin.AbstractMojo mojo, java.lang.String groupId)  
      static java.lang.String getPlatformVersion​(org.apache.maven.plugin.AbstractMojo mojo, java.lang.String version)  
      • 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
    • Field Detail

      • project

        @Parameter(defaultValue="${project}")
        protected org.apache.maven.project.MavenProject project
    • Constructor Detail

      • CreateProjectMojo

        public CreateProjectMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • getPlatformVersion

        public static java.lang.String getPlatformVersion​(org.apache.maven.plugin.AbstractMojo mojo,
                                                          java.lang.String version)
      • getPlatformArtifactId

        public static java.lang.String getPlatformArtifactId​(java.lang.String artifactId)
      • getPlatformGroupId

        public static java.lang.String getPlatformGroupId​(org.apache.maven.plugin.AbstractMojo mojo,
                                                          java.lang.String groupId)