initial checkin

This commit is contained in:
2021-04-22 15:58:20 -04:00
commit a7fef4641b
278 changed files with 14028 additions and 0 deletions

9
beedk-ate-springboot-test/.gitignore vendored Normal file
View File

@@ -0,0 +1,9 @@
# Eclipse
.project
.classpath
.settings
# Maven
pom.xml.versionsBackup
target

View File

@@ -0,0 +1,52 @@
# BeeDK Spring Boot Alfresco Transform Engine Maven Composite POM for Unit Testing
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 Composite POM that prorvides the basis for unit testing any Maven project using the [`beedk-ate-springboot`](../beedk-ate-springboot) Composite POM.
## Usage
To use this plugin, just reference it with the standard Maven dependencies as shown in the following snippet.
```xml
<project ...>
...
<dependencies>
...
<dependency>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-ate-springboot</artifactId>
<version>[1.0.0,1.1.0)</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-ate-springboot-test</artifactId>
<version>[1.0.0,1.1.0)</version>
<type>pom</type>
<scope>test</scope>
</dependency>
...
</dependencies>
...
</project>
```
## Configuration
In your Maven project, set the following properties to define the behavior of this Maven Composite POM.
### Public API
The following properties are exposed by this Maven Composite POM.
| Maven Property | Required | Default | Description |
| --------------------------------- |:--------:| --------------- | ----------- |
| `alfresco.transform-base.version` | | *not important* | For a list of versions and more details, see the [Alfresco Transform project](https://github.com/Alfresco/alfresco-transform-core). |
| `spring-boot.version` | | *not important* | For a list of versions and more details, see the [Spring Boot Project](https://spring.io/projects/spring-boot).<br/>You could use a different Spring Boot version for building your application. This one is only for test execution. |
## Results
The Spring Boot project will be have all the dependencies required for unit testing an Alfresco Transform Engine.

View File

@@ -0,0 +1,81 @@
<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.inteligr8.ootbee</groupId>
<artifactId>beedk-ate-springboot-test</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Order of the Bee Development Kit: ATE Spring Boot Test</name>
<scm>
<url>https://bitbucket.org/inteligr8/ootbee-beedk</url>
</scm>
<organization>
<name>Order of the Bee</name>
<url>https://orderofthebee.net</url>
</organization>
<developers>
<developer>
<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>
<properties>
<alfresco.transform-base.version>2.3.6</alfresco.transform-base.version>
<spring-boot.version>2.3.5.RELEASE</spring-boot.version>
</properties>
<dependencies>
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-transformer-base</artifactId>
<version>${alfresco.transform-base.version}</version>
<classifier>tests</classifier>
<type>test-jar</type>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>${spring-boot.version}</version>
<exclusions>
<exclusion>
<groupId>com.vaadin.external.google</groupId>
<artifactId>android-json</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<repositories>
<!-- An Alfresco repository is required for the Alfresco dependency -->
<repository>
<id>alfresco-public</id>
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
</repository>
</repositories>
<build>
<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>