JPortal2 Maven Plugin

Maven plugin for JPortal2

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

za.co.bbd
ArtifactId

ArtifactId

jportal2-maven-plugin
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

JPortal2 Maven Plugin
Maven plugin for JPortal2
Project URL

Project URL

https://github.com/SI-Gen/jportal2-maven-plugin
Source Code Management

Source Code Management

https://github.com/SI-Gen/jportal2-maven-plugin

Download jportal2-maven-plugin

How to add to project

<plugin>
    <groupId>za.co.bbd</groupId>
    <artifactId>jportal2-maven-plugin</artifactId>
    <version>1.2.0</version>
</plugin>

Dependencies

compile (4)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.0
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.2
org.codehaus.plexus : plexus-utils jar 2.0.5
junit : junit jar 4.11

provided (1)

Group / Artifact Type Version
za.co.bbd : jportal2 jar 1.0.0

Project Modules

There are no modules declared in this project.

JPortal2 Maven Plugin

Maven plugin for JPortal2

Example Usage

<build>
    <plugins>
        <plugin>
            <groupId>za.co.bbd</groupId>
            <artifactId>jportal2-maven-plugin</artifactId>
            <configuration>
                <sourcePath>${basedir}/src/main/sql/</sourcePath>
                <generators>
                    <generator>JavaJCCode:${basedir}/target/generated-sources/java/za/co/anydb</generator>
                    <generator>PostgresDDL:${basedir}/target/generated-sources/scripts/sql</generator>
                </generators>
                <compilerFlags>
                    <compilerFlag>utilizeEnums</compilerFlag>
                </compilerFlags>
            </configuration>
            <dependencies>
                <dependency>
                    <groupId>za.co.bbd</groupId>
                    <artifactId>jportal2</artifactId>
                    <version>${jportal2.version}</version>
                </dependency>
            </dependencies>
            <executions>
                <execution>
                    <phase>generate-sources</phase>
                    <goals>
                        <goal>jportal</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

Versions

Version
1.2.0
1.1.0
1.0.0