Related: Trouble Shooting

Maven enhancement plugin

If you do not want to use maven tiles you can specify the maven enhancement plugin in 'normal' fashion.

<plugin>
  <groupId>io.ebean</groupId>
  <artifactId>ebean-maven-plugin</artifactId>
  <version>${version}</version>
  <executions>
    <!-- enhance main classes -->
    <execution>
      <id>main</id>
      <phase>process-classes</phase>
      <configuration>
        <transformArgs>debug=1</transformArgs>
      </configuration>
      <goals>
        <goal>enhance</goal>
      </goals>
    </execution>

      <!-- enhance test classes -->
    <execution>
      <id>test</id>
      <phase>process-test-classes</phase>
      <configuration>
        <transformArgs>debug=1</transformArgs>
      </configuration>
      <goals>
        <goal>testEnhance</goal>
      </goals>
    </execution>

  </executions>
</plugin>

Edit Page