org.avaje.tile:test-ebean-enhancement

Packaging parent for Avaje projects.

License

License

Categories

Categories

Ebean Data ORM
GroupId

GroupId

org.avaje.tile
ArtifactId

ArtifactId

test-ebean-enhancement
Last Version

Last Version

1.4
Release Date

Release Date

Type

Type

tile
Description

Description

Packaging parent for Avaje projects.
Project URL

Project URL

http://www.avaje.org/test-ebean-enhancement
Source Code Management

Source Code Management

https://github.com/avaje-pom/tile-test-ebean-enhancement.git

Download test-ebean-enhancement

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

test-ebean-enhancement tile

Maven tile that performs the Ebean enhancement on entity beans in target/test-classes.

Example use

In your project pom under build / plugins add the tiles-maven-plugin with the following configuration. Note that this example also brings in the java-compile tile.

      <!-- maven build / plugins -->

      <plugin>
        <groupId>io.repaint.maven</groupId>
        <artifactId>tiles-maven-plugin</artifactId>
        <version>2.8</version>
        <extensions>true</extensions>
        <configuration>
          <tiles>
            <tile>org.avaje.tile:test-ebean-enhancement:1.1</tile>
          </tiles>
        </configuration>
      </plugin>

What it does

  <!-- defaults, override in your project pom if needed -->

  <properties>
    <ebeanorm-enhancement.plugin.args>debug=0</ebeanorm-enhancement.plugin.args>
    <avaje-ebeanorm-mavenenhancer.version>4.9.1</avaje-ebeanorm-mavenenhancer.version>
    <avaje-ebeanorm-mavenenhancer.target-test-classes>target/test-classes</avaje-ebeanorm-mavenenhancer.target-test-classes>
  </properties>

  <build>
    <plugins>

      <plugin>
        <groupId>org.avaje.ebeanorm</groupId>
        <artifactId>avaje-ebeanorm-mavenenhancer</artifactId>
        <version>${avaje-ebeanorm-mavenenhancer.version}</version>
        <executions>
          <execution>
            <id>test</id>
            <phase>process-test-classes</phase>
            <configuration>
              <classSource>${avaje-ebeanorm-mavenenhancer.target-test-classes}</classSource>
              <transformArgs>${ebeanorm-enhancement.plugin.args}</transformArgs>
            </configuration>
            <goals>
              <goal>enhance</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

    </plugins>

  </build>
org.avaje.tile

avaje pom

Versions

Version
1.4
1.3
1.1