mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-08-14 17:58:27 +00:00
* commit '2fd8361a783f117592b55bbca4fc7273adf1db49': (25 commits) [maven-release-plugin][skip ci] prepare for next development iteration [maven-release-plugin][skip ci] prepare release 2.5.5-A1 [trigger release] 2.5.5-A1 (#511) [trigger release] 2.5.5-A1 Bump dependency.jackson.version from 2.13.0 to 2.13.1 Bump dependency.cxf.version from 3.4.5 to 3.5.0 Revert "Bump dependency.tika.version from 2.1.0 to 2.2.1" Bump dependency.tika.version from 2.1.0 to 2.2.1 ACS-2002 Enhance T-Router debug (#507) Bump license-maven-plugin from 2.0.0 to 2.0.1.alfresco-1 (#481) Bump bcmail-jdk15on from 1.69 to 1.70 (#492) Bump bcprov-jdk15on from 1.69 to 1.70 (#491) Bump spring-boot-starter-parent from 2.6.0 to 2.6.2 (#504) ACS-2352: Added Veracode agent-based scanning integration. Bump joda-time from 2.2 to 2.10.13 ATS-969 Tika upgrade 1.x -> 2.x (#493) ATS-968 Migrate to CentOS 7 base images (#490) ACS-1983 CentOS 7 base image for the ImageMagic transformer (#489) Update travis linux dist to Focal (#478) Bump spring-boot-starter-parent from 2.5.6 to 2.6.0 ... # Conflicts: # alfresco-transform-core-aio/alfresco-transform-core-aio-boot/pom.xml # alfresco-transform-core-aio/alfresco-transform-core-aio/pom.xml # alfresco-transform-imagemagick/alfresco-transform-imagemagick-boot/pom.xml # alfresco-transform-imagemagick/alfresco-transform-imagemagick/pom.xml # alfresco-transform-libreoffice/alfresco-transform-libreoffice-boot/pom.xml # alfresco-transform-libreoffice/alfresco-transform-libreoffice/pom.xml # alfresco-transform-misc/alfresco-transform-misc-boot/pom.xml # alfresco-transform-misc/alfresco-transform-misc/pom.xml # alfresco-transform-pdf-renderer/alfresco-transform-pdf-renderer-boot/pom.xml # alfresco-transform-pdf-renderer/alfresco-transform-pdf-renderer/pom.xml # alfresco-transform-tika/alfresco-transform-tika-boot/pom.xml # alfresco-transform-tika/alfresco-transform-tika/pom.xml # alfresco-transformer-base/pom.xml # pom.xml
305 lines
13 KiB
XML
305 lines
13 KiB
XML
<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>
|
|
<artifactId>alfresco-transform-ffmpeg-boot</artifactId>
|
|
<name>Alfresco FFmpeg Spring Boot</name>
|
|
<packaging>jar</packaging>
|
|
|
|
<parent>
|
|
<groupId>org.alfresco</groupId>
|
|
<artifactId>alfresco-transform-core</artifactId>
|
|
<version>2.5.5-A2-SNAPSHOT</version>
|
|
<relativePath>../../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<properties>
|
|
<!-- TODO PoC for FFmpeg -->
|
|
<image.name>alfresco/alfresco-transform-ffmpeg-poc</image.name>
|
|
|
|
<image.registry>quay.io</image.registry>
|
|
<env.project_artifactId>${project.artifactId}</env.project_artifactId>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.alfresco</groupId>
|
|
<artifactId>alfresco-transformer-base</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.alfresco</groupId>
|
|
<artifactId>alfresco-transformer-base</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>tests</classifier>
|
|
<type>test-jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.alfresco</groupId>
|
|
<artifactId>alfresco-transform-ffmpeg</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.vaadin.external.google</groupId>
|
|
<artifactId>android-json</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.dom4j</groupId>
|
|
<artifactId>dom4j</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>test-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>docker-it-setup</id>
|
|
<!-- raises an ActiveMq container for the Integration Tests -->
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>io.fabric8</groupId>
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
<configuration>
|
|
<images>
|
|
<image>
|
|
<alias>activemq</alias>
|
|
<name>alfresco/alfresco-activemq:5.15.8</name>
|
|
<run>
|
|
<hostname>activemq</hostname>
|
|
<ports>
|
|
<port>8161:8161</port>
|
|
<port>5672:5672</port>
|
|
<port>61616:61616</port>
|
|
</ports>
|
|
<wait>
|
|
<log>Apache ActiveMQ 5.15.8 .* started</log>
|
|
<time>20000</time>
|
|
<kill>500</kill>
|
|
<shutdown>100</shutdown>
|
|
<exec>
|
|
<preStop>kill 1</preStop>
|
|
<preStop>kill -9 1</preStop>
|
|
</exec>
|
|
</wait>
|
|
</run>
|
|
</image>
|
|
|
|
<image>
|
|
<alias>alfresco-ffmpeg</alias>
|
|
<name>${image.name}:${image.tag}</name>
|
|
<run>
|
|
<ports>
|
|
<port>8090:8090</port>
|
|
</ports>
|
|
<wait>
|
|
<http>
|
|
<url>http://localhost:8090/transform/config</url>
|
|
<method>GET</method>
|
|
<status>200...299</status>
|
|
</http>
|
|
<time>300000</time>
|
|
<kill>500</kill>
|
|
<shutdown>100</shutdown>
|
|
<exec>
|
|
<preStop>kill 1</preStop>
|
|
<preStop>kill -9 1</preStop>
|
|
</exec>
|
|
</wait>
|
|
</run>
|
|
</image>
|
|
</images>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>local</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>io.fabric8</groupId>
|
|
<artifactId>fabric8-maven-plugin</artifactId>
|
|
<configuration>
|
|
<images>
|
|
<image>
|
|
<name>${image.name}:${image.tag}</name>
|
|
<build>
|
|
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
|
<buildOptions>
|
|
<squash>true</squash>
|
|
</buildOptions>
|
|
</build>
|
|
</image>
|
|
</images>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>build-image</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>build</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>internal</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>io.fabric8</groupId>
|
|
<artifactId>fabric8-maven-plugin</artifactId>
|
|
<configuration>
|
|
<images>
|
|
<!-- QuayIO image -->
|
|
<image>
|
|
<name>${image.name}:${image.tag}</name>
|
|
<registry>${image.registry}</registry>
|
|
<build>
|
|
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
|
<buildOptions>
|
|
<squash>true</squash>
|
|
</buildOptions>
|
|
</build>
|
|
</image>
|
|
<!-- DockerHub image -->
|
|
<image>
|
|
<name>${image.name}:${image.tag}</name>
|
|
<build>
|
|
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
|
<buildOptions>
|
|
<squash>true</squash>
|
|
</buildOptions>
|
|
</build>
|
|
</image>
|
|
</images>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>build-image</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>build</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>push-image</id>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<goal>push</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>release</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>io.fabric8</groupId>
|
|
<artifactId>fabric8-maven-plugin</artifactId>
|
|
<configuration combine.self="override">
|
|
<images>
|
|
<!-- QuayIO image -->
|
|
<image>
|
|
<name>${image.name}:${project.version}</name>
|
|
<registry>${image.registry}</registry>
|
|
<build>
|
|
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
|
<buildOptions>
|
|
<squash>true</squash>
|
|
</buildOptions>
|
|
</build>
|
|
</image>
|
|
<!-- DockerHub image -->
|
|
<image>
|
|
<name>${image.name}:${project.version}</name>
|
|
<build>
|
|
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
|
<buildOptions>
|
|
<squash>true</squash>
|
|
</buildOptions>
|
|
</build>
|
|
</image>
|
|
</images>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>build-push-image</id>
|
|
<phase>deploy</phase>
|
|
<goals>
|
|
<goal>build</goal>
|
|
<goal>push</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|