Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
634af1ce0d | ||
|
|
53741f31a1 | ||
|
|
cd643e4978 | ||
|
|
a20f951761 | ||
|
|
9ef965c638 | ||
|
|
045e31a9cb | ||
|
|
24ce538e5a | ||
|
|
1ccff8d7f1 | ||
|
|
906ad41928 | ||
|
|
3f06b1738f | ||
|
|
2cd0276915 | ||
|
|
23c010b981 | ||
|
|
4e817b1981 | ||
|
|
0eacdc5f25 | ||
|
|
dfcc723ece | ||
|
|
72fe452fb3 | ||
|
|
bd4ddd12f7 | ||
|
|
29d0ef1398 | ||
|
|
2430643937 | ||
|
|
49c90ed198 | ||
|
|
0b2cbcf060 | ||
|
|
6fc66409c0 |
@@ -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`.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.40</version>
|
||||
<version>2.45</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<!-- This assures the parent properties override defaults in the tiles -->
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.40</version>
|
||||
<version>2.45</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>
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.40</version>
|
||||
<version>2.45</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<!-- This assures the parent properties override defaults in the tiles -->
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.40</version>
|
||||
<version>2.45</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<!-- This assures the parent properties override defaults in the tiles -->
|
||||
|
||||
+3
-4
@@ -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.45</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<!-- This assures the parent properties override defaults in the tiles -->
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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-maven-plugin.version` |
|
||||
| `download-maven-plugin.version` |
|
||||
| `regex-maven-plugin.version` |
|
||||
| `conditional-maven-plugin.version` |
|
||||
| `amp-maven-plugin.version` |
|
||||
|
||||
## Results
|
||||
|
||||
This Maven Tile will result in the definition of the following Maven properties during the respective Maven phase.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<version>${build-helper-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>module-snapshot-timestamp</id>
|
||||
@@ -45,41 +45,6 @@
|
||||
<pattern>yyyyMMddHHmmss</pattern>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.inteligr8</groupId>
|
||||
<artifactId>regex-maven-plugin</artifactId>
|
||||
<version>1.0.5</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>acs-module-version</id>
|
||||
<phase>initialize</phase>
|
||||
<goals><goal>replace-text</goal></goals>
|
||||
<configuration>
|
||||
<text>${project.version}</text>
|
||||
<newProperty>module.version</newProperty>
|
||||
<regexes>
|
||||
<!-- turn -SNAPSHOT into ATIMESTAMP -->
|
||||
<regex>
|
||||
<pattern>^(.*)-SNAPSHOT$</pattern>
|
||||
<replacement>$1-A${module.timestamp}</replacement>
|
||||
</regex>
|
||||
<!-- all others are just a copy -->
|
||||
<regex>
|
||||
<pattern>^(.*)$</pattern>
|
||||
<replacement>$1</replacement>
|
||||
</regex>
|
||||
</regexes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-acs-module-resources</id>
|
||||
<phase>generate-resources</phase>
|
||||
@@ -133,12 +98,75 @@
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
<!-- This execution enables/disables the AMP file during the install phases -->
|
||||
<execution>
|
||||
<id>attach-amp</id>
|
||||
<phase>post-integration-test</phase>
|
||||
<goals>
|
||||
<goal>attach-artifact</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifacts>
|
||||
<artifact>
|
||||
<type>amp</type>
|
||||
<file>${project.build.directory}/${project.artifactId}-${project.version}.amp</file>
|
||||
</artifact>
|
||||
</artifacts>
|
||||
<skipAttach>${beedk.noAmp}</skipAttach>
|
||||
</configuration>
|
||||
</execution>
|
||||
<!-- This execution enables/disables the AMP file during the deploy phases -->
|
||||
<execution>
|
||||
<id>attach-amp-classifier</id>
|
||||
<phase>post-integration-test</phase>
|
||||
<goals>
|
||||
<goal>attach-artifact</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifacts>
|
||||
<artifact>
|
||||
<type>amp</type>
|
||||
<classifier>${alfresco.module.classifier}</classifier>
|
||||
<file>${project.build.directory}/${project.artifactId}-${project.version}-${alfresco.module.classifier}.amp</file>
|
||||
</artifact>
|
||||
</artifacts>
|
||||
<skipAttach>${beedk.noAmpClassifier}</skipAttach>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.inteligr8</groupId>
|
||||
<artifactId>regex-maven-plugin</artifactId>
|
||||
<version>${regex-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>acs-module-version</id>
|
||||
<phase>initialize</phase>
|
||||
<goals><goal>replace-text</goal></goals>
|
||||
<configuration>
|
||||
<text>${project.version}</text>
|
||||
<newProperty>module.version</newProperty>
|
||||
<regexes>
|
||||
<!-- turn -SNAPSHOT into ATIMESTAMP -->
|
||||
<regex>
|
||||
<pattern>^(.*)-SNAPSHOT$</pattern>
|
||||
<replacement>$1-A${module.timestamp}</replacement>
|
||||
</regex>
|
||||
<!-- all others are just a copy -->
|
||||
<regex>
|
||||
<pattern>^(.*)$</pattern>
|
||||
<replacement>$1</replacement>
|
||||
</regex>
|
||||
</regexes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- This plugin prevents binary file formats from being corrupted due to filtering -->
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<version>${maven-resources-plugin.version}</version>
|
||||
<configuration>
|
||||
<encoding>UTF-8</encoding>
|
||||
<nonFilteredFileExtensions>
|
||||
@@ -218,9 +246,9 @@
|
||||
</plugin>
|
||||
<!-- This plugin minifies (compresses) JavaScript files -->
|
||||
<plugin>
|
||||
<groupId>net.alchim31.maven</groupId>
|
||||
<groupId>com.github.hazendaz.maven</groupId>
|
||||
<artifactId>yuicompressor-maven-plugin</artifactId>
|
||||
<version>1.5.1</version>
|
||||
<version>2.2.0</version>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<exclude>**/webscripts/**</exclude>
|
||||
@@ -254,7 +282,7 @@
|
||||
<!-- This plugin changes the packaging directory to the consolidated directory -->
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<version>${maven-jar-plugin.version}</version>
|
||||
<configuration>
|
||||
<classesDirectory>${project.build.packageDirectory}</classesDirectory>
|
||||
</configuration>
|
||||
@@ -263,7 +291,7 @@
|
||||
<plugin>
|
||||
<groupId>com.inteligr8.alfresco</groupId>
|
||||
<artifactId>amp-maven-plugin</artifactId>
|
||||
<version>1.1.4</version>
|
||||
<version>${amp-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>build-amp-file</id>
|
||||
@@ -282,7 +310,7 @@
|
||||
<plugin>
|
||||
<groupId>com.inteligr8</groupId>
|
||||
<artifactId>conditional-maven-plugin</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<version>${conditional-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>check-amp-file</id>
|
||||
@@ -312,47 +340,6 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- This plugin enables/disables the AMP file during the install/deploy phases -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-amp</id>
|
||||
<phase>post-integration-test</phase>
|
||||
<goals>
|
||||
<goal>attach-artifact</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifacts>
|
||||
<artifact>
|
||||
<type>amp</type>
|
||||
<file>${project.build.directory}/${project.artifactId}-${project.version}.amp</file>
|
||||
</artifact>
|
||||
</artifacts>
|
||||
<skipAttach>${beedk.noAmp}</skipAttach>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>attach-amp-classifier</id>
|
||||
<phase>post-integration-test</phase>
|
||||
<goals>
|
||||
<goal>attach-artifact</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifacts>
|
||||
<artifact>
|
||||
<type>amp</type>
|
||||
<classifier>${alfresco.module.classifier}</classifier>
|
||||
<file>${project.build.directory}/${project.artifactId}-${project.version}-${alfresco.module.classifier}.amp</file>
|
||||
</artifact>
|
||||
</artifacts>
|
||||
<skipAttach>${beedk.noAmpClassifier}</skipAttach>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
@@ -370,7 +357,7 @@
|
||||
<plugin>
|
||||
<groupId>com.googlecode.maven-download-plugin</groupId>
|
||||
<artifactId>download-maven-plugin</artifactId>
|
||||
<version>1.6.1</version>
|
||||
<version>${download-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>download-module-props</id>
|
||||
@@ -404,6 +391,15 @@
|
||||
|
||||
<!-- output -->
|
||||
<alfresco.module.path>alfresco/module/${alfresco.module.pathname}</alfresco.module.path>
|
||||
|
||||
<!-- versions -->
|
||||
<maven-resources-plugin.version>@maven-resources-plugin.version@</maven-resources-plugin.version>
|
||||
<maven-jar-plugin.version>@maven-jar-plugin.version@</maven-jar-plugin.version>
|
||||
<build-helper-maven-plugin.version>@build-helper-maven-plugin.version@</build-helper-maven-plugin.version>
|
||||
<download-maven-plugin.version>@download-maven-plugin.version@</download-maven-plugin.version>
|
||||
<regex-maven-plugin.version>@regex-maven-plugin.version@</regex-maven-plugin.version>
|
||||
<conditional-maven-plugin.version>@conditional-maven-plugin.version@</conditional-maven-plugin.version>
|
||||
<amp-maven-plugin.version>1.1.5</amp-maven-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.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<!-- This plugin downloads the Platform WAR and JDBC JAR dependency -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.6.1</version>
|
||||
<version>${maven-dependency-plugin.version}</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the Platform WAR -->
|
||||
<execution>
|
||||
@@ -110,6 +110,7 @@
|
||||
|
||||
<!-- versions -->
|
||||
<postgres.jdbc.version>42.2.18</postgres.jdbc.version>
|
||||
<maven-dependency-plugin.version>@maven-dependency-plugin.version@</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.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</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>3.6.1</version>
|
||||
<version>${maven-dependency-plugin.version}</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the Platform WAR -->
|
||||
<execution>
|
||||
@@ -115,6 +115,7 @@
|
||||
|
||||
<!-- versions -->
|
||||
<postgres.jdbc.version>42.2.18</postgres.jdbc.version>
|
||||
<maven-dependency-plugin.version>@maven-dependency-plugin.version@</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>
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</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.45</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<tiles>
|
||||
|
||||
@@ -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-maven-plugin.version` |
|
||||
|
||||
## Results
|
||||
|
||||
The project will build as a deployable ACS Platform module.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<version>${build-helper-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-acs-platform-module-resources</id>
|
||||
@@ -46,7 +46,7 @@
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<version>${maven-resources-plugin.version}</version>
|
||||
<executions>
|
||||
<!-- This plugin execution consolidates the compiled/generated/filtered resources into one directory for packaging -->
|
||||
<execution>
|
||||
@@ -80,6 +80,10 @@
|
||||
<!-- output -->
|
||||
<alfresco.ext.path>alfresco/extension</alfresco.ext.path>
|
||||
<alfresco.ext.package>alfresco.extension</alfresco.ext.package>
|
||||
|
||||
<!-- versions -->
|
||||
<build-helper-maven-plugin.version>@build-helper-maven-plugin.version@</build-helper-maven-plugin.version>
|
||||
<maven-resources-plugin.version>@maven-resources-plugin.version@</maven-resources-plugin.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -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>3.6.1</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,11 +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>
|
||||
<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>@maven-dependency-plugin.version@</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.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<!-- This plugin downloads the Platform JAR-based extension modules and runtime/test dependencies -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.6.1</version>
|
||||
<version>${maven-dependency-plugin.version}</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the dependency JARs, including JAR modules -->
|
||||
<execution>
|
||||
@@ -100,6 +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-plugin.version>@maven-dependency-plugin.version@</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.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<!-- This plugin downloads the Platform JAR-based extension modules and runtime/test dependencies -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.6.1</version>
|
||||
<version>${maven-dependency-plugin.version}</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the dependency JARs, including JAR modules -->
|
||||
<execution>
|
||||
@@ -104,6 +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-plugin.version>@maven-dependency-plugin.version@</maven-dependency-plugin.version>
|
||||
|
||||
<!-- configuring beedk-acs-platform-rad-tile -->
|
||||
<beedk.deploy.platform.warFile>${project.build.warFile}</beedk.deploy.platform.warFile>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<plugin>
|
||||
<groupId>com.googlecode.maven-download-plugin</groupId>
|
||||
<artifactId>download-maven-plugin</artifactId>
|
||||
<version>1.6.1</version>
|
||||
<version>${download-maven-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-maven-plugin.version>@download-maven-plugin.version@</download-maven-plugin.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
|
||||
@@ -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` |
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<!-- This plugin disables the WAR packaging if packaging is 'war'. -->
|
||||
<plugin>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<version>3.0.0</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>3.0.0-M1</version>
|
||||
<version>${maven-install-plugin.version}</version>
|
||||
<configuration>
|
||||
<!-- do not install the normal WAR -->
|
||||
<skip>true</skip>
|
||||
@@ -97,6 +97,10 @@
|
||||
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
||||
<alfresco.platform.war.version>${alfresco.platform.version}</alfresco.platform.war.version>
|
||||
<alfresco.war.version>${alfresco.platform.war.version}</alfresco.war.version>
|
||||
|
||||
<!-- versions -->
|
||||
<maven-war-plugin.version>@maven-war-plugin.version@</maven-war-plugin.version>
|
||||
<maven-install-plugin.version>@maven-install-plugin.version@</maven-install-plugin.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<!-- This plugin downloads the Share WAR -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.6.1</version>
|
||||
<version>${maven-dependency-plugin.version}</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the Share WAR -->
|
||||
<execution>
|
||||
@@ -72,6 +72,9 @@
|
||||
<!-- configuring beedk-acs-share-rad-tile -->
|
||||
<beedk.deploy.share.warFile>${project.build.warDirectory}/${alfresco.share.war.artifactId}-${alfresco.share.war.version}.war</beedk.deploy.share.warFile>
|
||||
<beedk.deploy.share.extDirectory>${project.build.directory}/ext/share</beedk.deploy.share.extDirectory>
|
||||
|
||||
<!-- versions -->
|
||||
<maven-dependency-plugin.version>@maven-dependency-plugin.version@</maven-dependency-plugin.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</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.45</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<tiles>
|
||||
|
||||
@@ -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-maven-plugin.version` |
|
||||
|
||||
## Results
|
||||
|
||||
The project will build as a deployable ACS Share module.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<version>${build-helper-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-acs-share-module-resources</id>
|
||||
@@ -65,7 +65,7 @@
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<version>${maven-resources-plugin.version}</version>
|
||||
<executions>
|
||||
<!-- This plugin execution consolidates the compiled/generated/filtered resources into one directory for packaging -->
|
||||
<execution>
|
||||
@@ -99,6 +99,10 @@
|
||||
<!-- output -->
|
||||
<alfresco.ext.path>alfresco/web-extension</alfresco.ext.path>
|
||||
<alfresco.ext.package>alfresco.web-extension</alfresco.ext.package>
|
||||
|
||||
<!-- versions -->
|
||||
<build-helper-maven-plugin.version>@build-helper-maven-plugin.version@</build-helper-maven-plugin.version>
|
||||
<maven-resources-plugin.version>@maven-resources-plugin.version@</maven-resources-plugin.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
@@ -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-maven-plugin.version` |
|
||||
| `fs-plugin.version` |
|
||||
|
||||
## Results
|
||||
|
||||
The ACS Share will be started during the `process-classes` Maven phase.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<plugin>
|
||||
<groupId>com.googlecode.maven-download-plugin</groupId>
|
||||
<artifactId>download-maven-plugin</artifactId>
|
||||
<version>1.6.1</version>
|
||||
<version>${download-maven-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-maven-plugin.version>@download-maven-plugin.version@</download-maven-plugin.version>
|
||||
<fs-plugin.version>1.0.0</fs-plugin.version>
|
||||
|
||||
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
||||
<alfresco.war.artifactId>share</alfresco.war.artifactId>
|
||||
|
||||
@@ -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-maven-plugin.version` |
|
||||
|
||||
## Results
|
||||
|
||||
ACS Share will be started and stopped during the `pre-integration-test` and `post-integration-test` Maven phases, respectively.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<!-- This plugin downloads the Share JAR-based extension modules and runtime/test dependencies -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.6.1</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-maven-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,7 +168,9 @@
|
||||
<acs-share.port>8180</acs-share.port>
|
||||
|
||||
<!-- versions -->
|
||||
<tomcat-rad.version>9-2.1</tomcat-rad.version>
|
||||
<tomcat-rad.version>2.3-tomcat11</tomcat-rad.version>
|
||||
<maven-dependency-plugin.version>@maven-dependency-plugin.version@</maven-dependency-plugin.version>
|
||||
<download-maven-plugin.version>@download-maven-plugin.version@</download-maven-plugin.version>
|
||||
|
||||
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
||||
<alfresco.war.artifactId>share</alfresco.war.artifactId>
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<!-- This plugin downloads the Share JAR-based extension modules -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.6.1</version>
|
||||
<version>${maven-dependency-plugin.version}</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the dependency JARs, including JAR modules -->
|
||||
<execution>
|
||||
@@ -69,6 +69,9 @@
|
||||
|
||||
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
||||
<alfresco.war.version>${alfresco.share.version}</alfresco.war.version>
|
||||
|
||||
<!-- versions -->
|
||||
<maven-dependency-plugin.version>@maven-dependency-plugin.version@</maven-dependency-plugin.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<plugin>
|
||||
<groupId>com.googlecode.maven-download-plugin</groupId>
|
||||
<artifactId>download-maven-plugin</artifactId>
|
||||
<version>1.6.1</version>
|
||||
<version>${download-maven-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>@maven-dependency-plugin.version@</maven-dependency-plugin.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
|
||||
@@ -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` |
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<!-- This plugin disables the WAR packaging if packaging is 'war'. -->
|
||||
<plugin>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<version>3.0.0</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>3.0.0-M1</version>
|
||||
<version>${maven-install-plugin.version}</version>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
@@ -67,6 +67,10 @@
|
||||
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
||||
<alfresco.war.artifactId>share</alfresco.war.artifactId>
|
||||
<alfresco.war.version>${alfresco.share.version}</alfresco.war.version>
|
||||
|
||||
<!-- versions -->
|
||||
<maven-war-plugin.version>@maven-war-plugin.version@</maven-war-plugin.version>
|
||||
<maven-install-plugin.version>@maven-install-plugin.version@</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.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<!-- This plugin downloads the dependency AMPs -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.6.1</version>
|
||||
<version>${maven-dependency-plugin.version}</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the dependency AMPs in the 'compile' and 'runtime' scopes -->
|
||||
<execution>
|
||||
@@ -72,6 +72,9 @@
|
||||
<properties>
|
||||
<!-- configurable -->
|
||||
<project.build.ampDirectory>${project.build.directory}/amps</project.build.ampDirectory>
|
||||
|
||||
<!-- versions -->
|
||||
<maven-dependency-plugin.version>@maven-dependency-plugin.version@</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.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<!-- This plugin downloads the dependency AMPs -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.6.1</version>
|
||||
<version>${maven-dependency-plugin.version}</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the dependency AMPs in the `compile`, `runtime`, and `test' scopes -->
|
||||
<execution>
|
||||
@@ -76,6 +76,9 @@
|
||||
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
||||
<beedk.download.war.skip>false</beedk.download.war.skip>
|
||||
<beedk.download.war.phase>pre-integration-test</beedk.download.war.phase>
|
||||
|
||||
<!-- versions -->
|
||||
<maven-dependency-plugin.version>@maven-dependency-plugin.version@</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.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<!-- This plugin downloads the dependency AMPs -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.6.1</version>
|
||||
<version>${maven-dependency-plugin.version}</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the dependency AMPs in the `compile`, `runtime`, and `test' scopes -->
|
||||
<execution>
|
||||
@@ -84,6 +84,9 @@
|
||||
<properties>
|
||||
<!-- configurable -->
|
||||
<project.build.ampDirectory>${project.build.directory}/amps</project.build.ampDirectory>
|
||||
|
||||
<!-- versions -->
|
||||
<maven-dependency-plugin.version>@maven-dependency-plugin.version@</maven-dependency-plugin.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<!-- This plugin downloads the parameterized WAR -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.6.1</version>
|
||||
<version>${maven-dependency-plugin.version}</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the parameterized WAR -->
|
||||
<execution>
|
||||
@@ -66,6 +66,9 @@
|
||||
|
||||
<!-- results -->
|
||||
<project.build.warFile>${project.build.warDirectory}/${alfresco.war.artifactId}-${alfresco.war.version}.war</project.build.warFile>
|
||||
|
||||
<!-- versions -->
|
||||
<maven-dependency-plugin.version>@maven-dependency-plugin.version@</maven-dependency-plugin.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<version>${build-helper-maven-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>3.6.1</version>
|
||||
<version>${maven-dependency-plugin.version}</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the dependency JARs, including JAR modules -->
|
||||
<execution>
|
||||
@@ -115,6 +115,10 @@
|
||||
<!-- skip deployment of spring boot app -->
|
||||
<beedk.deploy.dockerImageOnly>true</beedk.deploy.dockerImageOnly>
|
||||
<maven.deploy.skip>${beedk.deploy.dockerImageOnly}</maven.deploy.skip>
|
||||
|
||||
<!-- versions -->
|
||||
<build-helper-maven-plugin.version>@build-helper-maven-plugin.version@</build-helper-maven-plugin.version>
|
||||
<maven-dependency-plugin.version>@maven-dependency-plugin.version@</maven-dependency-plugin.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.14</version>
|
||||
<version>1.1-SNAPSHOT</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,39 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.40</version>
|
||||
<version>2.45</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>
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-activiti-ext-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-activiti-ext-tile:${beedkVersion}</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>
|
||||
</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 ]"
|
||||
|
||||
+38
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
+7
-7
@@ -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
|
||||
}
|
||||
|
||||
|
||||
+41
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
+5
-5
@@ -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
|
||||
}
|
||||
|
||||
|
||||
+45
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
+10
-1
@@ -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 {
|
||||
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Maven
|
||||
/target
|
||||
pom.xml.versionsBackup
|
||||
|
||||
# Eclipse
|
||||
.settings
|
||||
.project
|
||||
.classpath
|
||||
.settings
|
||||
|
||||
# Maven
|
||||
pom.xml.versionsBackup
|
||||
target
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
# BeeDK Activiti Extension Maven Tile
|
||||
|
||||
This is a component within the proposed [BeeDK](/inteligr8/ootbee-beedk). It is considered to be part of the **Public API** of the BeeDK.
|
||||
|
||||
## Purpose
|
||||
|
||||
This project creates a [Maven Tile](https://github.com/repaint-io/maven-tiles) that assists with the building of any Activiti extension.
|
||||
|
||||
## 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.
|
||||
|
||||
```xml
|
||||
<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-activiti-ext-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-activiti-ext-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
...
|
||||
</plugins>
|
||||
...
|
||||
</build>
|
||||
...
|
||||
</project>
|
||||
```
|
||||
|
||||
## 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 |
|
||||
| ---------------------------- |:--------:| --------------- | ----------- |
|
||||
| `activiti.shaded.classifier` | | `bundle` | |
|
||||
| `activiti.apidoc.name` | | *project name* | |
|
||||
| `activiti.apidoc.title` | | Activiti API Documentation | |
|
||||
|
||||
### Plugin Versions
|
||||
|
||||
| Maven Property |
|
||||
| ---------------------------------- |
|
||||
| `activiti-api-doclet.version` |
|
||||
| `maven-clean-plugin.version` |
|
||||
| `maven-javadoc-plugin.version` |
|
||||
| `maven-shade-plugin.version` |
|
||||
| `flatten-maven-plugin.version` |
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user