added fs-maven-plugin to create possibly unused volumes

This commit is contained in:
2026-04-20 18:24:41 -04:00
parent dfcc723ece
commit 0eacdc5f25
10 changed files with 122 additions and 0 deletions
+6
View File
@@ -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.
+22
View File
@@ -20,6 +20,27 @@
<build>
<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>
</paths>
</configuration>
</execution>
</executions>
</plugin>
<!-- Using Docker to host the web application -->
<plugin>
<groupId>io.fabric8</groupId>
@@ -365,6 +386,7 @@
<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>
<fs-plugin.version>1.0.0</fs-plugin.version>
</properties>
</profile>
</profiles>
+1
View File
@@ -98,6 +98,7 @@ Additional less important configurations are inherited from the following Maven
| Maven Property |
| ---------------------------------- |
| `maven-dependency-plugin.version` |
| `fs-plugin.version` |
## Results
+25
View File
@@ -69,6 +69,30 @@
</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>
</paths>
</configuration>
</execution>
</executions>
</plugin>
<!-- Using Docker to host the web application -->
<plugin>
<groupId>io.fabric8</groupId>
@@ -310,6 +334,7 @@
<acs-activemq.version>5.18.4</acs-activemq.version>
<tomcat-rad.version>9-2.1</tomcat-rad.version>
<maven-dependency-plugin.version>3.9.0</maven-dependency-plugin.version>
<fs-plugin.version>1.0.0</fs-plugin.version>
</properties>
</profile>
</profiles>
+1
View File
@@ -82,6 +82,7 @@ Additional less important configurations are inherited from the following Maven
| Maven Property |
| ---------------------------------- |
| `download-plugin.version` |
| `fs-plugin.version` |
## Results
+25
View File
@@ -73,6 +73,30 @@
</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>
@@ -175,6 +199,7 @@
<!-- versions -->
<tomcat-rad.version>9-2.1</tomcat-rad.version>
<download-plugin.version>1.13.0</download-plugin.version>
<fs-plugin.version>1.0.0</fs-plugin.version>
<!-- configuring beedk-acs-webapp-artifact-tile -->
<alfresco.war.artifactId>share</alfresco.war.artifactId>
+1
View File
@@ -84,6 +84,7 @@ Additional less important configurations are inherited from the following Maven
| Maven Property |
| ---------------------------------- |
| `maven-dependency-plugin.version` |
| `fs-plugin.version` |
## Results
+20
View File
@@ -74,6 +74,25 @@
</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>pre-integration-test</phase>
<goals><goal>mkdir</goal></goals>
<configuration>
<paths>
<path>${project.build.directory}/rt-resources</path>
<path>${project.build.directory}/rt-test-resources</path>
</paths>
</configuration>
</execution>
</executions>
</plugin>
<!-- Using Docker to host the web application -->
<plugin>
<groupId>io.fabric8</groupId>
@@ -236,6 +255,7 @@
<aps.version>25.1.1</aps.version>
<tomcat-rad.version>10-2.2</tomcat-rad.version>
<maven-dependency-plugin.version>3.9.0</maven-dependency-plugin.version>
<fs-plugin.version>1.0.0</fs-plugin.version>
<!-- results -->
<project.build.warFile>${project.build.warDirectory}/${aps.war.artifactId}-${aps.war.version}.war</project.build.warFile>
+1
View File
@@ -88,6 +88,7 @@ Additional less important configurations are inherited from the following Maven
| Maven Property |
| ---------------------------------- |
| `maven-dependency-plugin.version` |
| `fs-plugin.version` |
## Results
+20
View File
@@ -82,6 +82,25 @@
</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>${project.build.directory}/rt-resources</path>
<path>${project.build.directory}/rt-test-resources</path>
</paths>
</configuration>
</execution>
</executions>
</plugin>
<!-- Using Docker to host the web application -->
<plugin>
<groupId>io.fabric8</groupId>
@@ -224,6 +243,7 @@
<aps.version>25.1.1</aps.version>
<tomcat-rad.version>10-2.2</tomcat-rad.version>
<maven-dependency-plugin.version>3.9.0</maven-dependency-plugin.version>
<fs-plugin.version>1.0.0</fs-plugin.version>
<!-- results -->
<project.build.warFile>${project.build.warDirectory}/${aps.war.artifactId}-${aps.war.version}.war</project.build.warFile>