BeeDK Alfresco Transform Engine RAD Maven Tile
This is a component within the proposed BeeDK. It is considered to be part of the Public API of the BeeDK.
Purpose
This project creates a Maven Tile that supports the rapid application development of a Alfresco Transform Engine.
This does not currently support use with ATS. Only the ALTS (ACS Platform Local Transform Service).
Usage
To use this plugin, just reference it with the Maven Tiles plugin as shown in the following snippet. Do not forget the extensions
element in the plugin configuration.
<project ...>
...
<build>
...
<plugins>
<plugin>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
<version>[2.0,3.0)</version>
<extensions>true</extensions>
<configuration>
<tiles>
...
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-ate-self-rad-tile -->
<tile>com.inteligr8.ootbee:beedk-ate-self-rad-tile:[1.0.0,2.0.0)</tile>
...
<tile>com.inteligr8.ootbee:beedk-ate-springboot-tile:[1.0.0,2.0.0)</tile>
...
</tiles>
</configuration>
</plugin>
...
</plugins>
...
</build>
...
</project>
See the BeeDK documentation on instructions for how to start and stop RAD capabilities.
Configuration
In your Maven project, set the following properties to define the behavior of this Maven Tile. Unless otherwise stated, they can only be overridden in the project POM or other Maven Tiles loaded earlier than this Maven Tile.
Public API
The following properties are intended to be exposed by inheriting Public API Maven Tiles.
Maven Property | Required | Default | Description |
---|---|---|---|
ate.app.className |
Yes | The Java class name of the @SpringBootApplication annotated class. | |
ate.docker.image.name |
Yes | The Docker image name of the ATE, including the Docker registry host if applicable. | |
ate.docker.image.tag |
latest |
The Docker image tag (version) of the ATE. | |
ate.hotswap.enabled |
true | Enable the HotSwap Agent for live classpath reloading. | |
ate.debugger.enabled |
true | Enable the JDWP debugger. | |
ate.port |
8080 | The port to expose on localhost for the developer; not for other applications. |
|
ate.debugger.port |
8001 | The port to expose on localhost for the developer; not for other applications. |
|
ate.timeout |
20000 | The time to wait for the startup to complete, in milliseconds. |
Private API
The following properties are only intended to be defined by BeeDK components.
Maven Property | Required | Default | Description |
---|---|---|---|
java-dcevm-hotswap.version |
not important | The version of the Java DCEVM Hotswap Rapid Application Development Docker container. |
Other APIs
Additional less important configurations are inherited from the following Maven Tiles.
Results
The configured Alfresco Transform Engine will be started during the process-classes
Maven phase. It will not be configured automatically for use by the ACS Platform or ATS.