Compare commits
126 Commits
Author | SHA1 | Date | |
---|---|---|---|
bce5e7c019 | |||
883f74a6d4 | |||
2430643937 | |||
49c90ed198 | |||
0b2cbcf060 | |||
7f04bf7801 | |||
d45223d3ec | |||
6fc66409c0 | |||
ec90d5c47d | |||
dbc9e2fdd8 | |||
ea86e72d67 | |||
4de14efa3f | |||
5c05f73fdc | |||
52f237e575 | |||
f4e368fc33 | |||
e68366d1be | |||
b17dcdb5eb | |||
bc093cc69a | |||
d56f4f82fb | |||
adc5caf1c2 | |||
cf03dc8808 | |||
f4f8fa8704 | |||
8a0e38f078 | |||
87a0cb879c | |||
6ed4974f3f | |||
3df287166d | |||
1412e66768 | |||
0c50627eae | |||
5b7a8f1463 | |||
8a77c5a01d | |||
45099b8e8b | |||
9ed1f8454a | |||
eaedecb5a7 | |||
1c9b4e98a2 | |||
88f8d8d3f8 | |||
3b26e76b06 | |||
4514c3cc33 | |||
481321020d | |||
84d8e949bc | |||
24f8257920 | |||
f2468fa6a2 | |||
974d46775f | |||
84a8f38c5a | |||
b3e28997ee | |||
f19e1ce7a7 | |||
00be2e069b | |||
9eab7ba2af | |||
8f3d1e4a04 | |||
0807afbcf9 | |||
a1a1da0cc0 | |||
db795e7e53 | |||
6c3d5ebf52 | |||
c17d8ec3df | |||
f4741d89df | |||
3f73c51c9d | |||
2acc4dc634 | |||
4b7454f9ba | |||
6b32abaefd | |||
189e416014 | |||
f8b92d5c35 | |||
ae0564280c | |||
582beb8f13 | |||
d51874abae | |||
e1cd5245ef | |||
82b2d4b1fe | |||
3d0161908e | |||
cfcfe64167 | |||
439e45e2a5 | |||
d97a201c4f | |||
bd88665b6d | |||
0a1dae6364 | |||
32209000a0 | |||
6e36b90208 | |||
857466995b | |||
0c0fca9dfa | |||
81cf17cb4a | |||
0a9e879875 | |||
f093681260 | |||
8faa33f21c | |||
90b36131f2 | |||
1ed01b865f | |||
dc5665a4a5 | |||
86e232a6b4 | |||
3d5b83eaed | |||
4f98ddab63 | |||
e8c9ec65f3 | |||
932abbe366 | |||
6332b0b194 | |||
3eea7848ea | |||
28e39fc9d2 | |||
c8abe0f374 | |||
e8592abc6f | |||
dac99d1a4c | |||
4a3cebe283 | |||
48c5fb004a | |||
b00b222daf | |||
53c64a9a69 | |||
0931a2c57e | |||
5efedf3fb4 | |||
856c6f4afa | |||
6ea6faa327 | |||
6d70c711c1 | |||
bdd1693cab | |||
d4f8e78425 | |||
012bb361ba | |||
b2104c796a | |||
a49c5a7dbb | |||
0745cc91a7 | |||
fb843bac2c | |||
9fe73068e8 | |||
fb95cc1464 | |||
ad177123ff | |||
05bf7c29e6 | |||
920d858886 | |||
be462b6dd1 | |||
585b2cf745 | |||
c6df90008f | |||
827e693e60 | |||
42d3c38e9f | |||
5dd6dffb62 | |||
46ba0521f3 | |||
17a18d6551 | |||
4df9fcbe11 | |||
be5c04785b | |||
1ff5ab460e | |||
3777dad5c8 |
125
README.md
125
README.md
@@ -10,76 +10,25 @@ The sole purpose of this project is to build all the submodule components. It i
|
||||
|
||||
### Configuration
|
||||
|
||||
There are a couple configurations required to use the components of the BeeDK. Those are covered in the sections below.
|
||||
There is no extra configuration required to use the BeeDK or its modules. Some modules may require tools like Docker, but those are requirements of the module, not the BeeDK.
|
||||
|
||||
#### Plugin Repository
|
||||
The BeeDK official artifacts are all deployed to Maven Central. There are no 3rd party repositories needed. You may develop and deploy your own extensions in other repositories though. In those cases, the repositories will need to be defined as `pluginRepositories` in order for Maven Tiles to use them during its discovery.
|
||||
|
||||
First, you will need define a reference to the repository for the BeeDK tiles. This is the case until they find their way into the Maven Central Repository.
|
||||
### Modules
|
||||
|
||||
You will need to define a plugin repository in your `setting.xml` or your project `pom.xml`. The following snippet is meant to be included in your `~/.m2/settings.xml` file.
|
||||
|
||||
> If you choose to include it in your project `pom.xml`, ignore the structure outside the `pluginRepositories` element and place that element directly under the `project` element.
|
||||
|
||||
```xml
|
||||
<settings ...>
|
||||
...
|
||||
<profiles>
|
||||
...
|
||||
<profile>
|
||||
<id>inteligr8</id>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>inteligr8-public</id>
|
||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
</profile>
|
||||
...
|
||||
</profiles>
|
||||
...
|
||||
</settings>
|
||||
```
|
||||
|
||||
#### Archetype
|
||||
|
||||
Next, you will need to configure using a repository not named Maven Central for archetypes. Defining a location for archetypes is incredibly bug-laden in the Maven Archetype plugin framework. The only good way to achieve it is by defining an alternative `settings.xml` file. So create a new file called `.m2/beedk-settings.xml` with the following contents.
|
||||
|
||||
```xml
|
||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>custom-archetype</id>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>archetype</id>
|
||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
</profile>
|
||||
</profiles>
|
||||
<activeProfiles>
|
||||
<activeProfile>custom-archetype</activeProfile>
|
||||
</activeProfiles>
|
||||
</settings>
|
||||
```
|
||||
|
||||
### Components
|
||||
|
||||
The following components are useful to users of the BeeDK.
|
||||
The following tiles (side-loaded components) are useful to users of the BeeDK. BeeDK makes extensive use of [Maven Tiles](https://github.com/repaint-io/maven-tiles).
|
||||
|
||||
#### Public API
|
||||
|
||||
| Component | Folder Link | Details |
|
||||
| ------------------------------------- | ------------- | ------- |
|
||||
| `beedk-acs-platform-module-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-module-tile) | Intended to be inherited by all Alfresco Platform module projects; Includes ampification and more. |
|
||||
| `beedk-acs-share-module-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-module-tile) | Intended to be inherited by all Alfresco Share module projects; Includes ampification, JS compression, and more. |
|
||||
| `beedk-acs-platform-webapp-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-webapp-tile) | Intended to be inherited by all Alfresco Platform web application projects; Includes installing AMPs, and more. |
|
||||
| `beedk-acs-share-webapp-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-webapp-tile) | Intended to be inherited by all Alfresco Share web application projects; Includes installing AMPs, and more. |
|
||||
| `beedk-ate-springboot` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-springboot) | Intended to be inherited by all Alfresco Transform Engine Spring Boot projects; Includes dependencies. |
|
||||
| `beedk-ate-springboot-test` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-springboot-test) | Intended to be inherited by all Alfresco Transform Engine Spring Boot projects; Includes dependencies. |
|
||||
| `beedk-ate-springboot-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-springboot-tile) | Intended to be inherited by all Alfresco Transform Engine Spring Boot projects; Includes Spring Boot repackaging and more. |
|
||||
| `beedk-acs-platform-module-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-module-tile) | Intended to be inherited by all Alfresco Platform module projects; Includes ampification and more. |
|
||||
| `beedk-acs-share-module-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-module-tile) | Intended to be inherited by all Alfresco Share module projects; Includes ampification, JS compression, and more. |
|
||||
| `beedk-acs-platform-webapp-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-webapp-tile) | Intended to be inherited by all Alfresco Platform web application projects; Includes installing AMPs, loading JARs, and more. |
|
||||
| `beedk-acs-share-webapp-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-webapp-tile) | Intended to be inherited by all Alfresco Share web application projects; Includes installing AMPs, loading JARs, and more. |
|
||||
| `beedk-ate-springboot` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-ate-springboot) | Intended to be inherited by all Alfresco Transform Engine Spring Boot projects; Includes dependencies. |
|
||||
| `beedk-ate-springboot-test` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-ate-springboot-test) | Intended to be inherited by all Alfresco Transform Engine Spring Boot projects; Includes dependencies. |
|
||||
| `beedk-ate-springboot-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-ate-springboot-tile) | Intended to be inherited by all Alfresco Transform Engine Spring Boot projects; Includes Spring Boot repackaging and more. |
|
||||
| `beedk-activiti-ext-tile` | *Coming Soon* | Intended to be inherited by all Alfresco Process Services or Activiti extension projects. |
|
||||
| `beedk-flowable-ext-tile` | *Coming Soon* | Intended to be inherited by all Flowable extension projects. |
|
||||
| `beedk-camunda-ext-tile` | *Coming Soon* | Intended to be inherited by all Camunda extension projects. |
|
||||
@@ -89,45 +38,45 @@ The following components are useful to users of the BeeDK.
|
||||
| Component | Folder Link | Details |
|
||||
| ------------------------------------- | ------------- | ------- |
|
||||
| `beedk-acs-platform-docker-tile` | *Coming Soon* | Intended to be inherited by any project that already includes a `beedk-acs-platform-webapp-tile` Maven Tile and wants to deliver a Docker image; Includes building and publishing the container images and more. |
|
||||
| `beedk-acs-platform-self-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-it-tile) | Intended to be inherited by any ACS Platform module or web application Maven project. It enables integration testing with the ACS Platform. |
|
||||
| `beedk-acs-platform-sibling-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-sibling-it-tile) | Intended to be inherited by any Maven project that has a sibling ACS Platform module or web application Maven project. It enables integration testing with the sibling ACS Platform. This is great for ACS Share modules, ACS Share web applications, custom Alfresco Transform Engines, and APS extensions in **all-in-one** style Maven projects. |
|
||||
| `beedk-acs-platform-artifact-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-artifact-it-tile) | Intended to be inherited by any Maven project that does not have a sibling ACS Platform module or web application Maven project. It enables integration testing with any ACS Platform as an already built Maven Artifact. This is great for ACS Share modules, ACS Share web applications, custom Alfresco Transform Engines, APS extensions, and non-Alfresco applications in **standalone** projects. |
|
||||
| `beedk-acs-search-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-search-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-it-tile` Maven Tile. It enables integration testing of the ACS Platform with the Alfresco Search Services enabled. This is great for any project requiring non-transactional search functionality for integration testing purposes. |
|
||||
| `beedk-acs-lts-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-lts-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-it-tile` Maven Tile. It enables integration testing of the ACS Platform with the Local Transform Service and the AIO Transform Engine enabled. This is great for any project requiring basic transformation functionality for integration testing purposes. |
|
||||
| `beedk-ats-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ats-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-it-tile` Maven Tile. It enables integration testing of the ACS Platform with the Alfresco Transform Service (ATS) enabled. This is great for any project requiring Alfresco Enterprise transformation functionality for integration testing purposes. |
|
||||
| `beedk-ate-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-it-tile` Maven Tile. It enables integration testing of the ACS Platform with a specific Alfresco Transform Engine (ATE) enabled. This is great for any project requiring custom Alfresco transformation functionality for integration testing purposes. |
|
||||
| `beedk-acs-platform-self-it-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-self-it-tile) | Intended to be inherited by any ACS Platform module or web application Maven project. It enables integration testing with the ACS Platform. |
|
||||
| `beedk-acs-platform-sibling-it-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-sibling-it-tile) | Intended to be inherited by any Maven project that has a sibling ACS Platform module or web application Maven project. It enables integration testing with the sibling ACS Platform. This is great for ACS Share modules, ACS Share web applications, custom Alfresco Transform Engines, and APS extensions in **all-in-one** style Maven projects. |
|
||||
| `beedk-acs-platform-artifact-it-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-artifact-it-tile) | Intended to be inherited by any Maven project that does not have a sibling ACS Platform module or web application Maven project. It enables integration testing with any ACS Platform as an already built Maven Artifact. This is great for ACS Share modules, ACS Share web applications, custom Alfresco Transform Engines, APS extensions, and non-Alfresco applications in **standalone** projects. |
|
||||
| `beedk-acs-search-it-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-search-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-it-tile` Maven Tile. It enables integration testing of the ACS Platform with the Alfresco Search Services enabled. This is great for any project requiring non-transactional search functionality for integration testing purposes. |
|
||||
| `beedk-acs-lts-it-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-lts-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-it-tile` Maven Tile. It enables integration testing of the ACS Platform with the Local Transform Service and the AIO Transform Engine enabled. This is great for any project requiring basic transformation functionality for integration testing purposes. |
|
||||
| `beedk-ats-it-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-ats-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-it-tile` Maven Tile. It enables integration testing of the ACS Platform with the Alfresco Transform Service (ATS) enabled. This is great for any project requiring Alfresco Enterprise transformation functionality for integration testing purposes. |
|
||||
| `beedk-ate-it-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-ate-it-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-it-tile` Maven Tile. It enables integration testing of the ACS Platform with a specific Alfresco Transform Engine (ATE) enabled. This is great for any project requiring custom Alfresco transformation functionality for integration testing purposes. |
|
||||
|
||||
#### ACS Share Accessories
|
||||
|
||||
| Component | Folder Link | Details |
|
||||
| ------------------------------------- | ------------- | ------- |
|
||||
| `beedk-acs-share-docker-tile` | *Coming Soon* | Intended to be inherited by any project that already includes a `beedk-acs-share-webapp-tile` Maven Tile and wants to deliver a Docker image; Includes building and publishing the container images and more. |
|
||||
| `beedk-acs-share-self-it-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-self-it-tile) | Intended to be inherited by any ACS Share module or web application Maven project. It enables integration testing with ACS Share. |
|
||||
| `beedk-acs-share-self-it-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-self-it-tile) | Intended to be inherited by any ACS Share module or web application Maven project. It enables integration testing with ACS Share. |
|
||||
|
||||
#### Alfresco Transform Engine Accessories
|
||||
|
||||
| Component | Folder Link | Details |
|
||||
| ------------------------------------- | ------------- | ------- |
|
||||
| `beedk-ate-docker-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-docker-tile) | Intended to be inherited by any project that already includes a `beedk-ate-springboot-tile` tile and wants to deliver a Docker image. |
|
||||
| `beedk-ate-docker-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-ate-docker-tile) | Intended to be inherited by any project that already includes a `beedk-ate-springboot-tile` tile and wants to deliver a Docker image. |
|
||||
|
||||
#### Other Accessories
|
||||
|
||||
| Component | Folder Link | Details |
|
||||
| ------------------------------------- | ------------- | ------- |
|
||||
| `beedk-springboot-docker-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-springboot-docker-tile) | Intended to be inherited by any Spring Boot project that wants to deliver a Docker image. |
|
||||
| `beedk-springboot-docker-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-springboot-docker-tile) | Intended to be inherited by any Spring Boot project that wants to deliver a Docker image. |
|
||||
|
||||
#### Rapid Application Development
|
||||
|
||||
| Component | Folder Link | Details |
|
||||
| -------------------------------------- | ------------- | ------- |
|
||||
| `beedk-acs-platform-self-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-rad-tile) | Intended to be inherited by any Alfresco Platform module or web application projects; Includes startup with partial hot reloading. |
|
||||
| `beedk-acs-platform-sibling-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-sibling-rad-tile) | Intended to be inherited by any Maven project that has a sibling Alfresco Platform module or web application Maven project; provides ACS Platform capability to other RAD components. |
|
||||
| `beedk-acs-platform-artifact-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-artifact-rad-tile) | Intended to be inherited by any Maven project that wants to use the Alfresco Platform web application; provides ACS Platform capability to other RAD components. |
|
||||
| `beedk-acs-share-self-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-self-rad-tile) | Intended to be inherited by any Alfresco Platform module or web application projects; Includes startup with partial hot reloading. |
|
||||
| `beedk-acs-search-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-search-rad-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-rad-tile` Maven Tile. It enables RAD of the ACS Platform with the Alfresco Search Services enabled. This is great for any project requiring non-transactional search functionality. |
|
||||
| `beedk-acs-lts-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-lts-rad-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-rad-tile` Maven Tile. It enables RAD of the ACS Platform with the Local Transform Service and the AIO Transform Engine enabled. This is great for any project requiring basic transformation functionality. |
|
||||
| `beedk-ats-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ats-rad-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-rad-tile` Maven Tile. It enables RAD of the ACS Platform with the Alfresco Transform Service (ATS) enabled. This is great for any project requiring Alfresco Enterprise transformation functionality. |
|
||||
| `beedk-ate-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-rad-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-rad-tile` Maven Tile. It enables RAD of the ACS Platform with a specific Alfresco Transform Engine (ATE) enabled. This is great for any project requiring custom Alfresco transformation functionality. |
|
||||
| `beedk-acs-platform-self-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-self-rad-tile) | Intended to be inherited by any Alfresco Platform module or web application projects; Includes startup with partial hot reloading. |
|
||||
| `beedk-acs-platform-sibling-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-sibling-rad-tile) | Intended to be inherited by any Maven project that has a sibling Alfresco Platform module or web application Maven project; provides ACS Platform capability to other RAD components. |
|
||||
| `beedk-acs-platform-artifact-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-artifact-rad-tile) | Intended to be inherited by any Maven project that wants to use the Alfresco Platform web application; provides ACS Platform capability to other RAD components. |
|
||||
| `beedk-acs-share-self-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-self-rad-tile) | Intended to be inherited by any Alfresco Platform module or web application projects; Includes startup with partial hot reloading. |
|
||||
| `beedk-acs-search-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-search-rad-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-rad-tile` Maven Tile. It enables RAD of the ACS Platform with the Alfresco Search Services enabled. This is great for any project requiring non-transactional search functionality. |
|
||||
| `beedk-acs-lts-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-lts-rad-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-rad-tile` Maven Tile. It enables RAD of the ACS Platform with the Local Transform Service and the AIO Transform Engine enabled. This is great for any project requiring basic transformation functionality. |
|
||||
| `beedk-ats-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-ats-rad-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-rad-tile` Maven Tile. It enables RAD of the ACS Platform with the Alfresco Transform Service (ATS) enabled. This is great for any project requiring Alfresco Enterprise transformation functionality. |
|
||||
| `beedk-ate-rad-tile` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-ate-rad-tile) | Intended to be inherited by any project that already includes a `beedk-acs-platform-*-rad-tile` Maven Tile. It enables RAD of the ACS Platform with a specific Alfresco Transform Engine (ATE) enabled. This is great for any project requiring custom Alfresco transformation functionality. |
|
||||
|
||||
### Rapid Application Development
|
||||
|
||||
@@ -157,19 +106,19 @@ docker container ls -aq --filter={artifactId}-* | % { docker container rm $_ }
|
||||
|
||||
| Archetype | Folder Link | Details |
|
||||
| ------------------------------------- | ------------- | ------- |
|
||||
| `beedk-acs-platform-module-archetype` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-module-archetype) | Generates a standalone ACS Platform module project. |
|
||||
| `beedk-acs-share-module-archetype` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-module-archetype) | Generates a standalone ACS Share module project. |
|
||||
| `beedk-acs-allinone-archetype` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-acs-allinone-archetype) | Generates a parent, ACS Platform webapp, ACS Share webapp, example ACS Platform module, example ACS Share module, and example ATE projects. |
|
||||
| `beedk-ate-archetype` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-ate-archetype) | Generates a standalone Alfresco Transform Engine project. |
|
||||
| `beedk-acs-platform-module-archetype` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-module-archetype) | Generates a standalone ACS Platform module project. |
|
||||
| `beedk-acs-share-module-archetype` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-module-archetype) | Generates a standalone ACS Share module project. |
|
||||
| `beedk-acs-allinone-archetype` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-allinone-archetype) | Generates a parent, ACS Platform webapp, ACS Share webapp, example ACS Platform module, example ACS Share module, and example ATE projects. |
|
||||
| `beedk-ate-archetype` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-ate-archetype) | Generates a standalone Alfresco Transform Engine project. |
|
||||
| `beedk-activiti-ext-archetype` | *Coming Soon* | Generates a standalone APS/Activiti extension project. |
|
||||
| `beedk-flowable-ext-archetype` | *Coming Soon* | Generates a standalone [Flowable](https://flowable.com) extension project. Flowable is a fork of Activiti 6. |
|
||||
| `beedk-camunda-ext-archetype` | *Coming Soon* | Generates a standalone [Camunda](https://camunda.com) extension project. Camunda is a fork of Activiti 5. |
|
||||
| `beedk-springboot-api-archetype` | [Source](/inteligr8/ootbee-beedk/src/stable/beedk-springboot-api-archetype) | Generates a standalone Spring Boot application ready to interface with the ACS APIs (*APS Coming Soon*). |
|
||||
| `beedk-springboot-api-archetype` | [Source](/inteligr8/ootbee-beedk/src/branch/stable/beedk-springboot-api-archetype) | Generates a standalone Spring Boot application ready to interface with the ACS APIs (*APS Coming Soon*). |
|
||||
|
||||
You can use one of these Maven Archetypes to generate a new project by executing the following at the command line.
|
||||
|
||||
```sh
|
||||
mvn -s ~/.m2/beedk-settings.xml archetype:generate
|
||||
mvn archetype:generate
|
||||
```
|
||||
|
||||
### Scaffolding
|
||||
@@ -207,7 +156,7 @@ The plan is to implement the following engines (and more).
|
||||
You can build the components of the BeeDK by cloning this repository and executing the typical Maven commands. There is nothing special to consider. A brief example is provided below.
|
||||
|
||||
```sh
|
||||
git clone git@bitbucket.org:inteligr8/ootbee-beedk.git
|
||||
git clone git@git.inteligr8.com:inteligr8/ootbee-beedk.git
|
||||
cd ootbee-beedk
|
||||
mvn clean package
|
||||
```
|
||||
@@ -223,7 +172,7 @@ If you choose to fork the repository, then no problem. When you want to "push"
|
||||
#### For Direct Maintainers
|
||||
|
||||
```sh
|
||||
git clone git@bitbucket.org:inteligr8/ootbee-beedk.git
|
||||
git clone git@git.inteligr8.com:inteligr8/ootbee-beedk.git
|
||||
cd ootbee-beedk
|
||||
git checkout develop
|
||||
git checkout -b personal
|
||||
|
@@ -1,17 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
|
||||
<artifactId>beedk-acs-allinone-archetype</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>maven-archetype</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: Project Scaffolding for multi-module ACS projects</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -19,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -32,21 +49,8 @@
|
||||
<extension>
|
||||
<groupId>org.apache.maven.archetype</groupId>
|
||||
<artifactId>archetype-packaging</artifactId>
|
||||
<version>3.1.1</version>
|
||||
<version>${archetype-packaging.version}</version>
|
||||
</extension>
|
||||
</extensions>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
@@ -42,17 +42,17 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<version>2.40</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<!-- This assures the parent properties override defaults in the tiles -->
|
||||
<applyBefore>${groupId}:${artifactId}-parent</applyBefore>
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-rad-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-self-rad-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-self-rad-tile:${beedkVersion}</tile>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-module-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-module-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-module-tile:${beedkVersion}</tile>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-it-tile
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-self-it-tile
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-self-it-tile:${beedkVersion}</tile> -->
|
||||
</tiles>
|
||||
</configuration>
|
||||
|
@@ -5,27 +5,27 @@ function discoverArtifactId {
|
||||
|
||||
function rebuild {
|
||||
echo "Rebuilding project ..."
|
||||
mvn process-classes
|
||||
mvn process-test-classes
|
||||
}
|
||||
|
||||
function start_ {
|
||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||
mvn -Drad process-classes
|
||||
mvn -Drad process-test-classes
|
||||
}
|
||||
|
||||
function start_log {
|
||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||
mvn -Drad "-Ddocker.showLogs" process-classes
|
||||
mvn -Drad "-Ddocker.showLogs" process-test-classes
|
||||
}
|
||||
|
||||
function stop_ {
|
||||
discoverArtifactId
|
||||
echo "Stopping Docker containers that supported rapid application development ..."
|
||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
||||
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||
echo "Stopping containers ..."
|
||||
docker container stop (docker container ls -q --filter name=${ARTIFACT_ID}-*)
|
||||
docker container stop (docker container ls -q --filter name="^/${ARTIFACT_ID}")
|
||||
echo "Removing containers ..."
|
||||
docker container rm (docker container ls -aq --filter name=${ARTIFACT_ID}-*)
|
||||
docker container rm (docker container ls -aq --filter name="^/${ARTIFACT_ID}")
|
||||
}
|
||||
|
||||
function tail_logs {
|
||||
@@ -34,12 +34,12 @@ function tail_logs {
|
||||
)
|
||||
|
||||
discoverArtifactId
|
||||
docker container logs -f (docker container ls -q --filter name=${ARTIFACT_ID}-${container})
|
||||
docker container logs -f (docker container ls -q --filter name="^/${ARTIFACT_ID}-${container}$")
|
||||
}
|
||||
|
||||
function list {
|
||||
discoverArtifactId
|
||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
||||
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||
}
|
||||
|
||||
switch ($args[0]) {
|
||||
|
@@ -1,42 +1,42 @@
|
||||
#!/bin/sh
|
||||
|
||||
discoverArtifactId() {
|
||||
ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
|
||||
local ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
|
||||
}
|
||||
|
||||
rebuild() {
|
||||
echo "Rebuilding project ..."
|
||||
mvn process-classes
|
||||
mvn process-test-classes
|
||||
}
|
||||
|
||||
start() {
|
||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||
mvn -Drad process-classes
|
||||
mvn -Drad process-test-classes
|
||||
}
|
||||
|
||||
start_log() {
|
||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||
mvn -Drad -Ddocker.showLogs process-classes
|
||||
mvn -Drad -Ddocker.showLogs process-test-classes
|
||||
}
|
||||
|
||||
stop() {
|
||||
discoverArtifactId
|
||||
echo "Stopping Docker containers that supported rapid application development ..."
|
||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
||||
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||
echo "Stopping containers ..."
|
||||
docker container stop `docker container ls -q --filter name=${ARTIFACT_ID}-*`
|
||||
docker container stop `docker container ls -q --filter name="^/${ARTIFACT_ID}"`
|
||||
echo "Removing containers ..."
|
||||
docker container rm `docker container ls -aq --filter name=${ARTIFACT_ID}-*`
|
||||
docker container rm `docker container ls -aq --filter name="^/${ARTIFACT_ID}"`
|
||||
}
|
||||
|
||||
tail_logs() {
|
||||
discoverArtifactId
|
||||
docker container logs -f `docker container ls -q --filter name=${ARTIFACT_ID}-$1`
|
||||
docker container logs -f `docker container ls -q --filter name="^/${ARTIFACT_ID}-$1$"`
|
||||
}
|
||||
|
||||
list() {
|
||||
discoverArtifactId
|
||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
||||
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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 java.util.List;
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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.alfresco.repo.security.authentication.AuthenticationUtil;
|
||||
@@ -6,27 +20,47 @@ import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransacti
|
||||
import org.alfresco.service.ServiceRegistry;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.DisposableBean;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.ApplicationEvent;
|
||||
import org.springframework.extensions.surf.util.AbstractLifecycleBean;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* This class is an example of how you can use the Alfresco Java Public API on startup or shutdown.
|
||||
*/
|
||||
@Component
|
||||
public class ExampleBootstrap implements InitializingBean, DisposableBean {
|
||||
public class ExampleBootstrap extends AbstractLifecycleBean {
|
||||
|
||||
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||
|
||||
// this is the Alfresco Public Java API entrypoint
|
||||
@Autowired
|
||||
protected ServiceRegistry serviceRegistry;
|
||||
|
||||
@Override
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
if (this.logger.isTraceEnabled())
|
||||
this.logger.trace("onStartup()");
|
||||
|
||||
@Value("${example.config.value:default}")
|
||||
private String configValue;
|
||||
|
||||
@Value("${example.config.value:#{null}}")
|
||||
private String configValueWithNullDefault;
|
||||
|
||||
/**
|
||||
* This is called after Spring beans and configuration are injected, but
|
||||
* before ACS services are ready. So don't call any ACS services, start an
|
||||
* ACS transaction, or try to create an authentication context.
|
||||
*/
|
||||
@PostConstruct
|
||||
private void init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* This is called after @PostConstruct and all the ACS services are
|
||||
* initialized and ready. You will have no authentication or transaction
|
||||
* context.
|
||||
*/
|
||||
@Override
|
||||
protected void onBootstrap(ApplicationEvent event) {
|
||||
this.logger.trace("onBootstrap()");
|
||||
|
||||
// provide some authority within the Alfresco context
|
||||
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
|
||||
@@ -43,11 +77,15 @@ public class ExampleBootstrap implements InitializingBean, DisposableBean {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public void destroy() throws Exception {
|
||||
if (this.logger.isTraceEnabled())
|
||||
this.logger.trace("onShutdown()");
|
||||
|
||||
/**
|
||||
* This is called after @PostConstruct and all the ACS services are
|
||||
* initialized and ready. You will have no authentication or transaction
|
||||
* context.
|
||||
*/
|
||||
@Override
|
||||
protected void onShutdown(ApplicationEvent event) {
|
||||
this.logger.trace("onShutdown()");
|
||||
|
||||
// provide some authority within the Alfresco context
|
||||
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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.alfresco.repo.node.NodeServicePolicies.OnCreateNodePolicy;
|
||||
@@ -7,15 +21,15 @@ import org.alfresco.service.ServiceRegistry;
|
||||
import org.alfresco.service.cmr.repository.ChildAssociationRef;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.extensions.surf.util.AbstractLifecycleBean;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* This class is an example of how you can use the Alfresco Java Public API when Alfresco triggers an event.
|
||||
*/
|
||||
@Component
|
||||
public class ExampleEventListener implements InitializingBean, OnCreateNodePolicy {
|
||||
public class ExampleEventListener extends AbstractLifecycleBean implements OnCreateNodePolicy {
|
||||
|
||||
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||
|
||||
@@ -23,24 +37,34 @@ public class ExampleEventListener implements InitializingBean, OnCreateNodePolic
|
||||
@Autowired
|
||||
protected ServiceRegistry serviceRegistry;
|
||||
|
||||
@Override
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
@Override
|
||||
protected void onBootstrap(ApplicationEvent event) {
|
||||
this.bind();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This must be called after the `PolicyComponent` is initialized/ready.
|
||||
* So you cannot call it from with `@PostConstruct` or using
|
||||
* `InitializingBean`.
|
||||
*/
|
||||
public void bind() {
|
||||
if (this.logger.isTraceEnabled())
|
||||
this.logger.trace("bind()");
|
||||
this.logger.trace("bind()");
|
||||
|
||||
// example listener
|
||||
this.serviceRegistry.getPolicyComponent().bindClassBehaviour(OnCreateNodePolicy.QNAME, this,
|
||||
new JavaBehaviour(this, OnCreateNodePolicy.QNAME.getLocalName(), NotificationFrequency.TRANSACTION_COMMIT));
|
||||
}
|
||||
|
||||
/**
|
||||
* This will execute with the same authentication and transaction context
|
||||
* as was used to create the node, unless the binding is
|
||||
* `TRANSACTION_COMMIT`. Then it will only have the same transaction
|
||||
* context and the authentication context used when starting the
|
||||
* transaction.
|
||||
*/
|
||||
@Override
|
||||
public void onCreateNode(ChildAssociationRef childAssocRef) {
|
||||
if (this.logger.isTraceEnabled())
|
||||
this.logger.trace("onCreateNode('" + childAssocRef.getChildRef() + "')");
|
||||
this.logger.trace("onCreateNode('" + childAssocRef.getChildRef() + "')");
|
||||
|
||||
// TODO do some work
|
||||
}
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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.alfresco.service.ServiceRegistry;
|
||||
@@ -25,6 +39,11 @@ public class ExampleGetWebScript extends AbstractWebScript {
|
||||
@Autowired
|
||||
protected ServiceRegistry serviceRegistry;
|
||||
|
||||
/**
|
||||
* This will have the authentication context of the authenticated user
|
||||
* calling the REST endpoint. The transaction context is defined in the
|
||||
* web script descriptor.
|
||||
*/
|
||||
@Override
|
||||
public void execute(WebScriptRequest req, WebScriptResponse res) throws IOException {
|
||||
if (this.logger.isTraceEnabled())
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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.alfresco.repo.processor.BaseProcessorExtension;
|
||||
@@ -18,11 +32,17 @@ public class ExampleJavaScriptRootObject extends BaseProcessorExtension {
|
||||
@Autowired
|
||||
protected ServiceRegistry serviceRegistry;
|
||||
|
||||
/**
|
||||
* An example method that called from within a JavaScript within the ACS
|
||||
* application: `example.getMessage("example.property")`. All simple
|
||||
* parameter and return types are generally supported.
|
||||
*
|
||||
* The `example` root name comes from the `module-context.xml` file.
|
||||
*/
|
||||
public String getMessage(String messageKey) {
|
||||
if (this.logger.isTraceEnabled())
|
||||
this.logger.trace("getMessage('" + messageKey + "')");
|
||||
|
||||
// just and example method, called in JS with: example.getMessage("example.property");
|
||||
return this.serviceRegistry.getDictionaryService().getMessage(messageKey);
|
||||
}
|
||||
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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.alfresco.repo.security.authentication.AuthenticationUtil;
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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}.spring;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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}.spring;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
|
@@ -1,9 +1,10 @@
|
||||
<!-- Documentation: https://docs.alfresco.com/content-services/6.2/develop/reference/web-scripts-ref -->
|
||||
<webscript>
|
||||
<webscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="https://git.inteligr8.com/!api/2.0/snippets/inteligr8/AzMgbp/HEAD/files/snippet.txt">
|
||||
<shortname>Example Webscript</shortname>
|
||||
<description>Example Java-backed webscript description</description>
|
||||
<url>/exampleJava?paramName={paramValue}</url>
|
||||
<authentication>user</authentication>
|
||||
<format default="json"></format>
|
||||
<family>${shortname}</family>
|
||||
<url>/exampleJava?paramName={paramValue}</url>
|
||||
<format default="json"></format>
|
||||
<authentication>user</authentication>
|
||||
</webscript>
|
||||
|
@@ -1,9 +1,10 @@
|
||||
<!-- Documentation: https://docs.alfresco.com/content-services/6.2/develop/reference/web-scripts-ref -->
|
||||
<webscript>
|
||||
<webscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="https://git.inteligr8.com/!api/2.0/snippets/inteligr8/AzMgbp/HEAD/files/snippet.txt">
|
||||
<shortname>Example Webscript</shortname>
|
||||
<description>Example JS-backed webscript description</description>
|
||||
<url>/exampleJs?paramName={paramValue}</url>
|
||||
<authentication>guest</authentication>
|
||||
<format default="json"></format>
|
||||
<family>${shortname}</family>
|
||||
<url>/exampleJs?paramName={paramValue}</url>
|
||||
<format default="json"></format>
|
||||
<authentication>guest</authentication>
|
||||
</webscript>
|
||||
|
@@ -0,0 +1,2 @@
|
||||
logger.example.name=${package}
|
||||
logger.example.level=info
|
@@ -0,0 +1,8 @@
|
||||
# Module debugging
|
||||
logger.example.level=trace
|
||||
|
||||
# WebScript debugging
|
||||
logger.springframework-extensions-webscripts-ScriptLogger.level=debug
|
||||
|
||||
# non-WebScript JavaScript execution debugging
|
||||
logger.alfresco-repo-jscript-ScriptLogger.level=debug
|
@@ -35,17 +35,17 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<version>2.40</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<!-- This assures the parent properties override defaults in the tiles -->
|
||||
<applyBefore>${groupId}:${artifactId}-parent</applyBefore>
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-rad-tile
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-self-rad-tile
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-self-rad-tile:${beedkVersion}</tile> -->
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-webapp-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-webapp-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-webapp-tile:${beedkVersion}</tile>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-it-tile
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-self-it-tile
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-self-it-tile:${beedkVersion}</tile> -->
|
||||
</tiles>
|
||||
</configuration>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>${groupId}</groupId>
|
||||
@@ -12,10 +12,10 @@
|
||||
<name>${shortname} ACS All-in-one Parent Project</name>
|
||||
|
||||
<properties>
|
||||
<alfresco.sdk.version>4.2.0</alfresco.sdk.version>
|
||||
<alfresco.sdk.version>4.8.0</alfresco.sdk.version>
|
||||
<edition>community</edition>
|
||||
<alfresco.platform.version>6.2.0-ga</alfresco.platform.version>
|
||||
<alfresco.share.version>6.2.2.2</alfresco.share.version>
|
||||
<alfresco.platform.version>7.4.2</alfresco.platform.version>
|
||||
<alfresco.share.version>22.17</alfresco.share.version>
|
||||
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
@@ -33,20 +33,9 @@
|
||||
</modules>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>inteligr8-releases</id>
|
||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>alfresco-public</id>
|
||||
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>inteligr8-releases</id>
|
||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-private</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
</project>
|
||||
|
@@ -44,18 +44,18 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<version>2.40</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<!-- This assures the parent properties override defaults in the tiles -->
|
||||
<applyBefore>${groupId}:${artifactId}-parent</applyBefore>
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-self-rad-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-self-rad-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-share-self-rad-tile:${beedkVersion}</tile>
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-artifact-rad-tile:${beedkVersion}</tile>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-module-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-module-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-share-module-tile:${beedkVersion}</tile>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-self-it-tile
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-self-it-tile
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-share-self-it-tile:${beedkVersion}</tile>
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-share-artifact-it-tile:${beedkVersion}</tile> -->
|
||||
</tiles>
|
||||
|
@@ -5,27 +5,27 @@ function discoverArtifactId {
|
||||
|
||||
function rebuild {
|
||||
echo "Rebuilding project ..."
|
||||
mvn process-classes
|
||||
mvn process-test-classes
|
||||
}
|
||||
|
||||
function start_ {
|
||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||
mvn -Drad process-classes
|
||||
mvn -Drad process-test-classes
|
||||
}
|
||||
|
||||
function start_log {
|
||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||
mvn -Drad "-Ddocker.showLogs" process-classes
|
||||
mvn -Drad "-Ddocker.showLogs" process-test-classes
|
||||
}
|
||||
|
||||
function stop_ {
|
||||
discoverArtifactId
|
||||
echo "Stopping Docker containers that supported rapid application development ..."
|
||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
||||
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||
echo "Stopping containers ..."
|
||||
docker container stop (docker container ls -q --filter name=${ARTIFACT_ID}-*)
|
||||
docker container stop (docker container ls -q --filter name="^/${ARTIFACT_ID}")
|
||||
echo "Removing containers ..."
|
||||
docker container rm (docker container ls -aq --filter name=${ARTIFACT_ID}-*)
|
||||
docker container rm (docker container ls -aq --filter name="^/${ARTIFACT_ID}")
|
||||
}
|
||||
|
||||
function tail_logs {
|
||||
@@ -34,12 +34,12 @@ function tail_logs {
|
||||
)
|
||||
|
||||
discoverArtifactId
|
||||
docker container logs -f (docker container ls -q --filter name=${ARTIFACT_ID}-${container})
|
||||
docker container logs -f (docker container ls -q --filter name="^/${ARTIFACT_ID}-${container}$")
|
||||
}
|
||||
|
||||
function list {
|
||||
discoverArtifactId
|
||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
||||
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||
}
|
||||
|
||||
switch ($args[0]) {
|
||||
|
@@ -1,42 +1,42 @@
|
||||
#!/bin/sh
|
||||
|
||||
discoverArtifactId() {
|
||||
ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
|
||||
local ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
|
||||
}
|
||||
|
||||
rebuild() {
|
||||
echo "Rebuilding project ..."
|
||||
mvn process-classes
|
||||
mvn process-test-classes
|
||||
}
|
||||
|
||||
start() {
|
||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||
mvn -Drad process-classes
|
||||
mvn -Drad process-test-classes
|
||||
}
|
||||
|
||||
start_log() {
|
||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||
mvn -Drad -Ddocker.showLogs process-classes
|
||||
mvn -Drad -Ddocker.showLogs process-test-classes
|
||||
}
|
||||
|
||||
stop() {
|
||||
discoverArtifactId
|
||||
echo "Stopping Docker containers that supported rapid application development ..."
|
||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
||||
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||
echo "Stopping containers ..."
|
||||
docker container stop `docker container ls -q --filter name=${ARTIFACT_ID}-*`
|
||||
docker container stop `docker container ls -q --filter name="^/${ARTIFACT_ID}"`
|
||||
echo "Removing containers ..."
|
||||
docker container rm `docker container ls -aq --filter name=${ARTIFACT_ID}-*`
|
||||
docker container rm `docker container ls -aq --filter name="^/${ARTIFACT_ID}"`
|
||||
}
|
||||
|
||||
tail_logs() {
|
||||
discoverArtifactId
|
||||
docker container logs -f `docker container ls -q --filter name=${ARTIFACT_ID}-$1`
|
||||
docker container logs -f `docker container ls -q --filter name="^/${ARTIFACT_ID}-$1$"`
|
||||
}
|
||||
|
||||
list() {
|
||||
discoverArtifactId
|
||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
||||
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
|
@@ -0,0 +1,2 @@
|
||||
logger.example.name=${package}
|
||||
logger.example.level=info
|
@@ -0,0 +1,74 @@
|
||||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
# Set root logger level to error
|
||||
rootLogger.level=error
|
||||
rootLogger.appenderRef.stdout.ref=ConsoleAppender
|
||||
rootLogger.appenderRef.rolling.ref=RollingAppender
|
||||
|
||||
# All outputs currently set to be a ConsoleAppender.
|
||||
appender.console.type=Console
|
||||
appender.console.name=ConsoleAppender
|
||||
appender.console.layout.type=PatternLayout
|
||||
appender.console.layout.pattern=%d{ISO8601} %x %-5p [%c{3}] [%t] %replace{%m}{[\r\n]+}{}%n
|
||||
|
||||
###### File appender definition #######
|
||||
appender.rolling.type=RollingFile
|
||||
appender.rolling.name=RollingAppender
|
||||
appender.rolling.fileName=share.log
|
||||
appender.rolling.filePattern=share.log.%d{yyyy-MM-dd}
|
||||
appender.rolling.layout.type=PatternLayout
|
||||
appender.rolling.layout.pattern=%d{yyyy-MM-dd} %d{ABSOLUTE} %-5p [%c] [%t] %replace{%m}{[\r\n]+}{}%n
|
||||
appender.rolling.policies.type = Policies
|
||||
appender.rolling.policies.time.type=TimeBasedTriggeringPolicy
|
||||
appender.rolling.policies.time.interval=1
|
||||
|
||||
# Spring
|
||||
logger.springframework.name=org.springframework
|
||||
logger.springframework.level=warn
|
||||
|
||||
# Turn off Spring remoting warnings that should really be info or debug.
|
||||
logger.springframework-remoting-support.name=org.springframework.remoting.support
|
||||
logger.springframework-remoting-support.level=error
|
||||
logger.springframework-util.name=org.springframework.util
|
||||
logger.springframework-util.level=error
|
||||
|
||||
# MyFaces
|
||||
logger.apache-myfaces-util-DebugUtils.name=org.apache.myfaces.util.DebugUtils
|
||||
logger.apache-myfaces-util-DebugUtils.level=info
|
||||
logger.apache-myfaces-el-VariableResolverImpl.name=org.apache.myfaces.el.VariableResolverImpl
|
||||
logger.apache-myfaces-el-VariableResolverImpl.level=error
|
||||
logger.apache-myfaces-application-jsp-JspViewHandlerImpl.name=org.apache.myfaces.application.jsp.JspViewHandlerImpl
|
||||
logger.apache-myfaces-application-jsp-JspViewHandlerImpl.level=error
|
||||
logger.apache-myfaces-taglib.name=org.apache.myfaces.taglib
|
||||
logger.apache-myfaces-taglib.level=error
|
||||
|
||||
# Alfresco
|
||||
logger.alfresco.name=org.alfresco
|
||||
logger.alfresco.level=error
|
||||
logger.alfresco-config.name=org.alfresco.config
|
||||
logger.alfresco-config.level=warn
|
||||
logger.alfresco-config-JndiObjectFactoryBean.name=org.alfresco.config.JndiObjectFactoryBean
|
||||
logger.alfresco-config-JndiObjectFactoryBean.level=warn
|
||||
logger.alfresco-web.name=org.alfresco.web
|
||||
logger.alfresco-web.level=info
|
||||
|
||||
# Web Framework
|
||||
logger.springframework-extensions-webscripts.name=org.springframework.extensions.webscripts
|
||||
logger.springframework-extensions-webscripts.level=info
|
||||
logger.springframework-extensions-webscripts-ScriptLogger.name=org.springframework.extensions.webscripts.ScriptLogger
|
||||
logger.springframework-extensions-webscripts-ScriptLogger.level=warn
|
||||
logger.springframework-extensions-webscripts-ScriptDebugger.name=org.springframework.extensions.webscripts.ScriptDebugger
|
||||
logger.springframework-extensions-webscripts-ScriptDebugger.level=off
|
||||
|
||||
# Freemarker
|
||||
# Note the freemarker.runtime logger is used to log non-fatal errors that are handled by Alfresco's retrying transaction handler
|
||||
logger.freemarker-runtime.name=freemarker.runtime
|
||||
logger.freemarker-runtime.level=
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
# Custom Share module logging goes here...
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
logger.example.name=${package}
|
||||
logger.example.level=debug
|
@@ -35,17 +35,17 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<version>2.40</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<!-- This assures the parent properties override defaults in the tiles -->
|
||||
<applyBefore>${groupId}:${artifactId}-parent</applyBefore>
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-self-rad-tile
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-self-rad-tile
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-share-self-rad-tile:${beedkVersion}</tile> -->
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-webapp-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-webapp-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-share-webapp-tile:${beedkVersion}</tile>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-self-it-tile
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-self-it-tile
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-share-self-it-tile:${beedkVersion}</tile> -->
|
||||
</tiles>
|
||||
</configuration>
|
||||
|
@@ -53,15 +53,15 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<version>2.40</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<!-- This assures the parent properties override defaults in the tiles -->
|
||||
<applyBefore>${groupId}:${artifactId}-parent</applyBefore>
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-ate-docker-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-ate-docker-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-ate-docker-tile:${beedkVersion}</tile>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-ate-springboot-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-ate-springboot-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-ate-springboot-tile:${beedkVersion}</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
|
@@ -5,12 +5,12 @@ function discoverArtifactId {
|
||||
|
||||
function rebuild {
|
||||
echo "Rebuilding project ..."
|
||||
mvn process-classes
|
||||
mvn process-test-classes
|
||||
}
|
||||
|
||||
function start_ {
|
||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||
mvn -Drad process-classes
|
||||
mvn -Drad process-test-classes
|
||||
}
|
||||
|
||||
function stop_ {
|
||||
|
@@ -6,12 +6,12 @@ discoverArtifactId() {
|
||||
|
||||
rebuild() {
|
||||
echo "Rebuilding project ..."
|
||||
mvn process-classes
|
||||
mvn process-test-classes
|
||||
}
|
||||
|
||||
start() {
|
||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||
mvn -Drad process-classes
|
||||
mvn -Drad process-test-classes
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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 ${groupId};
|
||||
|
||||
import java.io.File;
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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 ${groupId};
|
||||
|
||||
import org.alfresco.transformer.AbstractTransformerController;
|
||||
|
@@ -25,7 +25,7 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
<tiles>
|
||||
...
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-<!-- See below -->-tile:[1.0.0,2.0.0)</tile>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-lts-it-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-lts-it-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-lts-it-tile:[1.0.0,2.0.0)</tile>
|
||||
...
|
||||
</tiles>
|
||||
@@ -41,10 +41,10 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
|
||||
This tile is meant to be used in conjunction with the `beedk-acs-platform-it-tile` tile which is automatically included in each of the following BeeDK Public API Maven Tiles.
|
||||
|
||||
* [`beedk-acs-platform-module-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-module-tile)
|
||||
* [`beedk-acs-share-module-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-module-tile)
|
||||
* [`beedk-acs-platform-webapp-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-webapp-tile)
|
||||
* [`beedk-acs-share-webapp-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-webapp-tile)
|
||||
* [`beedk-acs-platform-module-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-module-tile)
|
||||
* [`beedk-acs-share-module-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-module-tile)
|
||||
* [`beedk-acs-platform-webapp-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-webapp-tile)
|
||||
* [`beedk-acs-share-webapp-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-webapp-tile)
|
||||
|
||||
> This Maven Tile should always be declared **AFTER** the Maven Tile used from the list above.
|
||||
|
||||
@@ -52,19 +52,12 @@ This tile is meant to be used in conjunction with the `beedk-acs-platform-it-til
|
||||
|
||||
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 |
|
||||
| -------------------------------- |:--------:| --------------- | ----------- |
|
||||
| `alfresco.transform-aio.version` | | *not important* | The version of the [Alfresco Transform Core Engine Docker Image](https://hub.docker.com/r/alfresco/alfresco-transform-core-aio/tags). |
|
||||
|
||||
### Other APIs
|
||||
|
||||
Additional less important configurations are inherited from the following Maven Tiles.
|
||||
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-run-tile)
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-run-tile)
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-ate-test-tile)
|
||||
|
||||
## Results
|
||||
|
||||
|
@@ -1,18 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-lts-it-tile</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Local Transform Service</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -20,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -33,16 +49,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
@@ -1,7 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
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>
|
||||
<plugins>
|
||||
@@ -9,7 +24,6 @@
|
||||
<plugin>
|
||||
<groupId>io.fabric8</groupId>
|
||||
<artifactId>docker-maven-plugin</artifactId>
|
||||
<version>${beedk.plugins.fabric8.docker.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>start-alts</id>
|
||||
@@ -18,7 +32,7 @@
|
||||
<configuration>
|
||||
<images>
|
||||
<image>
|
||||
<name>alfresco/alfresco-transform-core-aio:${alfresco.transform-aio.version}</name>
|
||||
<name>alfresco/alfresco-transform-core-aio:${ate-aio.version}</name>
|
||||
<alias>ate-aio</alias>
|
||||
<run>
|
||||
<skip>${skipTests}</skip>
|
||||
@@ -26,6 +40,9 @@
|
||||
<mode>custom</mode>
|
||||
<name>${project.artifactId}</name>
|
||||
</network>
|
||||
<extraHosts>
|
||||
<host>host.docker.internal:host-gateway</host>
|
||||
</extraHosts>
|
||||
</run>
|
||||
</image>
|
||||
</images>
|
||||
@@ -38,7 +55,7 @@
|
||||
<configuration>
|
||||
<images>
|
||||
<image>
|
||||
<name>alfresco/alfresco-transform-core-aio:${alfresco.transform-aio.version}</name>
|
||||
<name>alfresco/alfresco-transform-core-aio:${ate-aio.version}</name>
|
||||
<alias>ate-aio</alias>
|
||||
</image>
|
||||
</images>
|
||||
@@ -58,9 +75,6 @@
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<!-- versions -->
|
||||
<alfresco.transform-aio.version>2.3.6</alfresco.transform-aio.version>
|
||||
|
||||
<!-- configuring beedk-acs-platform-it-tile -->
|
||||
<beedk.deploy.alts.enabled>true</beedk.deploy.alts.enabled>
|
||||
</properties>
|
||||
@@ -68,8 +82,10 @@
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-run-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-run-tile -->
|
||||
<tile>@project.groupId@:beedk-run-tile:@project.version@</tile>
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-ate-test-tile -->
|
||||
<tile>@project.groupId@:beedk-ate-test-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
</project>
|
||||
|
@@ -25,7 +25,7 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
<tiles>
|
||||
...
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-<!-- See Below -->-rad-tile:[1.0.0,2.0.0)</tile>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-lts-rad-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-lts-rad-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-lts-rad-tile:[1.0.0,2.0.0)</tile>
|
||||
...
|
||||
</tiles>
|
||||
@@ -41,8 +41,8 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
|
||||
This tile is meant to be used in conjunction with the `beedk-acs-platform-rad-tile` tile which is automatically included in each of the following BeeDK Public API Maven Tiles.
|
||||
|
||||
* [`beedk-acs-platform-self-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-rad-tile)
|
||||
* [`beedk-acs-platform-artifact-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-artifact-rad-tile)
|
||||
* [`beedk-acs-platform-self-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-self-rad-tile)
|
||||
* [`beedk-acs-platform-artifact-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-artifact-rad-tile)
|
||||
|
||||
> This Maven Tile should always be declared **AFTER** the Maven Tile used from the list above.
|
||||
|
||||
@@ -56,16 +56,16 @@ In your Maven project, set the following properties to define the behavior of th
|
||||
|
||||
The following properties are intended to be exposed by inheriting Public API Maven Tiles.
|
||||
|
||||
| Maven Property | Required | Default | Description |
|
||||
| ------------------------------------- |:--------:| --------------- | ----------- |
|
||||
| `alfresco.transform-aio.port` | | 8091 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
||||
| `alfresco.transform-aio.version` | | *not important* | The version of the [Alfresco Transform Core Engine Docker Image](https://hub.docker.com/r/alfresco/alfresco-transform-core-aio/tags). |
|
||||
| Maven Property | Required | Default | Description |
|
||||
| ---------------------- |:--------:| --------------- | ----------- |
|
||||
| `ate-aio.port` | | 8091 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
||||
|
||||
### Other APIs
|
||||
|
||||
Additional less important configurations are inherited from the following Maven Tiles.
|
||||
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-run-tile)
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-run-tile)
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-ate-test-tile)
|
||||
|
||||
## Results
|
||||
|
||||
|
@@ -1,18 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-lts-rad-tile</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for ACS Local Transform Service</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -20,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -33,16 +49,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
@@ -1,7 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
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">
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
@@ -17,25 +32,27 @@
|
||||
<plugin>
|
||||
<groupId>io.fabric8</groupId>
|
||||
<artifactId>docker-maven-plugin</artifactId>
|
||||
<version>${beedk.plugins.fabric8.docker.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>run-alts</id>
|
||||
<phase>process-classes</phase>
|
||||
<phase>process-test-classes</phase>
|
||||
<goals><goal>start</goal></goals>
|
||||
<configuration>
|
||||
<images>
|
||||
<image>
|
||||
<name>alfresco/alfresco-transform-core-aio:${alfresco.transform-aio.version}</name>
|
||||
<name>alfresco/alfresco-transform-core-aio:${ate-aio.version}</name>
|
||||
<alias>ate-aio</alias>
|
||||
<run>
|
||||
<ports>
|
||||
<port>${alfresco.transform-aio.port}:8090</port>
|
||||
<port>${ate-aio.port}:8090</port>
|
||||
</ports>
|
||||
<network>
|
||||
<mode>custom</mode>
|
||||
<name>${project.artifactId}</name>
|
||||
</network>
|
||||
<extraHosts>
|
||||
<host>host.docker.internal:host-gateway</host>
|
||||
</extraHosts>
|
||||
</run>
|
||||
</image>
|
||||
</images>
|
||||
@@ -55,10 +72,7 @@
|
||||
</activation>
|
||||
<properties>
|
||||
<!-- configurable -->
|
||||
<alfresco.transform-aio.port>8091</alfresco.transform-aio.port>
|
||||
|
||||
<!-- versions -->
|
||||
<alfresco.transform-aio.version>2.3.6</alfresco.transform-aio.version>
|
||||
<ate-aio.port>8091</ate-aio.port>
|
||||
|
||||
<!-- configuring beedk-acs-platform-rad-tile -->
|
||||
<beedk.rad.alts.enabled>true</beedk.rad.alts.enabled>
|
||||
@@ -67,8 +81,10 @@
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-run-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-run-tile -->
|
||||
<tile>@project.groupId@:beedk-run-tile:@project.version@</tile>
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-ate-test-tile -->
|
||||
<tile>@project.groupId@:beedk-ate-test-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
</project>
|
||||
|
@@ -24,7 +24,7 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
<configuration>
|
||||
<tiles>
|
||||
...
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-module-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-module-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-module-tile:[1.0.0,2.0.0)</tile>
|
||||
...
|
||||
</tiles>
|
||||
@@ -50,6 +50,8 @@ The following properties are intended to be exposed by inheriting Public API Mav
|
||||
| ---------------------------------- |:--------:| ------------------ | ----------- |
|
||||
| `project.build.packageDirectory` | | `target/package` | A variable specifying the folder name of consolidated resources for packaging. |
|
||||
| `alfresco.module.pathname` | | `${project.groupId}.${project.artifactId}` | A variable specifying the folder name of module resources. Use this property to help reference module resources. It should rarely ever be overridden. |
|
||||
| `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. |
|
||||
|
||||
## Results
|
||||
|
||||
|
@@ -1,18 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-module-tile</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: ACS Module Core</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -20,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -33,16 +49,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
@@ -1,7 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
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>
|
||||
<resources>
|
||||
@@ -18,7 +33,52 @@
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<version>${build-helper.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>module-snapshot-timestamp</id>
|
||||
<phase>initialize</phase>
|
||||
<goals><goal>timestamp-property</goal></goals>
|
||||
<configuration>
|
||||
<name>module.timestamp</name>
|
||||
<timeSource>build</timeSource>
|
||||
<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>${build-helper.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-acs-module-resources</id>
|
||||
@@ -78,7 +138,6 @@
|
||||
<!-- This plugin prevents binary file formats from being corrupted due to filtering -->
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<configuration>
|
||||
<encoding>UTF-8</encoding>
|
||||
<nonFilteredFileExtensions>
|
||||
@@ -139,7 +198,7 @@
|
||||
<!-- This plugin execution consolidates the compiled resources into one directory for packaging -->
|
||||
<execution>
|
||||
<id>consolidate-classes</id>
|
||||
<phase>process-classes</phase>
|
||||
<phase>process-test-classes</phase>
|
||||
<goals><goal>copy-resources</goal></goals>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.packageDirectory}</outputDirectory>
|
||||
@@ -194,7 +253,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.version}</version>
|
||||
<configuration>
|
||||
<classesDirectory>${project.build.packageDirectory}</classesDirectory>
|
||||
</configuration>
|
||||
@@ -202,8 +261,8 @@
|
||||
<!-- This plugin builds an AMP file during the package phase -->
|
||||
<plugin>
|
||||
<groupId>com.inteligr8.alfresco</groupId>
|
||||
<artifactId>amp-plugin</artifactId>
|
||||
<version>1.0.4</version>
|
||||
<artifactId>amp-maven-plugin</artifactId>
|
||||
<version>1.1.4</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>build-amp-file</id>
|
||||
@@ -212,7 +271,42 @@
|
||||
<goal>amp</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<skip>${beedk.jar.notest.empty}</skip>
|
||||
<classifier>${alfresco.module.classifier}</classifier>
|
||||
<skip>${alfresco.module.noAmp}</skip>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- This plugin checks for an AMP file produced during the package phase -->
|
||||
<plugin>
|
||||
<groupId>com.inteligr8</groupId>
|
||||
<artifactId>conditional-maven-plugin</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>check-amp-file</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>file-existence</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<file>${project.build.directory}/${project.artifactId}-${project.version}.amp</file>
|
||||
<trueValue>false</trueValue>
|
||||
<falseValue>true</falseValue>
|
||||
<newProperty>beedk.noAmp</newProperty>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>check-amp-classifier-file</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>file-existence</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<file>${project.build.directory}/${project.artifactId}-${project.version}-${alfresco.module.classifier}.amp</file>
|
||||
<trueValue>false</trueValue>
|
||||
<falseValue>true</falseValue>
|
||||
<newProperty>beedk.noAmpClassifier</newProperty>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
@@ -221,11 +315,11 @@
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<version>${build-helper.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-amp</id>
|
||||
<phase>package</phase>
|
||||
<phase>post-integration-test</phase>
|
||||
<goals>
|
||||
<goal>attach-artifact</goal>
|
||||
</goals>
|
||||
@@ -236,7 +330,24 @@
|
||||
<file>${project.build.directory}/${project.artifactId}-${project.version}.amp</file>
|
||||
</artifact>
|
||||
</artifacts>
|
||||
<skipAttach>${beedk.jar.notest.empty}</skipAttach>
|
||||
<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>
|
||||
@@ -287,15 +398,21 @@
|
||||
<!-- configurable -->
|
||||
<project.build.packageDirectory>${project.build.directory}/package</project.build.packageDirectory>
|
||||
<alfresco.module.pathname>${project.groupId}.${project.artifactId}</alfresco.module.pathname>
|
||||
<alfresco.module.classifier></alfresco.module.classifier>
|
||||
<alfresco.module.noAmp>${beedk.jar.notest.empty}</alfresco.module.noAmp>
|
||||
|
||||
<!-- output -->
|
||||
<alfresco.module.path>alfresco/module/${alfresco.module.pathname}</alfresco.module.path>
|
||||
|
||||
<!-- versions -->
|
||||
<build-helper.version>3.6.1</build-helper.version>
|
||||
<maven-jar.version>3.4.2</maven-jar.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-amp-check-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-amp-check-tile -->
|
||||
<tile>@project.groupId@:beedk-amp-check-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
|
@@ -24,7 +24,7 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
<configuration>
|
||||
<tiles>
|
||||
...
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-artifact-it-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-artifact-it-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-artifact-it-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
@@ -64,10 +64,10 @@ The following properties are intended to be exposed by inheriting Public API Mav
|
||||
| `alfresco.platform.war.artifactId` | | *See Below* | The Maven `artifactId` of a Maven `war` Type Project defined in a Maven Repository. |
|
||||
| `alfresco.platform.war.version` | Maybe | *See Below* | The Maven `version` of a Maven `war` Type Project defined in a Maven Repository. |
|
||||
| `project.build.extDirectory` | | `${project.build.directory}/ext/platform` | An additional directory of JARs to add to the ACS Platform at runtime. |
|
||||
| `acs-platform.port` | | 8080 | 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.<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-postgres.port` | | 5432 | 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.<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-activemq.port` | | 8161 | 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.<br/> *Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.*<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-platform.port` | | 8080 | 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.<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-postgres.port` | | 5432 | 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.<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-activemq.port` | | 8161 | 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.<br/> *Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.*<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile)* |
|
||||
|
||||
* 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.
|
||||
@@ -76,7 +76,7 @@ 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-platform-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile)
|
||||
* [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile)
|
||||
|
||||
## Results
|
||||
|
||||
|
@@ -1,18 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-artifact-it-tile</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform by Maven Artifact</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -20,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -33,16 +49,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
@@ -1,21 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
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>
|
||||
<plugins>
|
||||
<!-- This plugin downloads the Platform WAR and JDBC JAR dependency -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.1.2</version>
|
||||
<version>${maven-dependency.version}</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the Platform WAR -->
|
||||
<execution>
|
||||
<id>download-platform-webapp</id>
|
||||
<phase>pre-integration-test</phase>
|
||||
<phase>package</phase>
|
||||
<goals><goal>copy</goal></goals>
|
||||
<configuration>
|
||||
<skip>${skipTests}</skip>
|
||||
<artifactItems>
|
||||
<artifactItem>
|
||||
<groupId>${alfresco.platform.war.groupId}</groupId>
|
||||
@@ -30,9 +46,10 @@
|
||||
<!-- This execution downloads the postgreSQL JDBC JAR -->
|
||||
<execution>
|
||||
<id>download-platform-jdbc</id>
|
||||
<phase>pre-integration-test</phase>
|
||||
<phase>package</phase>
|
||||
<goals><goal>copy</goal></goals>
|
||||
<configuration>
|
||||
<skip>${skipTests}</skip>
|
||||
<artifactItems>
|
||||
<artifactItem>
|
||||
<groupId>org.postgresql</groupId>
|
||||
@@ -93,6 +110,7 @@
|
||||
|
||||
<!-- versions -->
|
||||
<postgres.jdbc.version>42.2.18</postgres.jdbc.version>
|
||||
<maven-dependency.version>3.8.1</maven-dependency.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>
|
||||
@@ -102,7 +120,7 @@
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile -->
|
||||
<tile>@project.groupId@:beedk-acs-platform-it-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
|
@@ -24,7 +24,7 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
<configuration>
|
||||
<tiles>
|
||||
...
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-artifact-rad-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-artifact-rad-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-artifact-rad-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
@@ -66,11 +66,11 @@ The following properties are intended to be exposed by inheriting Public API Mav
|
||||
| `alfresco.platform.war.artifactId` | | *See Below* | The Maven `artifactId` of a Maven `war` Type Project defined in a Maven Repository. |
|
||||
| `alfresco.platform.war.version` | Maybe | *See Below* | The Maven `version` of a Maven `war` Type Project defined in a Maven Repository. |
|
||||
| `project.build.extDirectory` | | `${project.build.directory}/ext/platform` | An additional directory of JARs to add to the ACS Platform at runtime. |
|
||||
| `acs-platform.port` | | 8080 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-platform.debugger.port` | | 8000 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-postgres.port` | | 5432 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-activemq.port` | | 8161 | The port to expose on `localhost` for the developer; not for other applications or users.<br/> *Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.*<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-platform.port` | | 8080 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-platform.debugger.port` | | 8000 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-postgres.port` | | 5432 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-activemq.port` | | 8161 | The port to expose on `localhost` for the developer; not for other applications or users.<br/> *Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.*<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)* |
|
||||
|
||||
* 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.
|
||||
@@ -80,7 +80,7 @@ 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-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)
|
||||
* [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)
|
||||
|
||||
## Results
|
||||
|
||||
|
@@ -1,18 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-artifact-rad-tile</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for ACS Platform by Maven Artifact</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -20,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -33,16 +49,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
@@ -1,7 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
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">
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
@@ -16,7 +31,7 @@
|
||||
<!-- This plugin downloads the Platform WAR and JDBC JAR dependency -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.1.2</version>
|
||||
<version>${maven-dependency.version}</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the Platform WAR -->
|
||||
<execution>
|
||||
@@ -100,6 +115,7 @@
|
||||
|
||||
<!-- versions -->
|
||||
<postgres.jdbc.version>42.2.18</postgres.jdbc.version>
|
||||
<maven-dependency.version>3.8.1</maven-dependency.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>
|
||||
@@ -109,7 +125,7 @@
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile -->
|
||||
<tile>@project.groupId@:beedk-acs-platform-rad-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
|
@@ -24,7 +24,7 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
<configuration>
|
||||
<tiles>
|
||||
...
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-it-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
@@ -48,10 +48,13 @@ The following properties are intended to be exposed by inheriting Public API Mav
|
||||
| Maven Property | Required | Default | Description |
|
||||
| -------------------------- |:--------:| --------------- | ----------- |
|
||||
| `acs-platform.port` | | 8080 | 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-platform-ha.port` | | 8081 | 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-postgres.port` | | 5432 | 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-activemq.port` | | 8161 | 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-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.* |
|
||||
| `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. |
|
||||
| `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. |
|
||||
|
||||
@@ -65,16 +68,17 @@ The following properties are only intended to be defined by BeeDK components.
|
||||
| `beedk.deploy.platform.testClassesDirectory` | | | An additional test classpath directory to sideload into the web application. |
|
||||
| `beedk.deploy.platform.extDirectory` | | | An additional directory of JARs to sideload into the web application. |
|
||||
| `beedk.deploy.platform.dataDirectory` | | `${project.build.directory}/alf_data` | The temporary binary storage location for ACS. |
|
||||
| `beedk.deploy.acs-search.enabled` | | false | **Do not** set explicitly; just include the [`beedk-acs-search-it-tile`](/inteligr8/ootbee-beedk/src/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/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/stable/beedk-ats-it-tile) tile **AFTER** this tile. |
|
||||
| `beedk.deploy.acs-ha.enabled` | | false | Start an additional instance of the ACS platform for cluster-related testing. |
|
||||
| `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). |
|
||||
|
||||
### Other APIs
|
||||
|
||||
Additional less important configurations are inherited from the following Maven Tiles.
|
||||
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-run-tile)
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-run-tile)
|
||||
|
||||
## Results
|
||||
|
||||
|
@@ -1,18 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-it-tile</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform Core</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -20,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -33,16 +49,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
@@ -1,7 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
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>
|
||||
<plugins>
|
||||
@@ -16,6 +31,7 @@
|
||||
<phase>pre-integration-test</phase>
|
||||
<goals><goal>start</goal></goals>
|
||||
<configuration>
|
||||
<startParallel>true</startParallel>
|
||||
<images>
|
||||
<image>
|
||||
<name>postgres:${acs-postgres.version}</name>
|
||||
@@ -37,10 +53,17 @@
|
||||
</run>
|
||||
</image>
|
||||
<image>
|
||||
<name>alfresco/alfresco-activemq:${acs-activemq.version}</name>
|
||||
<name>apache/activemq-classic:${acs-activemq.version}</name>
|
||||
<alias>acs-mq</alias>
|
||||
<run>
|
||||
<skip>${skipTests}</skip>
|
||||
<env>
|
||||
<ACTIVEMQ_WEBCONSOLE_USE_DEFAULT_ADDRESS>false</ACTIVEMQ_WEBCONSOLE_USE_DEFAULT_ADDRESS>
|
||||
<ACTIVEMQ_USERNAME>alfresco</ACTIVEMQ_USERNAME>
|
||||
<ACTIVEMQ_PASSWORD>alfresco</ACTIVEMQ_PASSWORD>
|
||||
<ACTIVEMQ_WEBADMIN_USERNAME>admin</ACTIVEMQ_WEBADMIN_USERNAME>
|
||||
<ACTIVEMQ_WEBADMIN_PASSWORD>admin</ACTIVEMQ_WEBADMIN_PASSWORD>
|
||||
</env>
|
||||
<ports>
|
||||
<port>${acs-activemq.port}:8161</port>
|
||||
</ports>
|
||||
@@ -57,29 +80,62 @@
|
||||
<skip>${skipTests}</skip>
|
||||
<env>
|
||||
<JAVA_MEMORY_MAX>${acs-platform.memory}</JAVA_MEMORY_MAX>
|
||||
<CATALINA_OPTS>-Ddir.root=/tmp/alf_data -Ddb.driver=org.postgresql.Driver -Ddb.url=jdbc:postgresql://${project.artifactId}-acs-db:5432/alfresco \
|
||||
<ENABLE_JDWP>false</ENABLE_JDWP>
|
||||
<ENABLE_HOTSWAP>false</ENABLE_HOTSWAP>
|
||||
<CATALINA_OPTS>--add-opens=java.base/java.net=ALL-UNNAMED \
|
||||
-Dencryption.keystore.location=/tmp/metadata.keystore \
|
||||
-Dmetadata-keystore.password=alfresco \
|
||||
-Dmetadata-keystore.aliases=metadata \
|
||||
-Dmetadata-keystore.metadata.password=alfresco \
|
||||
-Dmetadata-keystore.metadata.algorithm=AES \
|
||||
-Ddir.root=/tmp/alf_data \
|
||||
-Ddb.driver=org.postgresql.Driver \
|
||||
-Ddb.url=jdbc:postgresql://${project.artifactId}-acs-db:5432/alfresco \
|
||||
-Dmessaging.broker.url=failover:\(tcp://${project.artifactId}-acs-mq:61616\)?timeout\=3000\&jms.useCompression\=true \
|
||||
-Dtransform.service.enabled=${beedk.deploy.ats.enabled} -Dtransform.service.url=http://${project.artifactId}-ats-atr:8095 -Dsfs.url=http://${project.artifactId}-ats-sfs:8099 \
|
||||
-Dmessaging.broker.username=alfresco \
|
||||
-Dmessaging.broker.password=alfresco \
|
||||
-Dtransform.service.enabled=${beedk.deploy.ats.enabled} \
|
||||
-Dtransform.service.url=http://${project.artifactId}-ats-atr:8095 \
|
||||
-Dsfs.url=http://${project.artifactId}-ats-sfs:8099 \
|
||||
-Dlocal.transform.service.enabled=${beedk.deploy.alts.enabled} \
|
||||
-DlocalTransform.core-aio.url=http://${project.artifactId}-ate-aio:8090 -DlocalTransform.ate.url=http://${project.artifactId}-ate:8090 \
|
||||
-Djodconverter.enabled=false -Dsystem.workflow.engine.activiti.enabled=true \
|
||||
-Dalfresco-pdf-renderer.url=http://${project.artifactId}-ate-aio:8090 -Djodconverter.url=http://${project.artifactId}-ate-aio:8090 -Dimg.url=http://${project.artifactId}-ate-aio:8090 -Dtika.url=http://${project.artifactId}-ate-aio:8090 -Dtransform.misc.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Dindex.subsystem.name=${beedk.deploy.platform.index} -Dsolr.host=${project.artifactId}-acs-search -Dsolr.secureComms=none \
|
||||
-DlocalTransform.core-aio.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-DlocalTransform.ate.url=http://${project.artifactId}-ate:8090 \
|
||||
-Djodconverter.enabled=false \
|
||||
-Dsystem.workflow.engine.activiti.enabled=false \
|
||||
-Dalfresco-pdf-renderer.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Djodconverter.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Dimg.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Dtika.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Dtransform.misc.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Dindex.subsystem.name=${beedk.deploy.platform.index} \
|
||||
-Dsolr.host=${project.artifactId}-acs-search \
|
||||
-Dsolr.secureComms=secret \
|
||||
-Dsolr.sharedSecret=alfresco-secret \
|
||||
${acs-platform.tomcat.opts}</CATALINA_OPTS>
|
||||
</env>
|
||||
<ports>
|
||||
<port>${acs-platform.port}:8080</port>
|
||||
</ports>
|
||||
<links>
|
||||
<link>acs-db</link>
|
||||
<link>acs-mq</link>
|
||||
</links>
|
||||
<network>
|
||||
<mode>custom</mode>
|
||||
<name>${project.artifactId}</name>
|
||||
</network>
|
||||
<extraHosts>
|
||||
<host>host.docker.internal:host-gateway</host>
|
||||
</extraHosts>
|
||||
<volumes>
|
||||
<bind>
|
||||
<volume>${acs.license.directory}:/usr/local/tomcat/shared/classes/alfresco/extension/license:ro</volume>
|
||||
<volume>${beedk.deploy.platform.warFile}:/var/lib/tomcat/webapps/alfresco.war:ro</volume>
|
||||
<volume>${beedk.deploy.platform.testClassesDirectory}:/var/lib/tomcat/dev/classes: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>
|
||||
<volume>${beedk.deploy.platform.extDirectory}:/var/lib/tomcat/dev/lib:ro</volume>
|
||||
<volume>${beedk.deploy.platform.dataDirectory}:/tmp/alf_data:rw</volume>
|
||||
<volume>${basedir}/metadata.keystore:/tmp/metadata.keystore:ro</volume>
|
||||
</bind>
|
||||
</volumes>
|
||||
<wait>
|
||||
@@ -92,6 +148,80 @@
|
||||
</wait>
|
||||
</run>
|
||||
</image>
|
||||
<image>
|
||||
<name>docker.inteligr8.com/inteligr8/tomcat-rad:${tomcat-rad.version}</name>
|
||||
<alias>acs-platform-ha</alias>
|
||||
<run>
|
||||
<skip>${beedk.deploy.acs-ha.skip}</skip>
|
||||
<env>
|
||||
<JAVA_MEMORY_MAX>${acs-platform.memory}</JAVA_MEMORY_MAX>
|
||||
<ENABLE_JDWP>false</ENABLE_JDWP>
|
||||
<ENABLE_HOTSWAP>false</ENABLE_HOTSWAP>
|
||||
<CATALINA_OPTS>--add-opens=java.base/java.net=ALL-UNNAMED \
|
||||
-Dencryption.keystore.location=/tmp/metadata.keystore \
|
||||
-Dmetadata-keystore.password=alfresco \
|
||||
-Dmetadata-keystore.aliases=metadata \
|
||||
-Dmetadata-keystore.metadata.password=alfresco \
|
||||
-Dmetadata-keystore.metadata.algorithm=AES \
|
||||
-Ddir.root=/tmp/alf_data \
|
||||
-Ddb.driver=org.postgresql.Driver \
|
||||
-Ddb.url=jdbc:postgresql://${project.artifactId}-acs-db:5432/alfresco \
|
||||
-Dmessaging.broker.url=failover:\(tcp://${project.artifactId}-acs-mq:61616\)?timeout\=3000\&jms.useCompression\=true \
|
||||
-Dmessaging.broker.username=alfresco \
|
||||
-Dmessaging.broker.password=alfresco \
|
||||
-Dtransform.service.enabled=${beedk.deploy.ats.enabled} \
|
||||
-Dtransform.service.url=http://${project.artifactId}-ats-atr:8095 \
|
||||
-Dsfs.url=http://${project.artifactId}-ats-sfs:8099 \
|
||||
-Dlocal.transform.service.enabled=${beedk.deploy.alts.enabled} \
|
||||
-DlocalTransform.core-aio.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-DlocalTransform.ate.url=http://${project.artifactId}-ate:8090 \
|
||||
-Djodconverter.enabled=false \
|
||||
-Dsystem.workflow.engine.activiti.enabled=false \
|
||||
-Dalfresco-pdf-renderer.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Djodconverter.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Dimg.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Dtika.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Dtransform.misc.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Dindex.subsystem.name=${beedk.deploy.platform.index} \
|
||||
-Dsolr.host=${project.artifactId}-acs-search \
|
||||
-Dsolr.secureComms=secret \
|
||||
-Dsolr.sharedSecret=alfresco-secret \
|
||||
${acs-platform-ha.tomcat.opts}</CATALINA_OPTS>
|
||||
</env>
|
||||
<ports>
|
||||
<port>${acs-platform-ha.port}:8080</port>
|
||||
</ports>
|
||||
<links>
|
||||
<link>acs-db</link>
|
||||
<link>acs-mq</link>
|
||||
</links>
|
||||
<network>
|
||||
<mode>custom</mode>
|
||||
<name>${project.artifactId}</name>
|
||||
</network>
|
||||
<extraHosts>
|
||||
<host>host.docker.internal:host-gateway</host>
|
||||
</extraHosts>
|
||||
<volumes>
|
||||
<bind>
|
||||
<volume>${acs.license.directory}:/usr/local/tomcat/shared/classes/alfresco/extension/license: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>
|
||||
<volume>${beedk.deploy.platform.dataDirectory}:/tmp/alf_data:rw</volume>
|
||||
<volume>${basedir}/metadata.keystore:/tmp/metadata.keystore:ro</volume>
|
||||
</bind>
|
||||
</volumes>
|
||||
<wait>
|
||||
<http>
|
||||
<url>http://localhost:${acs-platform-ha.port}/alfresco/service/api/server</url>
|
||||
<method>GET</method>
|
||||
<status>200..399</status>
|
||||
</http>
|
||||
<time>${acs-platform.timeout}</time>
|
||||
</wait>
|
||||
</run>
|
||||
</image>
|
||||
</images>
|
||||
</configuration>
|
||||
</execution>
|
||||
@@ -106,13 +236,17 @@
|
||||
<alias>acs-db</alias>
|
||||
</image>
|
||||
<image>
|
||||
<name>alfresco/alfresco-activemq:${acs-activemq.version}</name>
|
||||
<name>apache/activemq-classic:${acs-activemq.version}</name>
|
||||
<alias>acs-mq</alias>
|
||||
</image>
|
||||
<image>
|
||||
<name>docker.inteligr8.com/inteligr8/tomcat-rad:${tomcat-rad.version}</name>
|
||||
<alias>acs-platform</alias>
|
||||
</image>
|
||||
<image>
|
||||
<name>docker.inteligr8.com/inteligr8/tomcat-rad:${tomcat-rad.version}</name>
|
||||
<alias>acs-platform-ha</alias>
|
||||
</image>
|
||||
</images>
|
||||
</configuration>
|
||||
</execution>
|
||||
@@ -122,6 +256,28 @@
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>acs-ha-disabled</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>!beedk.deploy.acs-ha.enabled</name>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<beedk.deploy.acs-ha.skip>true</beedk.deploy.acs-ha.skip>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>acs-ha-enabled</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>beedk.deploy.acs-ha.enabled</name>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<beedk.deploy.acs-ha.skip>${skipTests}</beedk.deploy.acs-ha.skip>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>acs-search-disabled</id>
|
||||
<activation>
|
||||
@@ -189,27 +345,31 @@
|
||||
</activation>
|
||||
<properties>
|
||||
<!-- configurable -->
|
||||
<beedk.deploy.platform.classesDirectory>${project.build.directory}/doesnotexist</beedk.deploy.platform.classesDirectory>
|
||||
<beedk.deploy.platform.testClassesDirectory>${project.build.directory}/doesnotexist</beedk.deploy.platform.testClassesDirectory>
|
||||
<beedk.deploy.platform.extDirectory>${project.build.directory}/doesnotexist</beedk.deploy.platform.extDirectory>
|
||||
<beedk.deploy.platform.dataDirectory>${project.build.directory}/alf_data</beedk.deploy.platform.dataDirectory>
|
||||
<acs-platform.timeout>120000</acs-platform.timeout>
|
||||
<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>
|
||||
|
||||
<!-- ports -->
|
||||
<acs-postgres.port>5432</acs-postgres.port>
|
||||
<acs-activemq.port>8161</acs-activemq.port>
|
||||
<acs-platform.port>8080</acs-platform.port>
|
||||
<acs-platform-ha.port>8081</acs-platform-ha.port>
|
||||
|
||||
<!-- versions -->
|
||||
<acs-postgres.version>9.6</acs-postgres.version>
|
||||
<acs-activemq.version>5.15.8</acs-activemq.version>
|
||||
<tomcat-rad.version>9-1.3</tomcat-rad.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>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-run-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-run-tile -->
|
||||
<tile>@project.groupId@:beedk-run-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
|
@@ -1,17 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
|
||||
<artifactId>beedk-acs-platform-module-archetype</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>maven-archetype</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: Project Scaffolding for an ACS Platform Module</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -19,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -32,21 +49,8 @@
|
||||
<extension>
|
||||
<groupId>org.apache.maven.archetype</groupId>
|
||||
<artifactId>archetype-packaging</artifactId>
|
||||
<version>3.1.1</version>
|
||||
<version>${archetype-packaging.version}</version>
|
||||
</extension>
|
||||
</extensions>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
Binary file not shown.
@@ -15,8 +15,8 @@
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
|
||||
<alfresco.sdk.version>4.2.0</alfresco.sdk.version>
|
||||
<alfresco.platform.version>6.2.0-ga</alfresco.platform.version>
|
||||
<alfresco.sdk.version>4.8.0</alfresco.sdk.version>
|
||||
<alfresco.platform.version>7.4.2</alfresco.platform.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
@@ -46,15 +46,15 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<version>2.40</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-rad-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-self-rad-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-self-rad-tile:${beedkVersion}</tile>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-module-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-module-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-module-tile:${beedkVersion}</tile>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-it-tile
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-self-it-tile
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-self-it-tile:${beedkVersion}</tile> -->
|
||||
</tiles>
|
||||
</configuration>
|
||||
@@ -63,20 +63,9 @@
|
||||
</build>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>inteligr8-releases</id>
|
||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>alfresco-public</id>
|
||||
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>inteligr8-releases</id>
|
||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
</project>
|
@@ -5,27 +5,27 @@ function discoverArtifactId {
|
||||
|
||||
function rebuild {
|
||||
echo "Rebuilding project ..."
|
||||
mvn process-classes
|
||||
mvn process-test-classes
|
||||
}
|
||||
|
||||
function start_ {
|
||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||
mvn -Drad process-classes
|
||||
mvn -Drad process-test-classes
|
||||
}
|
||||
|
||||
function start_log {
|
||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||
mvn -Drad "-Ddocker.showLogs" process-classes
|
||||
mvn -Drad "-Ddocker.showLogs" process-test-classes
|
||||
}
|
||||
|
||||
function stop_ {
|
||||
discoverArtifactId
|
||||
echo "Stopping Docker containers that supported rapid application development ..."
|
||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
||||
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||
echo "Stopping containers ..."
|
||||
docker container stop (docker container ls -q --filter name=${ARTIFACT_ID}-*)
|
||||
docker container stop (docker container ls -q --filter name="^/${ARTIFACT_ID}")
|
||||
echo "Removing containers ..."
|
||||
docker container rm (docker container ls -aq --filter name=${ARTIFACT_ID}-*)
|
||||
docker container rm (docker container ls -aq --filter name="^/${ARTIFACT_ID}")
|
||||
}
|
||||
|
||||
function tail_logs {
|
||||
@@ -34,12 +34,12 @@ function tail_logs {
|
||||
)
|
||||
|
||||
discoverArtifactId
|
||||
docker container logs -f (docker container ls -q --filter name=${ARTIFACT_ID}-${container})
|
||||
docker container logs -f (docker container ls -q --filter name="^/${ARTIFACT_ID}-${container}$")
|
||||
}
|
||||
|
||||
function list {
|
||||
discoverArtifactId
|
||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
||||
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||
}
|
||||
|
||||
switch ($args[0]) {
|
||||
|
@@ -1,42 +1,42 @@
|
||||
#!/bin/sh
|
||||
|
||||
discoverArtifactId() {
|
||||
ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate`
|
||||
local ARTIFACT_ID=`mvn -q -Dexpression=project.artifactId -DforceStdout help:evaluate | sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g'`
|
||||
}
|
||||
|
||||
rebuild() {
|
||||
echo "Rebuilding project ..."
|
||||
mvn process-classes
|
||||
mvn process-test-classes
|
||||
}
|
||||
|
||||
start() {
|
||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||
mvn -Drad process-classes
|
||||
mvn -Drad process-test-classes
|
||||
}
|
||||
|
||||
start_log() {
|
||||
echo "Rebuilding project and starting Docker containers to support rapid application development ..."
|
||||
mvn -Drad -Ddocker.showLogs process-classes
|
||||
mvn -Drad -Ddocker.showLogs process-test-classes
|
||||
}
|
||||
|
||||
stop() {
|
||||
discoverArtifactId
|
||||
echo "Stopping Docker containers that supported rapid application development ..."
|
||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
||||
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||
echo "Stopping containers ..."
|
||||
docker container stop `docker container ls -q --filter name=${ARTIFACT_ID}-*`
|
||||
docker container stop `docker container ls -q --filter name="^/${ARTIFACT_ID}"`
|
||||
echo "Removing containers ..."
|
||||
docker container rm `docker container ls -aq --filter name=${ARTIFACT_ID}-*`
|
||||
docker container rm `docker container ls -aq --filter name="^/${ARTIFACT_ID}"`
|
||||
}
|
||||
|
||||
tail_logs() {
|
||||
discoverArtifactId
|
||||
docker container logs -f `docker container ls -q --filter name=${ARTIFACT_ID}-$1`
|
||||
docker container logs -f `docker container ls -q --filter name="^/${ARTIFACT_ID}-$1$"`
|
||||
}
|
||||
|
||||
list() {
|
||||
discoverArtifactId
|
||||
docker container ls --filter name=${ARTIFACT_ID}-*
|
||||
docker container ls --filter name="^/${ARTIFACT_ID}"
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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 java.util.List;
|
||||
@@ -16,6 +30,8 @@ import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* This class is an example of how you can use the Alfresco Java Public API in Alfresco Actions.
|
||||
*
|
||||
* The bean must be declared in the XML and not through annotations.
|
||||
*/
|
||||
public class ExampleActionExecuter extends ActionExecuterAbstractBase {
|
||||
|
||||
@@ -31,9 +47,8 @@ public class ExampleActionExecuter extends ActionExecuterAbstractBase {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void executeImpl(Action action, NodeRef actionedUponNoderef) {
|
||||
if (this.logger.isTraceEnabled())
|
||||
this.logger.trace("executeImpl('" + actionedUponNoderef + "')");
|
||||
protected void executeImpl(Action action, NodeRef actionedUponNodeRef) {
|
||||
this.logger.trace("executeImpl({})", actionedUponNodeRef);
|
||||
|
||||
String value = (String)action.getParameterValue("example.param");
|
||||
// TODO do some work
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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.alfresco.repo.security.authentication.AuthenticationUtil;
|
||||
@@ -6,27 +20,47 @@ import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransacti
|
||||
import org.alfresco.service.ServiceRegistry;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.DisposableBean;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.ApplicationEvent;
|
||||
import org.springframework.extensions.surf.util.AbstractLifecycleBean;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* This class is an example of how you can use the Alfresco Java Public API on startup or shutdown.
|
||||
*/
|
||||
@Component
|
||||
public class ExampleBootstrap implements InitializingBean, DisposableBean {
|
||||
public class ExampleBootstrap extends AbstractLifecycleBean {
|
||||
|
||||
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||
|
||||
// this is the Alfresco Public Java API entrypoint
|
||||
@Autowired
|
||||
protected ServiceRegistry serviceRegistry;
|
||||
|
||||
@Override
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
if (this.logger.isTraceEnabled())
|
||||
this.logger.trace("onStartup()");
|
||||
|
||||
@Value("${example.config.value:default}")
|
||||
private String configValue;
|
||||
|
||||
@Value("${example.config.value:#{null}}")
|
||||
private String configValueWithNullDefault;
|
||||
|
||||
/**
|
||||
* This is called after Spring beans and configuration are injected, but
|
||||
* before ACS services are ready. So don't call any ACS services, start an
|
||||
* ACS transaction, or try to create an authentication context.
|
||||
*/
|
||||
@PostConstruct
|
||||
private void init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* This is called after @PostConstruct and all the ACS services are
|
||||
* initialized and ready. You will have no authentication or transaction
|
||||
* context.
|
||||
*/
|
||||
@Override
|
||||
protected void onBootstrap(ApplicationEvent event) {
|
||||
this.logger.trace("onBootstrap()");
|
||||
|
||||
// provide some authority within the Alfresco context
|
||||
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
|
||||
@@ -43,11 +77,15 @@ public class ExampleBootstrap implements InitializingBean, DisposableBean {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public void destroy() throws Exception {
|
||||
if (this.logger.isTraceEnabled())
|
||||
this.logger.trace("onShutdown()");
|
||||
|
||||
/**
|
||||
* This is called after @PostConstruct and all the ACS services are
|
||||
* initialized and ready. You will have no authentication or transaction
|
||||
* context.
|
||||
*/
|
||||
@Override
|
||||
protected void onShutdown(ApplicationEvent event) {
|
||||
this.logger.trace("onShutdown()");
|
||||
|
||||
// provide some authority within the Alfresco context
|
||||
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
|
||||
|
@@ -1,21 +1,44 @@
|
||||
/*
|
||||
* 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 java.io.Serializable;
|
||||
import java.util.Map;
|
||||
|
||||
import org.alfresco.repo.node.NodeServicePolicies.OnCreateNodePolicy;
|
||||
import org.alfresco.repo.node.NodeServicePolicies.OnUpdatePropertiesPolicy;
|
||||
import org.alfresco.repo.policy.annotation.Behaviour;
|
||||
import org.alfresco.repo.policy.annotation.BehaviourBean;
|
||||
import org.alfresco.repo.policy.annotation.BehaviourKind;
|
||||
import org.alfresco.repo.policy.Behaviour.NotificationFrequency;
|
||||
import org.alfresco.repo.policy.JavaBehaviour;
|
||||
import org.alfresco.service.ServiceRegistry;
|
||||
import org.alfresco.service.cmr.repository.ChildAssociationRef;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.extensions.surf.util.AbstractLifecycleBean;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* This class is an example of how you can use the Alfresco Java Public API when Alfresco triggers an event.
|
||||
*/
|
||||
@Component
|
||||
public class ExampleEventListener implements InitializingBean, OnCreateNodePolicy {
|
||||
@BehaviourBean
|
||||
public class ExampleEventListener extends AbstractLifecycleBean implements OnCreateNodePolicy, OnUpdatePropertiesPolicy {
|
||||
|
||||
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||
|
||||
@@ -23,26 +46,44 @@ public class ExampleEventListener implements InitializingBean, OnCreateNodePolic
|
||||
@Autowired
|
||||
protected ServiceRegistry serviceRegistry;
|
||||
|
||||
@Override
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
@Override
|
||||
protected void onBootstrap(ApplicationEvent event) {
|
||||
this.bind();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This must be called after the `PolicyComponent` is initialized/ready.
|
||||
* So you cannot call it from with `@PostConstruct` or using
|
||||
* `InitializingBean`.
|
||||
*/
|
||||
public void bind() {
|
||||
if (this.logger.isTraceEnabled())
|
||||
this.logger.trace("bind()");
|
||||
this.logger.trace("bind()");
|
||||
|
||||
// example listener
|
||||
this.serviceRegistry.getPolicyComponent().bindClassBehaviour(OnCreateNodePolicy.QNAME, this,
|
||||
new JavaBehaviour(this, OnCreateNodePolicy.QNAME.getLocalName(), NotificationFrequency.TRANSACTION_COMMIT));
|
||||
}
|
||||
|
||||
/**
|
||||
* This will execute with the same authentication and transaction context
|
||||
* as was used to create the node, unless the binding is
|
||||
* `TRANSACTION_COMMIT`. Then it will only have the same transaction
|
||||
* context and the authentication context used when starting the
|
||||
* transaction.
|
||||
*/
|
||||
@Override
|
||||
public void onCreateNode(ChildAssociationRef childAssocRef) {
|
||||
if (this.logger.isTraceEnabled())
|
||||
this.logger.trace("onCreateNode('" + childAssocRef.getChildRef() + "')");
|
||||
this.logger.trace("onCreateNode({})", childAssocRef.getChildRef());
|
||||
|
||||
// TODO do some work
|
||||
}
|
||||
|
||||
@Behaviour(kind = BehaviorKind.CLASS, NotificationFrequency = NotificationFrequency.FIRST_EVENT)
|
||||
public void onUpdateProperties(NodeRef nodeRef, Map<QName, Serializable> before, Map<QName, Serializable> after) {
|
||||
this.logger.trace("onUpdateProperties({})", nodeRef);
|
||||
|
||||
// TODO do some work
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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.alfresco.service.ServiceRegistry;
|
||||
@@ -25,10 +39,14 @@ public class ExampleGetWebScript extends AbstractWebScript {
|
||||
@Autowired
|
||||
protected ServiceRegistry serviceRegistry;
|
||||
|
||||
/**
|
||||
* This will have the authentication context of the authenticated user
|
||||
* calling the REST endpoint. The transaction context is defined in the
|
||||
* web script descriptor.
|
||||
*/
|
||||
@Override
|
||||
public void execute(WebScriptRequest req, WebScriptResponse res) throws IOException {
|
||||
if (this.logger.isTraceEnabled())
|
||||
this.logger.trace("execute()");
|
||||
this.logger.trace("execute()");
|
||||
|
||||
// TODO do some work
|
||||
}
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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.alfresco.repo.processor.BaseProcessorExtension;
|
||||
@@ -9,6 +23,8 @@ import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* This class is an example of how you can use the Alfresco Java Public API to extend the JavaScript engine.
|
||||
*
|
||||
* The bean must be declared in the XML and not through annotations.
|
||||
*/
|
||||
public class ExampleJavaScriptRootObject extends BaseProcessorExtension {
|
||||
|
||||
@@ -18,11 +34,16 @@ public class ExampleJavaScriptRootObject extends BaseProcessorExtension {
|
||||
@Autowired
|
||||
protected ServiceRegistry serviceRegistry;
|
||||
|
||||
/**
|
||||
* An example method that called from within a JavaScript within the ACS
|
||||
* application: `example.getMessage("example.property")`. All simple
|
||||
* parameter and return types are generally supported.
|
||||
*
|
||||
* The `example` root name comes from the `module-context.xml` file.
|
||||
*/
|
||||
public String getMessage(String messageKey) {
|
||||
if (this.logger.isTraceEnabled())
|
||||
this.logger.trace("getMessage('" + messageKey + "')");
|
||||
this.logger.trace("getMessage({})", messageKey);
|
||||
|
||||
// just and example method, called in JS with: example.getMessage("example.property");
|
||||
return this.serviceRegistry.getDictionaryService().getMessage(messageKey);
|
||||
}
|
||||
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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.alfresco.repo.security.authentication.AuthenticationUtil;
|
||||
@@ -47,8 +61,7 @@ public class ExampleJob implements Job {
|
||||
|
||||
@Override
|
||||
public void execute(JobExecutionContext context) throws JobExecutionException {
|
||||
if (this.logger.isTraceEnabled())
|
||||
this.logger.trace("execute('" + context.getFireInstanceId() + "')");
|
||||
this.logger.trace("execute({})", context.getFireInstanceId());
|
||||
|
||||
// provide some authority within the Alfresco context
|
||||
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
|
||||
@@ -67,8 +80,7 @@ public class ExampleJob implements Job {
|
||||
}
|
||||
|
||||
public void fire(JobExecutionContext context) throws JobExecutionException {
|
||||
if (this.logger.isTraceEnabled())
|
||||
this.logger.trace("fire('" + context.getFireInstanceId() + "')");
|
||||
this.logger.trace("fire({})", context.getFireInstanceId());
|
||||
|
||||
// TODO do some work
|
||||
}
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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}.spring;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
|
@@ -1,3 +1,17 @@
|
||||
/*
|
||||
* 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}.spring;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
|
@@ -1,9 +1,10 @@
|
||||
<!-- Documentation: https://docs.alfresco.com/content-services/6.2/develop/reference/web-scripts-ref -->
|
||||
<webscript>
|
||||
<webscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="https://git.inteligr8.com/!api/2.0/snippets/inteligr8/AzMgbp/HEAD/files/snippet.txt">
|
||||
<shortname>Example Webscript</shortname>
|
||||
<description>Example Java-backed webscript description</description>
|
||||
<url>/exampleJava?paramName={paramValue}</url>
|
||||
<authentication>user</authentication>
|
||||
<format default="json"></format>
|
||||
<family>${shortname}</family>
|
||||
<url>/exampleJava?paramName={paramValue}</url>
|
||||
<format default="json"></format>
|
||||
<authentication>user</authentication>
|
||||
</webscript>
|
||||
|
@@ -1,9 +1,10 @@
|
||||
<!-- Documentation: https://docs.alfresco.com/content-services/6.2/develop/reference/web-scripts-ref -->
|
||||
<webscript>
|
||||
<webscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="https://git.inteligr8.com/!api/2.0/snippets/inteligr8/AzMgbp/HEAD/files/snippet.txt">
|
||||
<shortname>Example Webscript</shortname>
|
||||
<description>Example JS-backed webscript description</description>
|
||||
<url>/exampleJs?paramName={paramValue}</url>
|
||||
<authentication>guest</authentication>
|
||||
<format default="json"></format>
|
||||
<family>${shortname}</family>
|
||||
<url>/exampleJs?paramName={paramValue}</url>
|
||||
<format default="json"></format>
|
||||
<authentication>guest</authentication>
|
||||
</webscript>
|
||||
|
@@ -0,0 +1,2 @@
|
||||
logger.example.name=${package}
|
||||
logger.example.level=info
|
@@ -0,0 +1,8 @@
|
||||
# Module debugging
|
||||
logger.example.level=trace
|
||||
|
||||
# WebScript debugging
|
||||
logger.springframework-extensions-webscripts-ScriptLogger.level=debug
|
||||
|
||||
# non-WebScript JavaScript execution debugging
|
||||
logger.alfresco-repo-jscript-ScriptLogger.level=debug
|
@@ -24,7 +24,7 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
<configuration>
|
||||
<tiles>
|
||||
...
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-module-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-module-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-module-tile:[1.0.0,2.0.0)</tile>
|
||||
...
|
||||
</tiles>
|
||||
@@ -55,7 +55,7 @@ The following properties are intended to be exposed by inheriting Public API Mav
|
||||
|
||||
Additional less important configurations are inherited from the following Maven Tile.
|
||||
|
||||
* [`beedk-acs-module-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-module-tile)
|
||||
* [`beedk-acs-module-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-module-tile)
|
||||
|
||||
## Results
|
||||
|
||||
|
@@ -1,18 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-module-tile</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: ACS Platform Module</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -20,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -33,16 +49,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
@@ -1,14 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
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>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<version>${build-helper.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-acs-platform-module-resources</id>
|
||||
@@ -31,7 +46,6 @@
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<executions>
|
||||
<!-- This plugin execution consolidates the compiled/generated/filtered resources into one directory for packaging -->
|
||||
<execution>
|
||||
@@ -65,12 +79,15 @@
|
||||
<!-- output -->
|
||||
<alfresco.ext.path>alfresco/extension</alfresco.ext.path>
|
||||
<alfresco.ext.package>alfresco.extension</alfresco.ext.package>
|
||||
|
||||
<!-- versions -->
|
||||
<build-helper.version>3.6.1</build-helper.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-module-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-module-tile -->
|
||||
<tile>@project.groupId@:beedk-acs-module-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
|
@@ -24,7 +24,7 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
<configuration>
|
||||
<tiles>
|
||||
...
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-rad-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
@@ -49,12 +49,17 @@ The following properties are intended to be exposed by inheriting Public API Mav
|
||||
|
||||
| Maven Property | Required | Default | Description |
|
||||
| -------------------------- |:--------:| --------------- | ----------- |
|
||||
| `acs-platform.hotswap.enabled` | | true | Enable the HotSwap Agent for live classpath reloading. |
|
||||
| `acs-platform.hotswap.disablePlugins` | | Hibernate | Do not enable the HotSwap Agent with the following plugins. All plugins are documented here: https://github.com/HotswapProjects/HotswapAgent/tree/master/plugin |
|
||||
| `acs-platform.debugger.enabled` | | true | Enable the JDWP debugger. |
|
||||
| `acs-platform.port` | | 8080 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
||||
| `acs-postgres.port` | | 5432 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
||||
| `acs-activemq.port` | | 8161 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
||||
| `acs-platform.debugger.port` | | 8000 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
||||
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.* |
|
||||
| `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). |
|
||||
| `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. |
|
||||
@@ -77,16 +82,16 @@ The following properties are only intended to be defined by BeeDK components.
|
||||
| `beedk.deploy.platform.warDirectory` | | `${project.build.warDirectory}` | A build directory for WAR files. |
|
||||
| `beedk.deploy.platform.dataDirectory` | | `${project.build.directory}/alf_data` | The temporary binary storage location for ACS. |
|
||||
| `beedk.deploy.api-explorer.warFile` | | *Not important* | The API Explorer WAR file to deploy in the Apache Tomcat instance. |
|
||||
| `beedk.rad.acs-search.enabled` | | false | **Do not** set explicitly; just include the [`beedk-acs-search-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-search-rad-tile) tile **AFTER** this tile. |
|
||||
| `beedk.rad.alts.enabled` | | false | **Do not** set explicitly; just include the [`beedk-acs-lts-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-lts-rad-tile) tile **AFTER** this tile. |
|
||||
| `beedk.rad.ats.enabled` | | false | **Do not** set explicitly; just include the [`beedk-ats-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-ats-rad-tile) tile **AFTER** this tile. |
|
||||
| `acs-api-explorer.version` | | `6.2.0` | The API Explorer version. You could use `${alfresco.platform.version}` in ACS Enterprise. This will eventually parse the ACS Platform version for the right value. |
|
||||
| `beedk.rad.acs-search.enabled` | | false | **Do not** set explicitly; just include the [`beedk-acs-search-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-search-rad-tile) tile **AFTER** this tile. |
|
||||
| `beedk.rad.alts.enabled` | | false | **Do not** set explicitly; just include the [`beedk-acs-lts-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-lts-rad-tile) tile **AFTER** this tile. |
|
||||
| `beedk.rad.ats.enabled` | | false | **Do not** set explicitly; just include the [`beedk-ats-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-ats-rad-tile) tile **AFTER** this tile. |
|
||||
| `acs-api-explorer.version` | | `7.4.2` | The API Explorer version. You could use `${alfresco.platform.version}` in ACS Enterprise. This will eventually parse the ACS Platform version for the right value. |
|
||||
|
||||
### Other APIs
|
||||
|
||||
Additional less important configurations are inherited from the following Maven Tiles.
|
||||
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-run-tile)
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-run-tile)
|
||||
|
||||
## Results
|
||||
|
||||
|
@@ -1,18 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-rad-tile</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for ACS Platform Core</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -20,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -33,16 +49,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
@@ -1,7 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
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">
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
@@ -16,7 +31,7 @@
|
||||
<!-- This plugin downloads ancillary WARs -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.1.2</version>
|
||||
<version>${maven-dependency.version}</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the API Explorer WAR -->
|
||||
<execution>
|
||||
@@ -58,11 +73,10 @@
|
||||
<plugin>
|
||||
<groupId>io.fabric8</groupId>
|
||||
<artifactId>docker-maven-plugin</artifactId>
|
||||
<version>${beedk.plugins.fabric8.docker.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>run-acs-platform</id>
|
||||
<phase>process-classes</phase>
|
||||
<phase>process-test-classes</phase>
|
||||
<goals><goal>start</goal></goals>
|
||||
<configuration>
|
||||
<images>
|
||||
@@ -85,9 +99,16 @@
|
||||
</run>
|
||||
</image>
|
||||
<image>
|
||||
<name>alfresco/alfresco-activemq:${acs-activemq.version}</name>
|
||||
<name>apache/activemq-classic:${acs-activemq.version}</name>
|
||||
<alias>acs-mq</alias>
|
||||
<run>
|
||||
<env>
|
||||
<ACTIVEMQ_WEBCONSOLE_USE_DEFAULT_ADDRESS>false</ACTIVEMQ_WEBCONSOLE_USE_DEFAULT_ADDRESS>
|
||||
<ACTIVEMQ_USERNAME>alfresco</ACTIVEMQ_USERNAME>
|
||||
<ACTIVEMQ_PASSWORD>alfresco</ACTIVEMQ_PASSWORD>
|
||||
<ACTIVEMQ_WEBADMIN_USERNAME>admin</ACTIVEMQ_WEBADMIN_USERNAME>
|
||||
<ACTIVEMQ_WEBADMIN_PASSWORD>admin</ACTIVEMQ_WEBADMIN_PASSWORD>
|
||||
</env>
|
||||
<ports>
|
||||
<port>${acs-activemq.port}:8161</port>
|
||||
</ports>
|
||||
@@ -103,26 +124,58 @@
|
||||
<run>
|
||||
<env>
|
||||
<JAVA_MEMORY_MAX>${acs-platform.memory}</JAVA_MEMORY_MAX>
|
||||
<CATALINA_OPTS>-Ddir.root=/tmp/alf_data -Ddb.driver=org.postgresql.Driver -Ddb.url=jdbc:postgresql://${project.artifactId}-acs-db:5432/alfresco \
|
||||
<ENABLE_JDWP>${acs-platform.debugger.enabled}</ENABLE_JDWP>
|
||||
<ENABLE_HOTSWAP>${acs-platform.hotswap.enabled}</ENABLE_HOTSWAP>
|
||||
<DISABLE_HOTSWAP_PLUGINS>${acs-platform.hotswap.disablePlugins}</DISABLE_HOTSWAP_PLUGINS>
|
||||
<CATALINA_OPTS>--add-opens=java.base/java.net=ALL-UNNAMED \
|
||||
-Dencryption.keystore.location=/tmp/metadata.keystore \
|
||||
-Dmetadata-keystore.password=alfresco \
|
||||
-Dmetadata-keystore.aliases=metadata \
|
||||
-Dmetadata-keystore.metadata.password=alfresco \
|
||||
-Dmetadata-keystore.metadata.algorithm=AES \
|
||||
-Ddir.root=/tmp/alf_data \
|
||||
-Ddb.driver=org.postgresql.Driver \
|
||||
-Ddb.url=jdbc:postgresql://${project.artifactId}-acs-db:5432/alfresco \
|
||||
-Dmessaging.broker.url=failover:\(tcp://${project.artifactId}-acs-mq:61616\)?timeout\=3000\&jms.useCompression\=true \
|
||||
-Dtransform.service.enabled=${beedk.rad.ats.enabled} -Dtransform.service.url=http://${project.artifactId}-ats-atr:8095 -Dsfs.url=http://${project.artifactId}-ats-sfs:8099 \
|
||||
-Dmessaging.broker.username=alfresco \
|
||||
-Dmessaging.broker.password=alfresco \
|
||||
-Dtransform.service.enabled=${beedk.rad.ats.enabled} \
|
||||
-Dtransform.service.url=http://${project.artifactId}-ats-atr:8095 \
|
||||
-Dsfs.url=http://${project.artifactId}-ats-sfs:8099 \
|
||||
-Dlocal.transform.service.enabled=${beedk.rad.alts.enabled} \
|
||||
-DlocalTransform.core-aio.url=http://${project.artifactId}-ate-aio:8090 -DlocalTransform.ate.url=http://${project.artifactId}-ate:8090 \
|
||||
-Djodconverter.enabled=false -Dsystem.workflow.engine.activiti.enabled=true \
|
||||
-Dalfresco-pdf-renderer.url=http://${project.artifactId}-ate-aio:8090 -Djodconverter.url=http://${project.artifactId}-ate-aio:8090 -Dimg.url=http://${project.artifactId}-ate-aio:8090 -Dtika.url=http://${project.artifactId}-ate-aio:8090 -Dtransform.misc.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Dindex.subsystem.name=${beedk.rad.platform.index} -Dsolr.host=${project.artifactId}-acs-search -Dsolr.secureComms=none \
|
||||
-DlocalTransform.core-aio.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-DlocalTransform.ate.url=http://${project.artifactId}-ate:8090 \
|
||||
-Djodconverter.enabled=false \
|
||||
-Dsystem.workflow.engine.activiti.enabled=false \
|
||||
-Dalfresco-pdf-renderer.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Djodconverter.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Dimg.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Dtika.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Dtransform.misc.url=http://${project.artifactId}-ate-aio:8090 \
|
||||
-Dindex.subsystem.name=${beedk.rad.platform.index} \
|
||||
-Dsolr.host=${project.artifactId}-acs-search \
|
||||
-Dsolr.secureComms=secret \
|
||||
-Dsolr.sharedSecret=alfresco-secret \
|
||||
-Dcsrf.filter.enabled=false \
|
||||
${acs-platform.tomcat.opts}</CATALINA_OPTS>
|
||||
</env>
|
||||
<ports>
|
||||
<port>${acs-platform.port}:8080</port>
|
||||
<port>${acs-platform.debugger.port}:8000</port>
|
||||
</ports>
|
||||
<dependsOn>
|
||||
<container>acs-db</container>
|
||||
</dependsOn>
|
||||
<network>
|
||||
<mode>custom</mode>
|
||||
<name>${project.artifactId}</name>
|
||||
</network>
|
||||
<extraHosts>
|
||||
<host>host.docker.internal:host-gateway</host>
|
||||
</extraHosts>
|
||||
<volumes>
|
||||
<bind>
|
||||
<volume>${acs.license.directory}:/usr/local/tomcat/shared/classes/alfresco/extension/license: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>
|
||||
@@ -133,6 +186,7 @@
|
||||
<volume>${beedk.deploy.platform.extDirectory}:/var/lib/tomcat/dev/lib:ro</volume>
|
||||
<volume>${beedk.deploy.platform.webDirectory}:/var/lib/tomcat/dev/web:ro</volume>
|
||||
<volume>${beedk.deploy.platform.dataDirectory}:/tmp/alf_data:rw</volume>
|
||||
<volume>${basedir}/metadata.keystore:/tmp/metadata.keystore:ro</volume>
|
||||
</bind>
|
||||
</volumes>
|
||||
<wait>
|
||||
@@ -230,11 +284,16 @@
|
||||
<beedk.deploy.platform.warDirectory>${project.build.warDirectory}</beedk.deploy.platform.warDirectory>
|
||||
<acs-platform.timeout>150000</acs-platform.timeout>
|
||||
<acs-platform.memory>1g</acs-platform.memory>
|
||||
<acs-platform.debugger.enabled>true</acs-platform.debugger.enabled>
|
||||
<acs-platform.hotswap.enabled>true</acs-platform.hotswap.enabled>
|
||||
<acs-platform.hotswap.disablePlugins>Hibernate</acs-platform.hotswap.disablePlugins>
|
||||
<acs-api-explorer.war.groupId>org.alfresco</acs-api-explorer.war.groupId>
|
||||
<acs-api-explorer.war.artifactId>api-explorer</acs-api-explorer.war.artifactId>
|
||||
<acs-api-explorer.war.version>${acs-api-explorer.version}</acs-api-explorer.war.version>
|
||||
<beedk.deploy.api-explorer.warFile>${beedk.deploy.platform.warDirectory}/${acs-api-explorer.war.artifactId}-${acs-api-explorer.war.version}.war</beedk.deploy.api-explorer.warFile>
|
||||
<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>
|
||||
|
||||
<!-- ports -->
|
||||
<acs-postgres.port>5432</acs-postgres.port>
|
||||
@@ -243,17 +302,18 @@
|
||||
<acs-platform.debugger.port>8000</acs-platform.debugger.port>
|
||||
|
||||
<!-- versions -->
|
||||
<acs-api-explorer.version>6.2.0</acs-api-explorer.version> <!-- TODO use and parse alfresco.platform.version -->
|
||||
<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>9.6</acs-postgres.version>
|
||||
<acs-activemq.version>5.15.8</acs-activemq.version>
|
||||
<tomcat-rad.version>9-1.3</tomcat-rad.version>
|
||||
<acs-postgres.version>12</acs-postgres.version>
|
||||
<acs-activemq.version>5.18.4</acs-activemq.version>
|
||||
<tomcat-rad.version>9-2.1</tomcat-rad.version>
|
||||
<maven-dependency.version>3.8.1</maven-dependency.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-run-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-run-tile -->
|
||||
<tile>@project.groupId@:beedk-run-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
|
@@ -24,7 +24,7 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
<configuration>
|
||||
<tiles>
|
||||
...
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-it-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-self-it-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-self-it-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
@@ -58,15 +58,15 @@ The following properties are intended to be exposed by inheriting Public API Mav
|
||||
|
||||
| Maven Property | Required | Default | Description |
|
||||
| ---------------------------------- |:--------:| ------------------ | ----------- |
|
||||
| `alfresco.sdk.version` | **YES** | | For a list of versions and more details, see the [Alfresco SDK](https://github.com/Alfresco/alfresco-sdk).<br/>*Inherited from [`beedk-acs-webapp-artifact-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-artifact-it-tile)* |
|
||||
| `alfresco.sdk.version` | **YES** | | For a list of versions and more details, see the [Alfresco SDK](https://github.com/Alfresco/alfresco-sdk).<br/>*Inherited from [`beedk-acs-webapp-artifact-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-it-tile)* |
|
||||
| `alfresco.platform.version` | *Maybe* | | The Alfresco Platform version to use for integration testing. See below for more details. |
|
||||
| `edition` | | `community` | The Alfresco Platform edition to use for integration testing. `community` or `enterprise`. See below for more details. |
|
||||
| `alfresco.war.version` | *Maybe* | *See Below* | The Maven `version` of a Maven `war` Type Project defined in a Maven Repository.<br/>*Inherited from [`beedk-acs-webapp-artifact-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-artifact-tile)* |
|
||||
| `alfresco.war.version` | *Maybe* | *See Below* | The Maven `version` of a Maven `war` Type Project defined in a Maven Repository.<br/>*Inherited from [`beedk-acs-webapp-artifact-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-tile)* |
|
||||
| `project.build.extDirectory` | | `${project.build.directory}/ext/platform` | An additional directory of JARs to add to the ACS Platform at runtime. |
|
||||
| `acs-platform.port` | | 8080 | 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.<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-postgres.port` | | 5432 | 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.<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-activemq.port` | | 8161 | 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.<br/> *Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.*<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-platform.port` | | 8080 | 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.<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-postgres.port` | | 5432 | 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.<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-activemq.port` | | 8161 | 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.<br/> *Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.*<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile)* |
|
||||
|
||||
* The `edition` is used to default the `alfresco.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.
|
||||
@@ -75,8 +75,8 @@ 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-platform-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile)
|
||||
* [`beedk-acs-webapp-artifact-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-artifact-it-tile)
|
||||
* [`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)
|
||||
|
||||
## Results
|
||||
|
||||
|
@@ -1,18 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-self-it-tile</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -20,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -33,16 +49,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
@@ -1,14 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
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>
|
||||
<plugins>
|
||||
<!-- This plugin downloads the Platform JAR-based extension modules and runtime/test dependencies -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.1.2</version>
|
||||
<version>${maven-dependency.version}</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the dependency JARs, including JAR modules -->
|
||||
<execution>
|
||||
@@ -84,22 +99,25 @@
|
||||
|
||||
<!-- versions -->
|
||||
<postgres.jdbc.version>42.2.18</postgres.jdbc.version>
|
||||
<alfresco.platform.war.version>${alfresco.platform.version}</alfresco.platform.war.version>
|
||||
<maven-dependency.version>3.8.1</maven-dependency.version>
|
||||
|
||||
<!-- configuring beedk-acs-platform-it-tile -->
|
||||
<beedk.deploy.platform.warFile>${project.build.warFile}</beedk.deploy.platform.warFile>
|
||||
<beedk.deploy.platform.classesDirectory>${project.build.outputDirectory}</beedk.deploy.platform.classesDirectory>
|
||||
<beedk.deploy.platform.testClassesDirectory>${project.build.testOutputDirectory}</beedk.deploy.platform.testClassesDirectory>
|
||||
<beedk.deploy.platform.extDirectory>${project.build.extDirectory}</beedk.deploy.platform.extDirectory>
|
||||
|
||||
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
||||
<alfresco.war.version>${alfresco.platform.version}</alfresco.war.version>
|
||||
<alfresco.war.version>${alfresco.platform.war.version}</alfresco.war.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile -->
|
||||
<tile>@project.groupId@:beedk-acs-platform-it-tile:@project.version@</tile>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-artifact-it-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-it-tile -->
|
||||
<tile>@project.groupId@:beedk-acs-webapp-artifact-it-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
|
@@ -24,7 +24,7 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
<configuration>
|
||||
<tiles>
|
||||
...
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-rad-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-self-rad-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-self-rad-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
@@ -60,16 +60,15 @@ The following properties are intended to be exposed by inheriting Public API Mav
|
||||
|
||||
| Maven Property | Required | Default | Description |
|
||||
| ---------------------------------- |:--------:| ------------------ | ----------- |
|
||||
| `alfresco.sdk.version` | **YES** | | For a list of versions and more details, see the [Alfresco SDK](https://github.com/Alfresco/alfresco-sdk).<br/>*Inherited from [`beedk-acs-webapp-artifact-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-aritfact-rad-tile)* |
|
||||
| `alfresco.sdk.version` | **YES** | | For a list of versions and more details, see the [Alfresco SDK](https://github.com/Alfresco/alfresco-sdk).<br/>*Inherited from [`beedk-acs-webapp-artifact-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-rad-tile)* |
|
||||
| `alfresco.platform.version` | *Maybe* | | The Alfresco Platform version to use for RAD. See below for more details. |
|
||||
| `edition` | | `community` | The Alfresco Platform edition used for RAD. `community` or `enterprise`. See below for more details. |
|
||||
| `alfresco.war.version` | *Maybe* | *See Below* | The Maven `version` of a Maven `war` Type Project defined in a Maven Repository.<br/>*Inherited from [`beedk-acs-webapp-artifact-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-artifact-tile)* |
|
||||
| `project.build.extDirectory` | | `${project.build.directory}/ext/platform` | An additional directory of JARs to add to the ACS Platform at runtime. |
|
||||
| `acs-platform.port` | | 8080 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-platform.debugger.port` | | 8000 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-postgres.port` | | 5432 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-activemq.port` | | 8161 | The port to expose on `localhost` for the developer; not for other applications or users.<br/> *Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.*<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `alfresco.war.version` | *Maybe* | *See Below* | The Maven `version` of a Maven `war` Type Project defined in a Maven Repository.<br/>*Inherited from [`beedk-acs-webapp-artifact-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-tile)* |
|
||||
| `acs-platform.port` | | 8080 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-platform.debugger.port` | | 8000 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-postgres.port` | | 5432 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-activemq.port` | | 8161 | The port to expose on `localhost` for the developer; not for other applications or users.<br/> *Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.*<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)* |
|
||||
|
||||
* The `edition` is used to default the `alfresco.war.artifactId` to `content-services-community` or `content-services`.
|
||||
* The `alfresco.platform.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.
|
||||
@@ -78,8 +77,8 @@ 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-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)
|
||||
* [`beedk-acs-webapp-artifact-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-artifact-rad-tile)
|
||||
* [`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)
|
||||
|
||||
## Results
|
||||
|
||||
|
@@ -1,18 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-self-rad-tile</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for ACS Platform</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -20,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -33,16 +49,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
@@ -1,7 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
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">
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
@@ -16,7 +31,7 @@
|
||||
<!-- This plugin downloads the Platform JAR-based extension modules and runtime/test dependencies -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.1.2</version>
|
||||
<version>${maven-dependency.version}</version>
|
||||
<executions>
|
||||
<!-- This execution downloads the dependency JARs, including JAR modules -->
|
||||
<execution>
|
||||
@@ -88,6 +103,8 @@
|
||||
<properties>
|
||||
<!-- versions -->
|
||||
<postgres.jdbc.version>42.2.18</postgres.jdbc.version>
|
||||
<alfresco.platform.war.version>${alfresco.platform.version}</alfresco.platform.war.version>
|
||||
<maven-dependency.version>3.8.1</maven-dependency.version>
|
||||
|
||||
<!-- configuring beedk-acs-platform-rad-tile -->
|
||||
<beedk.deploy.platform.warFile>${project.build.warFile}</beedk.deploy.platform.warFile>
|
||||
@@ -100,15 +117,15 @@
|
||||
<beedk.deploy.platform.webDirectory>${project.build.directory}/web-resources</beedk.deploy.platform.webDirectory>
|
||||
|
||||
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
||||
<alfresco.war.version>${alfresco.platform.version}</alfresco.war.version>
|
||||
<alfresco.war.version>${alfresco.platform.war.version}</alfresco.war.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile -->
|
||||
<tile>@project.groupId@:beedk-acs-platform-rad-tile:@project.version@</tile>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-artifact-rad-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-rad-tile -->
|
||||
<tile>@project.groupId@:beedk-acs-webapp-artifact-rad-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
|
@@ -24,7 +24,7 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
<configuration>
|
||||
<tiles>
|
||||
...
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-sibling-it-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-sibling-it-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-sibling-it-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
@@ -64,16 +64,16 @@ The following properties are intended to be exposed by inheriting Public API Mav
|
||||
| `project.sibling.warFileName` | **Yes** | | The filename of the sibling Platform module or web appliation WAR. |
|
||||
| `project.sibling.build.warDirectory` | | `${project.sibling.build.directory}/war` | The path of the sibling Platform module or web appliation WAR. |
|
||||
| `project.sibling.build.warFile` | | `${project.sibling.build.warDirectory}/${project.sibling.warFileName}` | The path and filename of the sibling Platform module or web appliation WAR. |
|
||||
| `acs-platform.port` | | 8080 | 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.<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-postgres.port` | | 5432 | 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.<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-activemq.port` | | 8161 | 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.<br/> *Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.*<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-platform.port` | | 8080 | 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.<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-postgres.port` | | 5432 | 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.<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-activemq.port` | | 8161 | 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.<br/> *Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile)* |
|
||||
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.*<br/>*Inherited from [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile)* |
|
||||
|
||||
### Other APIs
|
||||
|
||||
Additional less important configurations are inherited from the following Maven Tiles.
|
||||
|
||||
* [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile)
|
||||
* [`beedk-acs-platform-it-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile)
|
||||
|
||||
## Results
|
||||
|
||||
|
@@ -1,18 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-sibling-it-tile</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: Integration Testing for ACS Platform by Maven Sibling Project</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -20,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -33,16 +49,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
@@ -1,7 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
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">
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
@@ -26,7 +41,7 @@
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile -->
|
||||
<tile>@project.groupId@:beedk-acs-platform-it-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
|
@@ -24,7 +24,7 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
<configuration>
|
||||
<tiles>
|
||||
...
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-sibling-rad-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-sibling-rad-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-sibling-rad-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
@@ -66,17 +66,17 @@ The following properties are intended to be exposed by inheriting Public API Mav
|
||||
| `project.sibling.warFileName` | **Yes** | | The filename of the sibling Platform module or web appliation WAR. |
|
||||
| `project.sibling.build.warDirectory` | | `${project.sibling.build.directory}/war` | The path of the sibling Platform module or web appliation WAR. |
|
||||
| `project.sibling.build.warFile` | | `${project.sibling.build.warDirectory}/${project.sibling.warFileName}` | The path and filename of the sibling Platform module or web appliation WAR. |
|
||||
| `acs-platform.port` | | 8080 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-platform.debugger.port` | | 8000 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-postgres.port` | | 5432 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-activemq.port` | | 8161 | The port to expose on `localhost` for the developer; not for other applications or users.<br/> *Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.*<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-platform.port` | | 8080 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-platform.debugger.port` | | 8000 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-postgres.port` | | 5432 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-activemq.port` | | 8161 | The port to expose on `localhost` for the developer; not for other applications or users.<br/> *Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)* |
|
||||
| `acs-platform.tomcat.opts` | | | Additional `CATALINA_OPTS` to add to the Apache Tomcat startup.<br/>*May be overridden by any POM parent or Maven Tile.*<br/>*Inherited from [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)* |
|
||||
|
||||
### Other APIs
|
||||
|
||||
Additional less important configurations are inherited from the following Maven Tiles.
|
||||
|
||||
* [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile)
|
||||
* [`beedk-acs-platform-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile)
|
||||
|
||||
## Results
|
||||
|
||||
|
@@ -1,18 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-sibling-rad-tile</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for ACS Platform by Maven Sibling Project</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -20,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -33,16 +49,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
@@ -1,7 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
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">
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
@@ -27,7 +42,7 @@
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-rad-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-rad-tile -->
|
||||
<tile>@project.groupId@:beedk-acs-platform-rad-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
|
@@ -1,18 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-webapp-docker-tile</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: ACS Platform Web Application Docker Enablement</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -20,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -28,21 +44,12 @@
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<build>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</build>
|
||||
</project>
|
||||
|
@@ -1,7 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
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">
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
@@ -27,7 +42,7 @@
|
||||
<goal>wget</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk/raw/stable/beedk-acs-platform-webapp-docker-tile/Dockerfile</url>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk/raw/stable/beedk-acs-platform-webapp-docker-tile/Dockerfile</url>
|
||||
<outputDirectory>${basedir}/src/main/docker</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
@@ -38,7 +53,7 @@
|
||||
<goal>wget</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk/raw/stable/beedk-acs-platform-webapp-docker-tile/catalina.policy</url>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk/raw/stable/beedk-acs-platform-webapp-docker-tile/catalina.policy</url>
|
||||
<outputDirectory>${basedir}/src/main/docker</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
@@ -49,7 +64,7 @@
|
||||
<goal>wget</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk/raw/stable/beedk-acs-platform-webapp-docker-tile/tomcat-platform-context.xml</url>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk/raw/stable/beedk-acs-platform-webapp-docker-tile/tomcat-platform-context.xml</url>
|
||||
<outputDirectory>${basedir}/src/main/docker</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
@@ -61,7 +76,7 @@
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-docker-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-docker-tile -->
|
||||
<tile>@project.groupId@:beedk-acs-webapp-docker-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
|
@@ -24,7 +24,7 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
<configuration>
|
||||
<tiles>
|
||||
...
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-webapp-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-webapp-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-webapp-tile:[1.0.0,2.0.0)</tile>
|
||||
...
|
||||
</tiles>
|
||||
@@ -48,10 +48,10 @@ The following properties are intended to be exposed by inheriting Public API Mav
|
||||
|
||||
| Maven Property | Required | Default | Description |
|
||||
| ---------------------------------- |:--------:| ------------------ | ----------- |
|
||||
| `alfresco.sdk.version` | **YES** | | For a list of versions and more details, see the [Alfresco SDK](https://github.com/Alfresco/alfresco-sdk).<br/>*Inherited from [`beedk-acs-webapp-artifact-build-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-artifact-build-tile)* |
|
||||
| `alfresco.sdk.version` | **YES** | | For a list of versions and more details, see the [Alfresco SDK](https://github.com/Alfresco/alfresco-sdk).<br/>*Inherited from [`beedk-acs-webapp-artifact-build-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-build-tile)* |
|
||||
|
||||
### Other APIs
|
||||
|
||||
Additional less important configurations are inherited from the following Maven Tiles.
|
||||
|
||||
* [`beedk-acs-webapp-artifact-build-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-artifact-build-tile)
|
||||
* [`beedk-acs-webapp-artifact-build-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-build-tile)
|
||||
|
@@ -1,18 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-platform-webapp-tile</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: ACS Platform Web Application</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -20,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -33,16 +49,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
@@ -1,14 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
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>
|
||||
<plugins>
|
||||
<!-- 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.version}</version> <!-- Need v3+ -->
|
||||
<configuration>
|
||||
<failOnMissingWebXml>false</failOnMissingWebXml>
|
||||
<skip>true</skip>
|
||||
@@ -17,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.version}</version>
|
||||
<configuration>
|
||||
<!-- do not install the normal WAR -->
|
||||
<skip>true</skip>
|
||||
@@ -80,13 +95,18 @@
|
||||
</activation>
|
||||
<properties>
|
||||
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
||||
<alfresco.war.version>${alfresco.platform.version}</alfresco.war.version>
|
||||
<alfresco.platform.war.version>${alfresco.platform.version}</alfresco.platform.war.version>
|
||||
<alfresco.war.version>${alfresco.platform.war.version}</alfresco.war.version>
|
||||
|
||||
<!-- versions -->
|
||||
<maven-war.version>3.4.0</maven-war.version>
|
||||
<maven-install.version>3.1.4</maven-install.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-artifact-build-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-build-tile -->
|
||||
<tile>@project.groupId@:beedk-acs-webapp-artifact-build-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
|
@@ -25,7 +25,7 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
<tiles>
|
||||
...
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-<!-- See below -->-tile:[1.0.0,2.0.0)</tile>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-search-it-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-search-it-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-search-it-tile:[1.0.0,2.0.0)</tile>
|
||||
...
|
||||
</tiles>
|
||||
@@ -41,10 +41,10 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
|
||||
This tile is meant to be used in conjunction with the `beedk-acs-platform-it-tile` tile which is automatically included in each of the following BeeDK Public API Maven Tiles.
|
||||
|
||||
* [`beedk-acs-platform-module-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-module-tile)
|
||||
* [`beedk-acs-share-module-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-module-tile)
|
||||
* [`beedk-acs-platform-webapp-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-webapp-tile)
|
||||
* [`beedk-acs-share-webapp-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-share-webapp-tile)
|
||||
* [`beedk-acs-platform-module-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-module-tile)
|
||||
* [`beedk-acs-share-module-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-module-tile)
|
||||
* [`beedk-acs-platform-webapp-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-webapp-tile)
|
||||
* [`beedk-acs-share-webapp-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-webapp-tile)
|
||||
|
||||
> This Maven Tile should always be declared **AFTER** the Maven Tile used from the list above.
|
||||
|
||||
@@ -52,19 +52,12 @@ This tile is meant to be used in conjunction with the `beedk-acs-platform-it-til
|
||||
|
||||
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 |
|
||||
| -------------------- |:--------:| --------------- | ----------- |
|
||||
| `acs-search.version` | | *not important* | The version of the [Alfresco Search Services Docker Image](https://hub.docker.com/r/alfresco/alfresco-search-services/tags). |
|
||||
|
||||
### Other APIs
|
||||
|
||||
Additional less important configurations are inherited from the following Maven Tiles.
|
||||
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-run-tile)
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-run-tile)
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-search-test-tile)
|
||||
|
||||
## Results
|
||||
|
||||
|
@@ -1,18 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-search-it-tile</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: Integration Testing for Alfresco Search Services</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -20,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -33,16 +49,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
@@ -1,7 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
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>
|
||||
<plugins>
|
||||
@@ -9,7 +24,6 @@
|
||||
<plugin>
|
||||
<groupId>io.fabric8</groupId>
|
||||
<artifactId>docker-maven-plugin</artifactId>
|
||||
<version>${beedk.plugins.fabric8.docker.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>start-acs-search</id>
|
||||
@@ -28,7 +42,8 @@
|
||||
<SOLR_SOLR_HOST>${project.artifactId}-acs-search</SOLR_SOLR_HOST>
|
||||
<SOLR_SOLR_PORT>8983</SOLR_SOLR_PORT>
|
||||
<SOLR_CREATE_ALFRESCO_DEFAULTS>alfresco</SOLR_CREATE_ALFRESCO_DEFAULTS>
|
||||
<ALFRESCO_SECURE_COMMS>none</ALFRESCO_SECURE_COMMS>
|
||||
<ALFRESCO_SECURE_COMMS>secret</ALFRESCO_SECURE_COMMS>
|
||||
<JAVA_TOOL_OPTIONS>-Dalfresco.secureComms.secret=alfresco-secret</JAVA_TOOL_OPTIONS>
|
||||
</env>
|
||||
<network>
|
||||
<mode>custom</mode>
|
||||
@@ -66,9 +81,6 @@
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<!-- versions -->
|
||||
<acs-search.version>2.0.1</acs-search.version>
|
||||
|
||||
<!-- configuring beedk-acs-platform-it-tile -->
|
||||
<!-- this tells the platform module to enable solr6 indexing -->
|
||||
<beedk.deploy.acs-search.enabled>true</beedk.deploy.acs-search.enabled>
|
||||
@@ -77,7 +89,7 @@
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-run-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-run-tile -->
|
||||
<tile>@project.groupId@:beedk-run-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
|
@@ -25,7 +25,7 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
<tiles>
|
||||
...
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-platform-<!-- See Below -->-rad-tile:[1.0.0,2.0.0)</tile>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-search-rad-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-search-rad-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-search-rad-tile:[1.0.0,2.0.0)</tile>
|
||||
...
|
||||
</tiles>
|
||||
@@ -41,8 +41,8 @@ To use this plugin, just reference it with the Maven Tiles plugin as shown in th
|
||||
|
||||
This tile is meant to be used in conjunction with the `beedk-acs-platform-rad-tile` tile which is automatically included in each of the following BeeDK Public API Maven Tiles.
|
||||
|
||||
* [`beedk-acs-platform-self-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-self-rad-tile)
|
||||
* [`beedk-acs-platform-artifact-rad-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-artifact-rad-tile)
|
||||
* [`beedk-acs-platform-self-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-self-rad-tile)
|
||||
* [`beedk-acs-platform-artifact-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-artifact-rad-tile)
|
||||
|
||||
> This Maven Tile should always be declared **AFTER** the Maven Tile used from the list above.
|
||||
|
||||
@@ -60,13 +60,13 @@ The following properties are intended to be exposed by inheriting Public API Mav
|
||||
| Maven Property | Required | Default | Description |
|
||||
| -------------------- |:--------:| --------------- | ----------- |
|
||||
| `acs-search.port` | | 8983 | The port to expose on `localhost` for the developer; not for other applications or users. |
|
||||
| `acs-search.version` | | *not important* | The version of the [Alfresco Search Services Docker Image](https://hub.docker.com/r/alfresco/alfresco-search-services/tags). |
|
||||
|
||||
### Other APIs
|
||||
|
||||
Additional less important configurations are inherited from the following Maven Tiles.
|
||||
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/stable/beedk-run-tile)
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-run-tile)
|
||||
* [`beedk-run-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-search-test-tile)
|
||||
|
||||
## Results
|
||||
|
||||
|
@@ -1,18 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-acs-search-rad-tile</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: RAD for Alfresco Search Services</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
@@ -20,6 +35,7 @@
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
@@ -33,16 +49,7 @@
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
@@ -1,7 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
||||
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">
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
@@ -17,11 +32,10 @@
|
||||
<plugin>
|
||||
<groupId>io.fabric8</groupId>
|
||||
<artifactId>docker-maven-plugin</artifactId>
|
||||
<version>${beedk.plugins.fabric8.docker.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>run-acs-search</id>
|
||||
<phase>process-classes</phase>
|
||||
<phase>process-test-classes</phase>
|
||||
<goals><goal>start</goal></goals>
|
||||
<configuration>
|
||||
<images>
|
||||
@@ -35,7 +49,8 @@
|
||||
<SOLR_SOLR_HOST>${project.artifactId}-acs-search</SOLR_SOLR_HOST>
|
||||
<SOLR_SOLR_PORT>8983</SOLR_SOLR_PORT>
|
||||
<SOLR_CREATE_ALFRESCO_DEFAULTS>alfresco</SOLR_CREATE_ALFRESCO_DEFAULTS>
|
||||
<ALFRESCO_SECURE_COMMS>none</ALFRESCO_SECURE_COMMS>
|
||||
<ALFRESCO_SECURE_COMMS>secret</ALFRESCO_SECURE_COMMS>
|
||||
<JAVA_TOOL_OPTIONS>-Dalfresco.secureComms.secret=alfresco-secret</JAVA_TOOL_OPTIONS>
|
||||
</env>
|
||||
<ports>
|
||||
<port>${acs-search.port}:8983</port>
|
||||
@@ -64,9 +79,6 @@
|
||||
<properties>
|
||||
<!-- configurable -->
|
||||
<acs-search.port>8983</acs-search.port>
|
||||
|
||||
<!-- versions -->
|
||||
<acs-search.version>2.0.1</acs-search.version>
|
||||
|
||||
<!-- configuring beedk-acs-platform-rad-tile -->
|
||||
<!-- this tells the platform module to enable solr6 indexing -->
|
||||
@@ -76,8 +88,10 @@
|
||||
</profiles>
|
||||
|
||||
<tiles>
|
||||
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-run-tile -->
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-run-tile -->
|
||||
<tile>@project.groupId@:beedk-run-tile:@project.version@</tile>
|
||||
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-search-test-tile -->
|
||||
<tile>@project.groupId@:beedk-acs-search-test-tile:@project.version@</tile>
|
||||
</tiles>
|
||||
|
||||
</project>
|
||||
|
9
beedk-acs-search-test-tile/.gitignore
vendored
Normal file
9
beedk-acs-search-test-tile/.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Eclipse
|
||||
.project
|
||||
.classpath
|
||||
.settings
|
||||
|
||||
# Maven
|
||||
pom.xml.versionsBackup
|
||||
target
|
||||
|
19
beedk-acs-search-test-tile/README.md
Normal file
19
beedk-acs-search-test-tile/README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# BeeDK Alfresco Search Services Maven Tile for Tests
|
||||
|
||||
This is a component within the proposed [BeeDK](/inteligr8/ootbee-beedk). It is considered to be part of the **Private API** of the BeeDK.
|
||||
|
||||
## Purpose
|
||||
|
||||
This project creates a [Maven Tile](https://github.com/repaint-io/maven-tiles) that provides Alfresco Search Services for the integration testing of any ACS module, extension, service, or web application.
|
||||
|
||||
## 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 |
|
||||
| -------------------- |:--------:| --------------- | ----------- |
|
||||
| `acs-search.version` | | *not important* | The version of the [Alfresco Search Services Docker Image](https://hub.docker.com/r/alfresco/alfresco-search-services/tags). |
|
55
beedk-acs-search-test-tile/pom.xml
Normal file
55
beedk-acs-search-test-tile/pom.xml
Normal file
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>beedk-acs-search-test-tile</artifactId>
|
||||
<packaging>tile</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>com.inteligr8.ootbee</groupId>
|
||||
<artifactId>beedk-parent</artifactId>
|
||||
<version>1.1.16</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>Order of the Bee Development Kit: Testing for Alfresco Search Services</name>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
|
||||
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:https://git.inteligr8.com/inteligr8/ootbee-beedk.git</connection>
|
||||
<developerConnection>scm:git:git@git.inteligr8.com:inteligr8/ootbee-beedk.git</developerConnection>
|
||||
<url>https://git.inteligr8.com/inteligr8/ootbee-beedk</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Order of the Bee</name>
|
||||
<url>https://orderofthebee.net</url>
|
||||
</organization>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>brian.long</id>
|
||||
<name>Brian Long</name>
|
||||
<email>brian@inteligr8.com</email>
|
||||
<organization>Inteligr8</organization>
|
||||
<organizationUrl>https://www.inteligr8.com</organizationUrl>
|
||||
<url>https://twitter.com/brianmlong</url>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
36
beedk-acs-search-test-tile/tile.xml
Normal file
36
beedk-acs-search-test-tile/tile.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* 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/>.
|
||||
*
|
||||
-->
|
||||
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
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">
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>default-props</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>!some-prop-that-never-exists</name>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<!-- versions -->
|
||||
<acs-search.version>2.0.11</acs-search.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
9
beedk-acs-share-artifact-rad-tile/.gitignore
vendored
Normal file
9
beedk-acs-share-artifact-rad-tile/.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Eclipse
|
||||
.project
|
||||
.classpath
|
||||
.settings
|
||||
|
||||
# Maven
|
||||
pom.xml.versionsBackup
|
||||
target
|
||||
|
82
beedk-acs-share-artifact-rad-tile/README.md
Normal file
82
beedk-acs-share-artifact-rad-tile/README.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# BeeDK ACS Share RAD Maven Tile for non-Share-accessible Projects
|
||||
|
||||
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 provides the basis for rapid application development any Maven project against the ACS Platform.
|
||||
|
||||
## 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-acs-share-artifact-rad-tile -->
|
||||
<tile>com.inteligr8.ootbee:beedk-acs-share-artifact-rad-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
...
|
||||
</plugins>
|
||||
...
|
||||
</build>
|
||||
...
|
||||
</project>
|
||||
```
|
||||
|
||||
There are 2 other alternative tiles that serve a similar purpose, but are for other use cases. Make sure you are using the right one. Follow the logic below.
|
||||
|
||||
Is your Maven project an ACS Share module or ACS Share web application?
|
||||
: You will be declaring the `beedk-acs-share-module-tile` or `beedk-acs-share-webapp-tile` Maven Tile. You will need to explicitly declare and configure the [`beedk-acs-share-self-rad-tile` Maven Tile](../beedk-acs-share-self-rad-tile).
|
||||
|
||||
Is your Maven project just one within a set of other Maven projects AND one of those other Maven projects is an ACS Share web application (not a module)?
|
||||
: You will need to explicitly declare and configure the [`beedk-acs-share-sibling-rad-tile` Maven Tile](../beedk-acs-share-sibling-rad-tile).
|
||||
|
||||
Otherwise
|
||||
: You will need to explicitly declare and configure the `beedk-acs-share-artifact-rad-tile` Maven Tile.
|
||||
|
||||
See the [BeeDK documentation](/inteligr8/ootbee-beedk) on instructions for how to start and stop RAD capabilities.
|
||||
|
||||
## Configuration
|
||||
|
||||
In your Maven project, set the following properties to define the behavior of this Maven Tile. Unless otherwise stated, they can only be overridden in the project POM or other Maven Tiles loaded earlier than this Maven Tile.
|
||||
|
||||
### Public API
|
||||
|
||||
The following properties are intended to be exposed by inheriting Public API Maven Tiles.
|
||||
|
||||
| Maven Property | Required | Default | Description |
|
||||
| ---------------------------------- |:--------:| ------------------ | ----------- |
|
||||
| `alfresco.share.version` | Maybe | | The Alfresco Share version to use for RAD. See below for more details. |
|
||||
| `alfresco.share.war.groupId` | | `org.alfresco` | The Maven `groupId` of a Maven `war` Type Project defined in a Maven Repository. |
|
||||
| `alfresco.share.war.artifactId` | | `share` | The Maven `artifactId` of a Maven `war` Type Project defined in a Maven Repository. |
|
||||
| `alfresco.share.war.version` | Maybe | *See Below* | The Maven `version` of a Maven `war` Type Project defined in a Maven Repository. |
|
||||
| `acs-share.port` | | 8180 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-share-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-rad-tile)* |
|
||||
| `acs-share.debugger.port` | | 8100 | The port to expose on `localhost` for the developer; not for other applications or users.<br/>*Inherited from [`beedk-acs-share-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-rad-tile)* |
|
||||
| `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.*<br/>*Inherited from [`beedk-acs-share-rad-tile`](/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-share-rad-tile)* |
|
||||
|
||||
* 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)
|
||||
|
||||
## Results
|
||||
|
||||
The ACS Share component will be started during the `process-classes` Maven phase.
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user