Class PostgresqlSetupMojo

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

    @Mojo(threadSafe=true,
          name="setup",
          defaultPhase=INITIALIZE,
          requiresProject=true)
    public class PostgresqlSetupMojo
    extends PostgresqlAbstractMojo
    Mojo for setting up system properties and allocating ports in none has been defined
    Author:
    Source (source (at) kosmisk.dk)
    • Field Detail

      • dumpFolder

        @Parameter(property="postgresql.dump.folder")
        protected File dumpFolder
        Folder to contain COPY TO/FROM files when using the dk.kosmisk:postgresql-test-datasource artifacts copy*(To/From)Disk
    • Constructor Detail

      • PostgresqlSetupMojo

        public PostgresqlSetupMojo()
    • 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