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 during any of build lifecycle phases.

The Mojo provides a limited subset of the functionality provided 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 for configuring MavenReport during the LifecyclePhase.SITE.

This plugin goal intends to allow the use of JavaScript during SITE lifecycle phase with the help of ReportScript. The motivation behind this is the inability to use Maven AntRun during 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.4</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.4</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.4</version>
      </plugin>
      ...
    </plugins>
  </reporting>
  ...
</project>

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