Compare commits

...
21 Commits
Author SHA1 Message Date
brian.long df9363c357 v1.1.21 poms 2026-05-21 20:35:57 -04:00
brian.long 651086fcbd Merge branch 'develop' into stable 2026-05-21 20:35:39 -04:00
brian.long 24ce538e5a added cacert injection from src/test/cacerts 2026-05-21 09:41:03 -04:00
brian.long c2556be18f v1.1.20 poms 2026-05-21 09:26:13 -04:00
brian.long 89c8386c8e Merge branch 'develop' into stable 2026-05-21 09:25:09 -04:00
brian.long 1ccff8d7f1 version upgrades 2026-05-21 09:24:21 -04:00
brian.long 906ad41928 remove springboot-api-archetype 2026-05-21 08:58:50 -04:00
brian.long c2c7918fe3 set appropriate tile version range for APS/activiti archetypes 2026-04-22 11:11:33 -04:00
brian.long c97c80a5b6 Merge branch 'develop' into stable 2026-04-22 11:10:31 -04:00
brian.long 3f06b1738f updated APS/activiti archetypes 2026-04-22 11:10:18 -04:00
brian.long 2cd0276915 better test resource handling for APS testing 2026-04-21 13:43:21 -04:00
brian.long 23c010b981 fix APS transform.lic load 2026-04-21 10:01:13 -04:00
brian.long e8c4d6e49b v1.1.19 poms 2026-04-20 18:27:48 -04:00
brian.long d3a6b28232 Merge branch 'develop' into stable 2026-04-20 18:27:17 -04:00
brian.long 4e817b1981 tomcat-rad v2.3 2026-04-20 18:27:03 -04:00
brian.long 0eacdc5f25 added fs-maven-plugin to create possibly unused volumes 2026-04-20 18:24:41 -04:00
brian.long dfcc723ece updated maven-jar-plugin to v3.5.0 2026-04-20 18:23:13 -04:00
brian.long 72fe452fb3 update RAD documentation 2026-04-20 18:23:01 -04:00
brian.long fdec140290 v1.1.18 poms 2026-02-09 16:46:46 -05:00
brian.long 2ae7df7571 Merge branch 'develop' into stable 2026-02-09 16:46:01 -05:00
brian.long bd4ddd12f7 dynamic plugin versions with docs 2026-02-09 16:45:39 -05:00
169 changed files with 1145 additions and 872 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ The following tiles (side-loaded components) are useful to users of the BeeDK.
If your project includes RAD tiles, you can start the application with the following command.
```sh
mvn -Drad process-classes
mvn -Drad process-test-classes
```
To stop RAD and remove the Docker containers, you will need to do it through Docker commands. This will differ between operating systems. The Maven Archetypes provides scripts to assist with these operations called `rad.sh` or `rad.ps1`.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
@@ -42,7 +42,7 @@
<plugin>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
<version>2.40</version>
<version>2.44</version>
<extensions>true</extensions>
<configuration>
<!-- This assures the parent properties override defaults in the tiles -->
@@ -35,7 +35,7 @@
<plugin>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
<version>2.40</version>
<version>2.44</version>
<extensions>true</extensions>
<configuration>
<!-- This assures the parent properties override defaults in the tiles -->
@@ -12,14 +12,15 @@
<name>${shortname} ACS All-in-one Parent Project</name>
<properties>
<alfresco.sdk.version>4.8.0</alfresco.sdk.version>
<alfresco.sdk.version>4.15.0</alfresco.sdk.version>
<edition>community</edition>
<alfresco.platform.version>7.4.2</alfresco.platform.version>
<alfresco.share.version>22.17</alfresco.share.version>
<alfresco.platform.version>26.1.0</alfresco.platform.version>
<alfresco.share.version>26.1.0</alfresco.share.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>
</properties>
<modules>
@@ -44,7 +44,7 @@
<plugin>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
<version>2.40</version>
<version>2.44</version>
<extensions>true</extensions>
<configuration>
<!-- This assures the parent properties override defaults in the tiles -->
@@ -35,7 +35,7 @@
<plugin>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
<version>2.40</version>
<version>2.44</version>
<extensions>true</extensions>
<configuration>
<!-- This assures the parent properties override defaults in the tiles -->
@@ -16,9 +16,8 @@
<name>${shortname} Alfresco T-Engine A</name>
<properties>
<ats.version>2.3.6</ats.version>
<spring-boot.version>2.3.5.RELEASE</spring-boot.version>
<activemq.version>5.15.8</activemq.version>
<ats.version>5.2.5</ats.version>
<spring-boot.version>3.5.7</spring-boot.version>
<docker.image.registry>${dockerRegistryHost}</docker.image.registry>
<docker.image.name>${dockerImagePrefix}/${project.artifactId}</docker.image.name>
@@ -53,7 +52,7 @@
<plugin>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
<version>2.40</version>
<version>2.44</version>
<extensions>true</extensions>
<configuration>
<!-- This assures the parent properties override defaults in the tiles -->
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+2
View File
@@ -24,6 +24,8 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<!-- version is inherited from parent tile -->
<version>${fabric8-docker-maven-plugin.version}</version>
<executions>
<execution>
<id>start-alts</id>
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+2
View File
@@ -32,6 +32,8 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<!-- version is inherited from parent tile -->
<version>${fabric8-docker-maven-plugin.version}</version>
<executions>
<execution>
<id>run-alts</id>
+11
View File
@@ -53,6 +53,17 @@ The following properties are intended to be exposed by inheriting Public API Mav
| `alfresco.module.classifier` | | *None* | A Maven classifier for the artifact. |
| `alfresco.module.noAmp` | | *Automatic* | Set to `false` to force AMP generation; `true` to force JAR. A value of `true` could produce a non-functional module. |
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-jar-plugin.version` |
| `build-helper-plugin.version` |
| `download-plugin.version` |
| `regex-plugin.version` |
| `conditional-plugin.version` |
| `amp-plugin.version` |
## Results
This Maven Tile will result in the definition of the following Maven properties during the respective Maven phase.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+14 -10
View File
@@ -33,7 +33,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper.version}</version>
<version>${build-helper-plugin.version}</version>
<executions>
<execution>
<id>module-snapshot-timestamp</id>
@@ -50,7 +50,7 @@
<plugin>
<groupId>com.inteligr8</groupId>
<artifactId>regex-maven-plugin</artifactId>
<version>1.0.5</version>
<version>${regex-plugin.version}</version>
<executions>
<execution>
<id>acs-module-version</id>
@@ -78,7 +78,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper.version}</version>
<version>${build-helper-plugin.version}</version>
<executions>
<execution>
<id>add-acs-module-resources</id>
@@ -253,7 +253,7 @@
<!-- This plugin changes the packaging directory to the consolidated directory -->
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar.version}</version>
<version>${maven-jar-plugin.version}</version>
<configuration>
<classesDirectory>${project.build.packageDirectory}</classesDirectory>
</configuration>
@@ -262,7 +262,7 @@
<plugin>
<groupId>com.inteligr8.alfresco</groupId>
<artifactId>amp-maven-plugin</artifactId>
<version>1.1.4</version>
<version>${amp-plugin.version}</version>
<executions>
<execution>
<id>build-amp-file</id>
@@ -281,7 +281,7 @@
<plugin>
<groupId>com.inteligr8</groupId>
<artifactId>conditional-maven-plugin</artifactId>
<version>1.0.1</version>
<version>${conditional-plugin.version}</version>
<executions>
<execution>
<id>check-amp-file</id>
@@ -315,7 +315,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper.version}</version>
<version>${build-helper-plugin.version}</version>
<executions>
<execution>
<id>attach-amp</id>
@@ -369,7 +369,7 @@
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.6.1</version>
<version>${download-plugin.version}</version>
<executions>
<execution>
<id>download-module-props</id>
@@ -405,8 +405,12 @@
<alfresco.module.path>alfresco/module/${alfresco.module.pathname}</alfresco.module.path>
<!-- versions -->
<build-helper.version>3.6.1</build-helper.version>
<maven-jar.version>3.4.2</maven-jar.version>
<build-helper-plugin.version>3.6.1</build-helper-plugin.version>
<maven-jar-plugin.version>3.5.0</maven-jar-plugin.version>
<download-plugin.version>1.13.0</download-plugin.version>
<regex-plugin.version>1.0.7</regex-plugin.version>
<conditional-plugin.version>1.0.2</conditional-plugin.version>
<amp-plugin.version>1.1.5</amp-plugin.version>
</properties>
</profile>
</profiles>
@@ -78,6 +78,12 @@ Additional less important configurations are inherited from the following Maven
* [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-dependency-plugin.version` |
## Results
The ACS Platform, database, and MQ components will be started and stopped during the `pre-integration-test` and `post-integration-test` Maven phases, respectively.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+2 -2
View File
@@ -23,7 +23,7 @@
<!-- This plugin downloads the Platform WAR and JDBC JAR dependency -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency.version}</version>
<version>${maven-dependency-plugin.version}</version>
<executions>
<!-- This execution downloads the Platform WAR -->
<execution>
@@ -110,7 +110,7 @@
<!-- versions -->
<postgres.jdbc.version>42.2.18</postgres.jdbc.version>
<maven-dependency.version>3.8.1</maven-dependency.version>
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
<!-- configuring beedk-acs-platform-it-tile -->
<beedk.deploy.platform.warFile>${project.build.warDirectory}/${alfresco.platform.war.artifactId}-${alfresco.platform.war.version}.war</beedk.deploy.platform.warFile>
@@ -75,13 +75,18 @@ The following properties are intended to be exposed by inheriting Public API Mav
* The `edition` is used to default the `alfresco.platform.war.artifactId` to `content-services-community` or `content-services`.
* The `alfresco.platform.version` is used to default the `alfresco.platform.war.version`. It is expected to be used by other Maven Tiles, so it is here for convenience. You must specify either property for this tile to function.
### Other APIs
Additional less important configurations are inherited from the following Maven Tiles.
* [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-dependency-plugin.version` |
## Results
The ACS Platform, database, and MQ components will be started during the `process-classes` Maven phase.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
@@ -31,7 +31,7 @@
<!-- This plugin downloads the Platform WAR and JDBC JAR dependency -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency.version}</version>
<version>${maven-dependency-plugin.version}</version>
<executions>
<!-- This execution downloads the Platform WAR -->
<execution>
@@ -115,7 +115,7 @@
<!-- versions -->
<postgres.jdbc.version>42.2.18</postgres.jdbc.version>
<maven-dependency.version>3.8.1</maven-dependency.version>
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
<!-- configuring beedk-acs-platform-rad-tile -->
<beedk.deploy.platform.warFile>${project.build.warDirectory}/${alfresco.platform.war.artifactId}-${alfresco.platform.war.version}.war</beedk.deploy.platform.warFile>
+7 -1
View File
@@ -72,7 +72,7 @@ The following properties are only intended to be defined by BeeDK components.
| `beedk.deploy.acs-search.enabled` | | false | **Do not** set explicitly; just include the [`beedk-acs-search-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-search-it-tile) tile **AFTER** this tile. |
| `beedk.deploy.alts.enabled` | | false | **Do not** set explicitly; just include the [`beedk-acs-lts-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-lts-it-tile) tile **AFTER** this tile. |
| `beedk.deploy.ats.enabled` | | false | **Do not** set explicitly; just include the [`beedk-ats-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-ats-it-tile) tile **AFTER** this tile. |
| `tomcat-rad.version` | | *not important* | The version of the [Apache Tomcat Rapid Application Development Docker container](/inteligr8/tomcat-rad-docker). |
| `tomcat-rad.version` | | *not important* | The version of the [Apache Tomcat Rapid Application Development Docker container](/inteligr8/tomcat-rad-image). |
### Other APIs
@@ -80,6 +80,12 @@ Additional less important configurations are inherited from the following Maven
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-run-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `fs-plugin.version` |
## Results
The ACS Platform, database, and MQ components will be started and stopped during the `pre-integration-test` and `post-integration-test` Maven phases, respectively.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+38 -4
View File
@@ -19,12 +19,42 @@
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://git.inteligr8.com/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
<build>
<testResources>
<testResource>
<directory>${java.cacerts.directory}</directory>
<filtering>false</filtering>
<targetPath>${project.build.directory}/cacerts</targetPath>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>com.inteligr8</groupId>
<artifactId>fs-maven-plugin</artifactId>
<version>${fs-plugin.version}</version>
<executions>
<!-- creates missing directories used in volumes, which is required for podman -->
<execution>
<id>mkdirs-docker-volumes</id>
<phase>pre-integration-test</phase>
<goals><goal>mkdir</goal></goals>
<configuration>
<paths>
<path>${beedk.deploy.platform.classesDirectory}</path>
<path>${beedk.deploy.platform.testClassesDirectory}</path>
<path>${beedk.deploy.platform.extDirectory}</path>
<path>${beedk.deploy.platform.dataDirectory}</path>
<path>${project.build.directory}/cacerts</path>
</paths>
</configuration>
</execution>
</executions>
</plugin>
<!-- Using Docker to host the web application -->
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>${beedk.plugins.fabric8.docker.version}</version>
<!-- version is inherited from parent tile -->
<version>${fabric8-docker-maven-plugin.version}</version>
<executions>
<execution>
<id>start-acs-platform</id>
@@ -130,6 +160,7 @@
<volumes>
<bind>
<volume>${acs.license.directory}:/usr/local/tomcat/shared/classes/alfresco/extension/license:ro</volume>
<volume>${project.build.directory}/cacerts:/usr/local/share/ca-certificates:ro</volume>
<volume>${beedk.deploy.platform.warFile}:/var/lib/tomcat/webapps/alfresco.war:ro</volume>
<volume>${beedk.deploy.platform.classesDirectory}:/var/lib/tomcat/dev/classes:ro</volume>
<volume>${beedk.deploy.platform.testClassesDirectory}:/var/lib/tomcat/dev/classes-extra1:ro</volume>
@@ -205,6 +236,7 @@
<volumes>
<bind>
<volume>${acs.license.directory}:/usr/local/tomcat/shared/classes/alfresco/extension/license:ro</volume>
<volume>${project.build.directory}/cacerts:/usr/local/share/ca-certificates:ro</volume>
<volume>${beedk.deploy.platform.warFile}:/var/lib/tomcat/webapps/alfresco.war:ro</volume>
<volume>${beedk.deploy.platform.classesDirectory}:/var/lib/tomcat/dev/classes:ro</volume>
<volume>${beedk.deploy.platform.extDirectory}:/var/lib/tomcat/dev/lib:ro</volume>
@@ -353,6 +385,7 @@
<acs-platform.memory>1g</acs-platform.memory>
<alfresco.license.directory>${user.home}/alfresco/license</alfresco.license.directory>
<acs.license.directory>${alfresco.license.directory}/acs</acs.license.directory>
<java.cacerts.directory>src/test/cacerts</java.cacerts.directory>
<!-- ports -->
<acs-postgres.port>5432</acs-postgres.port>
@@ -361,9 +394,10 @@
<acs-platform-ha.port>8081</acs-platform-ha.port>
<!-- versions -->
<acs-postgres.version>12</acs-postgres.version>
<acs-activemq.version>5.18.4</acs-activemq.version>
<tomcat-rad.version>9-2.1</tomcat-rad.version>
<acs-postgres.version>15</acs-postgres.version>
<acs-activemq.version>6.1.8</acs-activemq.version>
<tomcat-rad.version>2.3-tomcat11</tomcat-rad.version>
<fs-plugin.version>1.0.0</fs-plugin.version>
</properties>
</profile>
</profiles>
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
@@ -12,11 +12,12 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>
<alfresco.sdk.version>4.8.0</alfresco.sdk.version>
<alfresco.platform.version>7.4.2</alfresco.platform.version>
<alfresco.sdk.version>4.15.0</alfresco.sdk.version>
<alfresco.platform.version>26.1.0</alfresco.platform.version>
</properties>
<dependencyManagement>
@@ -46,7 +47,7 @@
<plugin>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
<version>2.40</version>
<version>2.44</version>
<extensions>true</extensions>
<configuration>
<tiles>
+7
View File
@@ -57,6 +57,13 @@ Additional less important configurations are inherited from the following Maven
* [`beedk-acs-module-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-module-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-resources-plugin.version` |
| `build-helper-plugin.version` |
## Results
The project will build as a deployable ACS Platform module.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+4 -2
View File
@@ -23,7 +23,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper.version}</version>
<version>${build-helper-plugin.version}</version>
<executions>
<execution>
<id>add-acs-platform-module-resources</id>
@@ -46,6 +46,7 @@
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
<executions>
<!-- This plugin execution consolidates the compiled/generated/filtered resources into one directory for packaging -->
<execution>
@@ -81,7 +82,8 @@
<alfresco.ext.package>alfresco.extension</alfresco.ext.package>
<!-- versions -->
<build-helper.version>3.6.1</build-helper.version>
<build-helper-plugin.version>3.6.1</build-helper-plugin.version>
<maven-resources-plugin.version>3.4.0</maven-resources-plugin.version>
</properties>
</profile>
</profiles>
+8 -1
View File
@@ -60,7 +60,7 @@ The following properties are intended to be exposed by inheriting Public API Mav
| `acs-platform.timeout` | | 120000 | The time to wait for the startup to complete, in milliseconds. |
| `alfresco.license.directory` | | `${user.home}/alfresco/license` | The base path to search for Alfresco licenses. |
| `acs.license.directory` | | `${alfresco.license.directory}/acs` | The base path to search for an ACS license. |
| `tomcat-rad.version` | | *not important* | The version of the [Apache Tomcat Rapid Application Development Docker container](/inteligr8/tomcat-rad-docker). |
| `tomcat-rad.version` | | *not important* | The version of the [Apache Tomcat Rapid Application Development Docker container](/inteligr8/tomcat-rad-image). |
| `acs-postgres.version` | | *not important* | The version of PostgreSQL to use in the integration testing infrastructure. |
| `acs-activemq.version` | | *not important* | The version of Alfresco ActiveMQ to use in the integration testing infrastructure. |
| `acs-api-explorer.war.groupId` | | `org.alfresco` | The API Explorer WAR Maven Group ID. |
@@ -93,6 +93,13 @@ Additional less important configurations are inherited from the following Maven
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-run-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-dependency-plugin.version` |
| `fs-plugin.version` |
## Results
The ACS Platform, database, and MQ components will be started during the `process-classes` Maven phase.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+44 -7
View File
@@ -27,11 +27,18 @@
</property>
</activation>
<build>
<testResources>
<testResource>
<directory>${java.cacerts.directory}</directory>
<filtering>false</filtering>
<targetPath>${project.build.directory}/cacerts</targetPath>
</testResource>
</testResources>
<plugins>
<!-- This plugin downloads ancillary WARs -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency.version}</version>
<version>${maven-dependency-plugin.version}</version>
<executions>
<!-- This execution downloads the API Explorer WAR -->
<execution>
@@ -69,10 +76,37 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.inteligr8</groupId>
<artifactId>fs-maven-plugin</artifactId>
<version>${fs-plugin.version}</version>
<executions>
<!-- creates missing directories used in volumes, which is required for podman -->
<execution>
<id>mkdirs-docker-volumes</id>
<phase>process-test-classes</phase>
<goals><goal>mkdir</goal></goals>
<configuration>
<paths>
<path>${beedk.deploy.platform.classesDirectory}</path>
<path>${beedk.deploy.platform.modClassesDirectory}</path>
<path>${beedk.deploy.platform.extClassesDirectory}</path>
<path>${beedk.deploy.platform.testClassesDirectory}</path>
<path>${beedk.deploy.platform.extDirectory}</path>
<path>${beedk.deploy.platform.webDirectory}</path>
<path>${beedk.deploy.platform.dataDirectory}</path>
<path>${project.build.directory}/cacerts</path>
</paths>
</configuration>
</execution>
</executions>
</plugin>
<!-- Using Docker to host the web application -->
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<!-- version is inherited from parent tile -->
<version>${fabric8-docker-maven-plugin.version}</version>
<executions>
<execution>
<id>run-acs-platform</id>
@@ -176,6 +210,7 @@
<volumes>
<bind>
<volume>${acs.license.directory}:/usr/local/tomcat/shared/classes/alfresco/extension/license:ro</volume>
<volume>${project.build.directory}/cacerts:/usr/local/share/ca-certificates:ro</volume>
<volume>${beedk.deploy.platform.warFile}:/var/lib/tomcat/webapps/alfresco.war:ro</volume>
<volume>${beedk.deploy.api-explorer.warFile}:/var/lib/tomcat/webapps/api-explorer.war:ro</volume>
<volume>${beedk.deploy.aos.warFile}:/var/lib/tomcat/webapps/_vti_bin.war:ro</volume>
@@ -294,6 +329,7 @@
<beedk.deploy.aos.warFile>${beedk.deploy.platform.warDirectory}/alfresco-vti-bin-${acs-aos.war.version}.war</beedk.deploy.aos.warFile>
<alfresco.license.directory>${user.home}/alfresco/license</alfresco.license.directory>
<acs.license.directory>${alfresco.license.directory}/acs</acs.license.directory>
<java.cacerts.directory>src/test/cacerts</java.cacerts.directory>
<!-- ports -->
<acs-postgres.port>5432</acs-postgres.port>
@@ -302,12 +338,13 @@
<acs-platform.debugger.port>8000</acs-platform.debugger.port>
<!-- versions -->
<acs-api-explorer.version>7.4.0</acs-api-explorer.version> <!-- TODO use and parse alfresco.platform.version -->
<acs-aos.war.version>1.3.2.1</acs-aos.war.version>
<acs-postgres.version>12</acs-postgres.version>
<acs-activemq.version>5.18.4</acs-activemq.version>
<tomcat-rad.version>9-2.1</tomcat-rad.version>
<maven-dependency.version>3.8.1</maven-dependency.version>
<acs-api-explorer.version>26.1.0</acs-api-explorer.version> <!-- TODO use and parse alfresco.platform.version -->
<acs-aos.war.version>3.4.1</acs-aos.war.version>
<acs-postgres.version>15</acs-postgres.version>
<acs-activemq.version>6.1.8</acs-activemq.version>
<tomcat-rad.version>2.3-tomcat11</tomcat-rad.version>
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
<fs-plugin.version>1.0.0</fs-plugin.version>
</properties>
</profile>
</profiles>
@@ -78,6 +78,12 @@ Additional less important configurations are inherited from the following Maven
* [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile)
* [`beedk-acs-webapp-artifact-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-it-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-dependency-plugin.version` |
## Results
The ACS Platform, database, and MQ components will be started and stopped during the `pre-integration-test` and `post-integration-test` Maven phases, respectively.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+2 -2
View File
@@ -23,7 +23,7 @@
<!-- This plugin downloads the Platform JAR-based extension modules and runtime/test dependencies -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency.version}</version>
<version>${maven-dependency-plugin.version}</version>
<executions>
<!-- This execution downloads the dependency JARs, including JAR modules -->
<execution>
@@ -100,7 +100,7 @@
<!-- versions -->
<postgres.jdbc.version>42.2.18</postgres.jdbc.version>
<alfresco.platform.war.version>${alfresco.platform.version}</alfresco.platform.war.version>
<maven-dependency.version>3.8.1</maven-dependency.version>
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
<!-- configuring beedk-acs-platform-it-tile -->
<beedk.deploy.platform.warFile>${project.build.warFile}</beedk.deploy.platform.warFile>
@@ -80,6 +80,12 @@ Additional less important configurations are inherited from the following Maven
* [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)
* [`beedk-acs-webapp-artifact-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-rad-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-dependency-plugin.version` |
## Results
The ACS Platform, database, and MQ components will be started during the `process-classes` Maven phase.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+2 -2
View File
@@ -31,7 +31,7 @@
<!-- This plugin downloads the Platform JAR-based extension modules and runtime/test dependencies -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency.version}</version>
<version>${maven-dependency-plugin.version}</version>
<executions>
<!-- This execution downloads the dependency JARs, including JAR modules -->
<execution>
@@ -104,7 +104,7 @@
<!-- versions -->
<postgres.jdbc.version>42.2.18</postgres.jdbc.version>
<alfresco.platform.war.version>${alfresco.platform.version}</alfresco.platform.war.version>
<maven-dependency.version>3.8.1</maven-dependency.version>
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
<!-- configuring beedk-acs-platform-rad-tile -->
<beedk.deploy.platform.warFile>${project.build.warFile}</beedk.deploy.platform.warFile>
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+13 -1
View File
@@ -32,7 +32,7 @@
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.6.1</version>
<version>${download-plugin.version}</version>
<executions>
<!-- TODO eventually replace these with the archetype versions -->
<execution>
@@ -73,6 +73,18 @@
</plugins>
</build>
</profile>
<profile>
<id>default-props</id>
<activation>
<property>
<name>!some-prop-that-never-exists</name>
</property>
</activation>
<properties>
<!-- versions -->
<download-plugin.version>1.13.0</download-plugin.version>
</properties>
</profile>
</profiles>
<tiles>
+7
View File
@@ -55,3 +55,10 @@ The following properties are intended to be exposed by inheriting Public API Mav
Additional less important configurations are inherited from the following Maven Tiles.
* [`beedk-acs-webapp-artifact-build-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-build-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-war-plugin.version` |
| `maven-install-plugin.version` |
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+4 -4
View File
@@ -23,7 +23,7 @@
<!-- This plugin disables the WAR packaging if packaging is 'war'. -->
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>${maven-war.version}</version> <!-- Need v3+ -->
<version>${maven-war-plugin.version}</version> <!-- Need v3+ -->
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<skip>true</skip>
@@ -32,7 +32,7 @@
<!-- This plugin overrides the default install and uses the built WAR from the dependent tile. -->
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>${maven-install.version}</version>
<version>${maven-install-plugin.version}</version>
<configuration>
<!-- do not install the normal WAR -->
<skip>true</skip>
@@ -99,8 +99,8 @@
<alfresco.war.version>${alfresco.platform.war.version}</alfresco.war.version>
<!-- versions -->
<maven-war.version>3.4.0</maven-war.version>
<maven-install.version>3.1.4</maven-install.version>
<maven-war-plugin.version>3.5.1</maven-war-plugin.version>
<maven-install-plugin.version>3.1.4</maven-install-plugin.version>
</properties>
</profile>
</profiles>
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+2
View File
@@ -24,6 +24,8 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<!-- version is inherited from parent tile -->
<version>${fabric8-docker-maven-plugin.version}</version>
<executions>
<execution>
<id>start-acs-search</id>
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+2
View File
@@ -32,6 +32,8 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<!-- version is inherited from parent tile -->
<version>${fabric8-docker-maven-plugin.version}</version>
<executions>
<execution>
<id>run-acs-search</id>
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+6 -1
View File
@@ -70,13 +70,18 @@ The following properties are intended to be exposed by inheriting Public API Mav
* The `alfresco.share.version` is used to default the `alfresco.share.war.version`. It is expected to be used by other Maven Tiles, so it is here for convenience. You must specify either property for this tile to function.
### Other APIs
Additional less important configurations are inherited from the following Maven Tiles.
* [`beedk-acs-share-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-rad-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-dependency-plugin.version` |
## Results
The ACS Share component will be started during the `process-classes` Maven phase.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+2 -2
View File
@@ -31,7 +31,7 @@
<!-- This plugin downloads the Share WAR -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency.version}</version>
<version>${maven-dependency-plugin.version}</version>
<executions>
<!-- This execution downloads the Share WAR -->
<execution>
@@ -74,7 +74,7 @@
<beedk.deploy.share.extDirectory>${project.build.directory}/ext/share</beedk.deploy.share.extDirectory>
<!-- versions -->
<maven-dependency.version>3.8.1</maven-dependency.version>
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
</properties>
</profile>
</profiles>
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
@@ -12,12 +12,13 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>
<alfresco.sdk.version>4.8.0</alfresco.sdk.version>
<alfresco.platform.version>7.4.2</alfresco.platform.version>
<alfresco.share.version>22.17</alfresco.share.version>
<alfresco.sdk.version>4.15.0</alfresco.sdk.version>
<alfresco.platform.version>26.1.0</alfresco.platform.version>
<alfresco.share.version>26.1.0</alfresco.share.version>
</properties>
<dependencyManagement>
@@ -49,7 +50,7 @@
<plugin>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
<version>2.40</version>
<version>2.44</version>
<extensions>true</extensions>
<configuration>
<tiles>
+7
View File
@@ -56,6 +56,13 @@ Additional less important configurations are inherited from the following Maven
* [`beedk-acs-module-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-module-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-resources-plugin.version` |
| `build-helper-plugin.version` |
## Results
The project will build as a deployable ACS Share module.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+4 -2
View File
@@ -23,7 +23,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper.version}</version>
<version>${build-helper-plugin.version}</version>
<executions>
<execution>
<id>add-acs-share-module-resources</id>
@@ -65,6 +65,7 @@
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
<executions>
<!-- This plugin execution consolidates the compiled/generated/filtered resources into one directory for packaging -->
<execution>
@@ -100,7 +101,8 @@
<alfresco.ext.package>alfresco.web-extension</alfresco.ext.package>
<!-- versions -->
<build-helper.version>3.6.1</build-helper.version>
<build-helper-plugin.version>3.6.1</build-helper-plugin.version>
<maven-resources-plugin.version>3.4.0</maven-resources-plugin.version>
</properties>
</profile>
</profiles>
+8 -1
View File
@@ -56,7 +56,7 @@ The following properties are intended to be exposed by inheriting Public API Mav
| `acs-share.debugger.port` | | 8100 | The port to expose on `localhost` for the developer; not for other applications or users. |
| `acs-share.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.* |
| `acs-share.timeout` | | 30000 | The time to wait for the startup to complete, in milliseconds. |
| `tomcat-rad.version` | | *not important* | The version of the [Apache Tomcat Rapid Application Development Docker container](/inteligr8/tomcat-rad-docker). |
| `tomcat-rad.version` | | *not important* | The version of the [Apache Tomcat Rapid Application Development Docker container](/inteligr8/tomcat-rad-image). |
### Private API
@@ -77,6 +77,13 @@ Additional less important configurations are inherited from the following Maven
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-run-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `download-plugin.version` |
| `fs-plugin.version` |
## Results
The ACS Share will be started during the `process-classes` Maven phase.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+30 -2
View File
@@ -32,7 +32,7 @@
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.6.1</version>
<version>${download-plugin.version}</version>
<executions>
<execution>
<id>download-share-config</id>
@@ -73,10 +73,36 @@
</replacements>
</configuration>
</plugin>
<plugin>
<groupId>com.inteligr8</groupId>
<artifactId>fs-maven-plugin</artifactId>
<version>${fs-plugin.version}</version>
<executions>
<!-- creates missing directories used in volumes, which is required for podman -->
<execution>
<id>mkdirs-docker-volumes</id>
<phase>process-test-classes</phase>
<goals><goal>mkdir</goal></goals>
<configuration>
<paths>
<path>${beedk.deploy.share.classesDirectory}</path>
<path>${beedk.deploy.share.modClassesDirectory}</path>
<path>${beedk.deploy.share.extClassesDirectory}</path>
<path>${beedk.deploy.share.testClassesDirectory}</path>
<path>${project.build.directory}/runtime-classes</path>
<path>${beedk.deploy.share.extDirectory}</path>
<path>${beedk.deploy.share.webDirectory}</path>
</paths>
</configuration>
</execution>
</executions>
</plugin>
<!-- Using Docker to host the web application -->
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<!-- version is inherited from parent tile -->
<version>${fabric8-docker-maven-plugin.version}</version>
<executions>
<execution>
<id>run-acs-share</id>
@@ -171,7 +197,9 @@
<acs-share.debugger.port>8100</acs-share.debugger.port>
<!-- versions -->
<tomcat-rad.version>9-2.1</tomcat-rad.version>
<tomcat-rad.version>2.3-tomcat11</tomcat-rad.version>
<download-plugin.version>1.13.0</download-plugin.version>
<fs-plugin.version>1.0.0</fs-plugin.version>
<!-- configuring beedk-acs-webapp-artifact-tile -->
<alfresco.war.artifactId>share</alfresco.war.artifactId>
+8 -1
View File
@@ -55,7 +55,7 @@ The following properties are intended to be exposed by inheriting Public API Mav
| `acs-platform.url` | | *See Below* | The URL of the backend ACS Platform to be used. |
| `acs-share.port` | | 8180 | The port to expose on `localhost` for scripts to use during integration testing to verify the state of the application; not for a developer or user. |
| `acs-share.timeout` | | 45000 | The time to wait for the startup to complete, in milliseconds. |
| `tomcat-rad.version` | | *not important* | The version of the [Apache Tomcat Rapid Application Development Docker container](/inteligr8/tomcat-rad-docker). |
| `tomcat-rad.version` | | *not important* | The version of the [Apache Tomcat Rapid Application Development Docker container](/inteligr8/tomcat-rad-image). |
* The `alfresco.share.version` is used to default the `alfresco.war.version`. It is expected to be used by other Maven Tiles, so it is here for convenience. You must specify either property for this tile to function.
* The `acs-platform.url` will default to the appropriate value when using the `beedk-acs-platform-*-it-tile` tiles. This should be overridden if you are not using those tiles and are instead using some other ACS Platform instance.
@@ -67,6 +67,13 @@ Additional less important configurations are inherited from the following Maven
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-run-tile)
* [`beedk-acs-webapp-artifact-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-it-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-dependency-plugin.version` |
| `download-plugin.version` |
## Results
ACS Share will be started and stopped during the `pre-integration-test` and `post-integration-test` Maven phases, respectively.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+7 -4
View File
@@ -23,7 +23,7 @@
<!-- This plugin downloads the Share JAR-based extension modules and runtime/test dependencies -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency.version}</version>
<version>${maven-dependency-plugin.version}</version>
<executions>
<!-- This execution downloads the dependency JARs, including JAR modules -->
<execution>
@@ -42,7 +42,7 @@
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.6.1</version>
<version>${download-plugin.version}</version>
<executions>
<execution>
<id>download-share-config</id>
@@ -87,6 +87,8 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<!-- version is inherited from parent tile -->
<version>${fabric8-docker-maven-plugin.version}</version>
<executions>
<execution>
<id>start-acs-share</id>
@@ -166,8 +168,9 @@
<acs-share.port>8180</acs-share.port>
<!-- versions -->
<tomcat-rad.version>9-2.1</tomcat-rad.version>
<maven-dependency.version>3.8.1</maven-dependency.version>
<tomcat-rad.version>2.3-tomcat11</tomcat-rad.version>
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
<download-plugin.version>1.13.0</download-plugin.version>
<!-- configuring beedk-acs-webapp-artifact-tile -->
<alfresco.war.artifactId>share</alfresco.war.artifactId>
+6
View File
@@ -79,6 +79,12 @@ Additional less important configurations are inherited from the following Maven
* [`beedk-acs-share-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-rad-tile)
* [`beedk-acs-webapp-artifact-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-rad-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-dependency-plugin.version` |
## Results
ACS Share will be started during the `process-classes` Maven phase.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+2 -2
View File
@@ -31,7 +31,7 @@
<!-- This plugin downloads the Share JAR-based extension modules -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency.version}</version>
<version>${maven-dependency-plugin.version}</version>
<executions>
<!-- This execution downloads the dependency JARs, including JAR modules -->
<execution>
@@ -71,7 +71,7 @@
<alfresco.war.version>${alfresco.share.version}</alfresco.war.version>
<!-- versions -->
<maven-dependency.version>3.8.1</maven-dependency.version>
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
</properties>
</profile>
</profiles>
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+13 -1
View File
@@ -32,7 +32,7 @@
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.6.1</version>
<version>${download-plugin.version}</version>
<executions>
<!-- TODO eventually replace these with the archetype versions -->
<execution>
@@ -73,6 +73,18 @@
</plugins>
</build>
</profile>
<profile>
<id>default-props</id>
<activation>
<property>
<name>!some-prop-that-never-exists</name>
</property>
</activation>
<properties>
<!-- versions -->
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
</properties>
</profile>
</profiles>
<tiles>
+7
View File
@@ -55,3 +55,10 @@ The following properties are intended to be exposed by inheriting Public API Mav
Additional less important configurations are inherited from the following Maven Tiles.
* [`beedk-acs-webapp-artifact-build-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-build-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-war-plugin.version` |
| `maven-install-plugin.version` |
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+4 -4
View File
@@ -23,7 +23,7 @@
<!-- This plugin disables the WAR packaging if packaging is 'war'. -->
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>${maven-war.version}</version> <!-- Need v3+ -->
<version>${maven-war-plugin.version}</version> <!-- Need v3+ -->
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<skip>true</skip>
@@ -32,7 +32,7 @@
<!-- This plugin overrides the default install and uses the built WAR from the dependent tile. -->
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>${maven-install.version}</version>
<version>${maven-install-plugin.version}</version>
<configuration>
<skip>true</skip>
</configuration>
@@ -69,8 +69,8 @@
<alfresco.war.version>${alfresco.share.version}</alfresco.war.version>
<!-- versions -->
<maven-war.version>3.4.0</maven-war.version>
<maven-install.version>3.1.4</maven-install.version>
<maven-war-plugin.version>3.5.1</maven-war-plugin.version>
<maven-install-plugin.version>3.1.4</maven-install-plugin.version>
</properties>
</profile>
</profiles>
@@ -59,6 +59,12 @@ Additional less important configurations are inherited from the following Maven
* [`beedk-acs-webapp-artifact-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-dependency-plugin.version` |
## Results
The configured WAR will downloaded to your local Maven Repository and copied into the configured directory during the configured Maven phase. The project's AMP `compile` and `runtime` dependencies will be downloaded to your local Maven Repository and copied into the configured directory during the `pre-package` Maven phase. The AMPs will be installed into the WAR during the `package` Maven phase. The downloaded and copied AMPs will remain in place.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
@@ -23,7 +23,7 @@
<!-- This plugin downloads the dependency AMPs -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency.version}</version>
<version>${maven-dependency-plugin.version}</version>
<executions>
<!-- This execution downloads the dependency AMPs in the 'compile' and 'runtime' scopes -->
<execution>
@@ -74,7 +74,7 @@
<project.build.ampDirectory>${project.build.directory}/amps</project.build.ampDirectory>
<!-- versions -->
<maven-dependency.version>3.8.1</maven-dependency.version>
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
</properties>
</profile>
</profiles>
@@ -59,6 +59,12 @@ Additional less important configurations are inherited from the following Maven
* [`beedk-acs-webapp-artifact-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-dependency-plugin.version` |
## Results
The configured WAR will downloaded to your local Maven Repository and copied into the configured directory during the configured Maven phase. The project's AMP `compile`, `runtime`,and `test` dependencies will be downloaded to your local Maven Repository and copied into the configured directory during the `pre-integration-test` Maven phase. The AMPs will be installed into the WAR during that same `pre-integration-test` Maven phase. The downloaded and copied AMPs will remain in place.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+2 -2
View File
@@ -23,7 +23,7 @@
<!-- This plugin downloads the dependency AMPs -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency.version}</version>
<version>${maven-dependency-plugin.version}</version>
<executions>
<!-- This execution downloads the dependency AMPs in the `compile`, `runtime`, and `test' scopes -->
<execution>
@@ -78,7 +78,7 @@
<beedk.download.war.phase>pre-integration-test</beedk.download.war.phase>
<!-- versions -->
<maven-dependency.version>3.8.1</maven-dependency.version>
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
</properties>
</profile>
</profiles>
@@ -59,6 +59,12 @@ Additional less important configurations are inherited from the following Maven
* [`beedk-acs-webapp-artifact-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-tile)
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-dependency-plugin.version` |
## Results
The configured WAR will downloaded to your local Maven Repository and copied into the configured directory during the configured Maven phase. The project's AMP `compile`, `runtime`,and `test` dependencies will be downloaded to your local Maven Repository and copied into the configured directory during the `generate-resources` Maven phase. The AMPs will be installed into the WAR during that same `generate-resources` Maven phase. The downloaded and copied AMPs will remain in place.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+2 -2
View File
@@ -36,7 +36,7 @@
<!-- This plugin downloads the dependency AMPs -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency.version}</version>
<version>${maven-dependency-plugin.version}</version>
<executions>
<!-- This execution downloads the dependency AMPs in the `compile`, `runtime`, and `test' scopes -->
<execution>
@@ -86,7 +86,7 @@
<project.build.ampDirectory>${project.build.directory}/amps</project.build.ampDirectory>
<!-- versions -->
<maven-dependency.version>3.8.1</maven-dependency.version>
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
</properties>
</profile>
</profiles>
+6
View File
@@ -61,6 +61,12 @@ The following properties are only intended to be defined by BeeDK components.
| `beedk.download.war.phase` | | `prepare-package` | The Maven `phase` of when the WAR should be downloaded, copied, or otherwise prepared for packaging. If packaging for integration testing, you will want this to be `pre-integration-test`. |
| `beedk.download.war.skip` | | `true` | Skip the download of the WAR; only enabled when WAR will be used. |
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-dependency-plugin.version` |
## Results
The configured WAR will be downloaded to your local Maven Repository and copied into the configured directory during the configured Maven phase.
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+2 -2
View File
@@ -23,7 +23,7 @@
<!-- This plugin downloads the parameterized WAR -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency.version}</version>
<version>${maven-dependency-plugin.version}</version>
<executions>
<!-- This execution downloads the parameterized WAR -->
<execution>
@@ -68,7 +68,7 @@
<project.build.warFile>${project.build.warDirectory}/${alfresco.war.artifactId}-${alfresco.war.version}.war</project.build.warFile>
<!-- versions -->
<maven-dependency.version>3.8.1</maven-dependency.version>
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
</properties>
</profile>
</profiles>
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
+4 -4
View File
@@ -25,7 +25,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper.version}</version>
<version>${build-helper-plugin.version}</version>
<executions>
<execution>
<id>copy-and-filter-docker-resources</id>
@@ -48,7 +48,7 @@
<!-- This plugin downloads the Platform JAR-based extension modules and runtime/test dependencies -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency.version}</version>
<version>${maven-dependency-plugin.version}</version>
<executions>
<!-- This execution downloads the dependency JARs, including JAR modules -->
<execution>
@@ -117,8 +117,8 @@
<maven.deploy.skip>${beedk.deploy.dockerImageOnly}</maven.deploy.skip>
<!-- versions -->
<build-helper.version>3.6.1</build-helper.version>
<maven-dependency.version>3.8.1</maven-dependency.version>
<build-helper-plugin.version>3.6.1</build-helper-plugin.version>
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
</properties>
</profile>
</profiles>
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>
@@ -6,15 +6,6 @@
<requiredProperty key="shortname">
<validationRegex>[A-Za-z0-9]+</validationRegex>
</requiredProperty>
<requiredProperty key="dockerRegistryHost">
<defaultValue>quay.io</defaultValue>
</requiredProperty>
<requiredProperty key="dockerImagePrefix">
<defaultValue>local</defaultValue>
</requiredProperty>
<requiredProperty key="beedkVersion">
<defaultValue>[1.0.0,2.0.0)</defaultValue>
</requiredProperty>
</requiredProperties>
<fileSets>
<fileSet filtered="true" packaged="true">
@@ -1,5 +1,5 @@
# Maven
/target
target/
pom.xml.versionsBackup
# Eclipse
@@ -12,26 +12,43 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>
<activiti.version>7.11.0</activiti.version>
<spring.version>5.3.29</spring.version>
<!-- This extension will work with all versions of Activiti, as long as the integration point method signatures remain the same. -->
<!-- These versions were the latest at the time this archetype was last updated. -->
<activiti.version>8.8.0</activiti.version>
<spring.version>6.2.14</spring.version>
<!-- The following are only used for RAD and integration testing -->
<!--
<tomcat-rad.version>2.3-tomcat11</tomcat-rad.version>
<aps.war.version>26.1.0</aps.war.version>
<aps.tomcat.opts>-Dproperty-to-set=value</aps.tomcat.opts>
-->
</properties>
<dependencies>
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-engine</artifactId>
<version>${activiti.version}</version>
<scope>provided</scope>
</dependency>
<!-- Activiti provided libraries -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-engine</artifactId>
<version>${activiti.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>3.0.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
@@ -39,38 +56,44 @@
<plugin>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
<version>2.40</version>
<version>2.43</version>
<extensions>true</extensions>
<configuration>
<tiles>
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-aps-ext-rad-tile -->
<tile>com.inteligr8.ootbee:beedk-aps-ext-rad-tile:1.1-SNAPSHOT</tile>
<tile>com.inteligr8.ootbee:beedk-aps-ext-rad-tile:[1.1.0,1.2.0)</tile>
</tiles>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>rad</id>
<id>wsl</id>
<activation>
<property>
<name>rad</name>
</property>
<os>
<family>windows</family>
</os>
</activation>
<properties>
<aps.version>2.4.6</aps.version>
<!-- add properties here -->
<aps.tomcat.opts>-Dproperty-to-set=value</aps.tomcat.opts>
<!-- Using WSL is slower than native containers -->
<!-- Adjust this timeout for slow computers, VPN, or other slow or high latency scenarios -->
<aps.timeout>120000</aps.timeout>
</properties>
</profile>
</profiles>
<repositories>
<repository>
<id>alfresco-public</id>
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
</repository>
<!-- Used by the Activiti dependencies -->
<repository>
<id>activiti-public-releases</id>
<url>https://artifacts.alfresco.com/nexus/repository/activiti-releases</url>
</repository>
<!-- Used when performing optional RAD and integration testing -->
<repository>
<id>activiti-enterprise-releases</id>
<url>https://artifacts.alfresco.com/nexus/content/repositories/activiti-enterprise-releases</url>
</repository>
</repositories>
</project>
@@ -1,69 +1,71 @@
$script:MAVEN_CMD="mvn"
$script:CONTAINERD_CMD="docker"
function discoverArtifactId {
$script:ARTIFACT_ID=(mvn -q -Dexpression=project"."artifactId -DforceStdout help:evaluate)
$script:ARTIFACT_ID=(Invoke-Expression "${MAVEN_CMD} -q -Dexpression=project"."artifactId -DforceStdout help:evaluate")
}
function rebuild {
echo "Rebuilding project ..."
mvn process-test-classes
Invoke-Expression "${MAVEN_CMD} process-test-classes"
}
function start_ {
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
mvn -Drad process-test-classes
function start_containers {
echo "Rebuilding project and starting containers to support rapid application development ..."
Invoke-Expression "${MAVEN_CMD} -Drad process-test-classes"
}
function start_log {
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
mvn -Drad "-Ddocker.showLogs" process-test-classes
function start_containers_verbose {
echo "Rebuilding project and starting containers to support rapid application development ..."
Invoke-Expression "${MAVEN_CMD} -Drad -Ddocker'.'showLogs process-test-classes"
}
function stop_ {
function stop_containers {
discoverArtifactId
echo "Stopping Docker containers that supported rapid application development ..."
docker container ls --filter name="^/${ARTIFACT_ID}"
Invoke-Expression "${CONTAINERD_CMD} container ls --filter name=${ARTIFACT_ID}-*"
echo "Stopping containers ..."
docker container stop (docker container ls -q --filter name="^/${ARTIFACT_ID}")
Invoke-Expression "${CONTAINERD_CMD} container stop (Invoke-Expression '${CONTAINERD_CMD} container ls -q --filter name=${ARTIFACT_ID}-*')"
echo "Removing containers ..."
docker container rm (docker container ls -aq --filter name="^/${ARTIFACT_ID}")
Invoke-Expression "${CONTAINERD_CMD} container rm (Invoke-Expression '${CONTAINERD_CMD} container ls -aq --filter name=${ARTIFACT_ID}-*')"
}
function tail_logs {
function tail_container {
param (
$container
)
discoverArtifactId
docker container logs -f (docker container ls -q --filter name="^/${ARTIFACT_ID}-${container}$")
Invoke-Expression "${CONTAINERD_CMD} container logs -f (Invoke-Expression '${CONTAINERD_CMD} container ls -q --filter name=${ARTIFACT_ID}-${container}')"
}
function list {
function list_containers {
discoverArtifactId
docker container ls --filter name="^/${ARTIFACT_ID}"
Invoke-Expression "${CONTAINERD_CMD} container ls --filter name=${ARTIFACT_ID}-*"
}
switch ($args[0]) {
"start" {
start_
start_containers
}
"start_log" {
start_log
start_containers_verbose
}
"stop" {
stop_
stop_containers
}
"restart" {
stop_
start_
stop_containers
start_containers
}
"rebuild" {
rebuild
}
"tail" {
tail_logs $args[1]
tail_container $args[1]
}
"containers" {
list
list_containers
}
default {
echo "Usage: .\rad.ps1 [ start | start_log | stop | restart | rebuild | tail {container} | containers ]"
@@ -1,66 +1,69 @@
#!/bin/sh
MAVEN_CMD=mvn
CONTAINERD_CMD=docker
discoverArtifactId() {
local ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
local ARTIFACT_ID=`${MAVEN_CMD} -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
}
rebuild() {
echo "Rebuilding project ..."
mvn process-test-classes
${MAVEN_CMD} process-test-classes
}
start() {
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
mvn -Drad process-test-classes
start_containers() {
echo "Rebuilding project and starting containers to support rapid application development ..."
${MAVEN_CMD} -Drad process-test-classes
}
start_log() {
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
mvn -Drad -Ddocker.showLogs process-test-classes
start_containers_verbose() {
echo "Rebuilding project and starting containers to support rapid application development ..."
${MAVEN_CMD} -Drad -Ddocker.showLogs process-test-classes
}
stop() {
stop_containers() {
discoverArtifactId
echo "Stopping Docker containers that supported rapid application development ..."
docker container ls --filter name="^/${ARTIFACT_ID}"
${CONTAINERD_CMD} container ls --filter name=${ARTIFACT_ID}-*
echo "Stopping containers ..."
docker container stop `docker container ls -q --filter name="^/${ARTIFACT_ID}"`
${CONTAINERD_CMD} container stop `${CONTAINERD_CMD} container ls -q --filter name=${ARTIFACT_ID}-*`
echo "Removing containers ..."
docker container rm `docker container ls -aq --filter name="^/${ARTIFACT_ID}"`
${CONTAINERD_CMD} container rm `${CONTAINERD_CMD} container ls -aq --filter name=${ARTIFACT_ID}-*`
}
tail_logs() {
tail_container() {
discoverArtifactId
docker container logs -f `docker container ls -q --filter name="^/${ARTIFACT_ID}-$1$"`
${CONTAINERD_CMD} container logs -f `${CONTAINERD_CMD} container ls -q --filter name=${ARTIFACT_ID}-$1`
}
list() {
list_containers() {
discoverArtifactId
docker container ls --filter name="^/${ARTIFACT_ID}"
${CONTAINERD_CMD} container ls --filter name=${ARTIFACT_ID}-*
}
case "$1" in
start)
start
start_containers
;;
start_log)
start_log
start_containers_verbose
;;
stop)
stop
stop_containers
;;
restart)
stop
start
stop_containers
start_containers
;;
rebuild)
rebuild
;;
tail)
tail_logs $2
tail_container $2
;;
containers)
list
list_containers
;;
*)
echo "Usage: ./rad.sh [ start | start_log | stop | restart | rebuild | tail {container} | containers ]"
@@ -0,0 +1,38 @@
/*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package ${package};
import org.activiti.engine.delegate.event.ActivitiEvent;
import org.activiti.engine.delegate.event.ActivitiEventListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
/**
* This class is an example of how you can implement an Activiti Event Listener.
*/
@Component
public class ExampleEventListener implements ActivitiEventListener {
private static final Logger LOGGER = LoggerFactory.getLogger(ExampleEventListener.class);
@Override
public void onEvent(ActivitiEvent event) {
LOGGER.trace("onEvent({})", event.getType());
// TODO do some stuff
}
}
@@ -24,21 +24,21 @@ import org.springframework.stereotype.Component;
* This class is an example of how you can implement an Activiti Execution Listener.
* You can reference it in your BPMN with:
* <activiti:executionListener delegateExpression="${exampleExecutionListener}" event="start" />
* <activiti:executionListener expression="${exampleExecutionListener.exampleMethod('example parameter')}" event="end" />
* <activiti:executionListener expression="${exampleExecutionListener.exampleMethod(execution, 'example parameter')}" event="end" />
*/
@Component("exampleExecutionListener")
public class ExampleExecutionListener implements ExecutionListener {
private final Logger logger = LoggerFactory.getLogger(this.getClass());
public void notify(DelegateExecution execution) throws Exception {
if (this.logger.isTraceEnabled())
this.logger.trace("execute('" + execution.getId() + "')");
private static final Logger LOGGER = LoggerFactory.getLogger(ExampleExecutionListener.class);
@Override
public void notify(DelegateExecution execution) {
LOGGER.trace("execute({})", execution.getId());
// TODO do some stuff
}
public void exampleMethod(String param) throws Exception {
public void exampleMethod(DelegateExecution execution, String param) {
// another example
}
@@ -0,0 +1,41 @@
/*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package ${package};
import org.activiti.engine.delegate.DelegateExecution;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
/**
* This class is an example of how you can implement an Activiti script object.
* A scripting object can be used in any expression or Script Task.
*
* You can reference it in your BPMN expression with:
* ${exampleObject.exampleMethod('example parameter')}
*
* You can reference it in your Script Task with:
* exampleObject.exampleMethod('example parameter');
*/
@Component("exampleObject")
public class ExampleServiceTask {
private static final Logger LOGGER = LoggerFactory.getLogger(this.getClass());
public void exampleMethod(String param) throws Exception {
// another example
}
}
@@ -24,21 +24,21 @@ import org.springframework.stereotype.Component;
* This class is an example of how you can implement an Activiti Service Task.
* You can reference it in your BPMN with:
* <serviceTask id="serviceTask" activiti:delegateExpression="${exampleServiceTask}" />
* <serviceTask id="serviceTask" activiti:expression="${exampleServiceTask.exampleMethod('example parameter')}" />
* <serviceTask id="serviceTask" activiti:expression="${exampleServiceTask.exampleMethod(execution, 'example parameter')}" />
*/
@Component("exampleServiceTask")
public class ExampleServiceTask implements JavaDelegate {
private final Logger logger = LoggerFactory.getLogger(this.getClass());
private static final Logger LOGGER = LoggerFactory.getLogger(ExampleServiceTask.class);
@Override
public void execute(DelegateExecution execution) throws Exception {
if (this.logger.isTraceEnabled())
this.logger.trace("execute('" + execution.getId() + "')");
LOGGER.trace("execute({})", execution.getId());
// TODO do some stuff
}
public void exampleMethod(String param) throws Exception {
public void exampleMethod(DelegateExecution execution, String param) throws Exception {
// another example
}
@@ -0,0 +1,45 @@
/*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package ${package};
import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
/**
* This class is an example of how you can implement an Activiti Task Listener.
* You can reference it in your BPMN with:
* <activiti:taskListener delegateExpression="${exampleTaskListener}" event="start" />
* <activiti:taskListener expression="${exampleTaskListener.exampleMethod(task, 'example parameter')}" event="end" />
*/
@Component("exampleTaskListener")
public class ExampleTaskListener implements TaskListener {
private static final Logger LOGGER = LoggerFactory.getLogger(ExampleTaskListener.class);
@Override
public void notify(DelegateTask task) {
LOGGER.trace("execute({})", task.getId());
// TODO do some stuff
}
public void exampleMethod(DelegateTask task, String param) {
// another example
}
}
@@ -16,9 +16,18 @@ package com.activiti.extension.conf;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FullyQualifiedAnnotationBeanNameGenerator;
/**
* A means for injecting packages to scan for the Spring context.
*/
@Configuration
@ComponentScan(basePackages = {"${package}"})
@ComponentScan(
basePackages = {
"${package}"
},
nameGenerator = FullyQualifiedAnnotationBeanNameGenerator.class
)
public class ${shortname}SpringComponentScanner {
}
+7
View File
@@ -55,3 +55,10 @@ This tile will result in the definition of the following Maven properties during
| `beedk.jar.notest.classpath` | Text | `initialize` | Java command line classpath text of all `compile` and `runtime` JAR dependencies on the project |
| `beedk.amp.test.classpath` | Text | `initialize` | Java command line classpath text of all `compile`, `runtime`, or `test` AMP dependencies on the project |
| `beedk.jar.test.classpath` | Text | `initialize` | Java command line classpath text of all `compile`, `runtime`, or `test` JAR dependencies on the project |
### Plugin Versions
| Maven Property |
| ---------------------------------- |
| `maven-dependency-plugin.version` |
| `regex-plugin.version` |
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-parent</artifactId>
<version>1.1.17</version>
<version>1.1.21</version>
<relativePath>..</relativePath>
</parent>

Some files were not shown because too many files have changed in this diff Show More