Plugin Documentation

Goals available for this plugin:

Goal Report? Description
pljava-pgxs:help No Display help information on pljava-pgxs.
Call mvn pljava-pgxs:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
pljava-pgxs:scripted-goal No Maven plugin goal to use JavaScript (or another JSR 223 script engine) during any of build lifecycle phases.

The Mojo provides a limited subset of the functionality of the Maven AntRun Plugin. This is intentional to simplify usage, as this Maven plugin is specifically targeted at building PL/Java native code.

pljava-pgxs:scripted-report Yes Maven plugin goal to use JavaScript (or another JSR 223 script engine) for configuring MavenReport during the LifecyclePhase.SITE.

This plugin goal intends to allow the use of scripting in the SITE lifecycle phase with the help of ReportScript. The motivation behind this is the inability to use Maven AntRun in the SITE phase.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 2.0
JDK 9
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.postgresql</groupId>
          <artifactId>pljava-pgxs</artifactId>
          <version>1.6.8</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.postgresql</groupId>
        <artifactId>pljava-pgxs</artifactId>
        <version>1.6.8</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
  <!-- To use the report goals in your POM or parent POM -->
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.postgresql</groupId>
        <artifactId>pljava-pgxs</artifactId>
        <version>1.6.8</version>
      </plugin>
      ...
    </plugins>
  </reporting>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"