mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-05-12 17:04:48 +00:00
ATS-267 : Bundle 3rd Party licenses in Docker images
This commit is contained in:
parent
1ba103d322
commit
79b98a1661
@ -20,6 +20,10 @@ RUN ln /usr/bin/alfresco-docker-alfresco-pdf-renderer-${env.project_version}.jar
|
|||||||
yum remove -y wget && \
|
yum remove -y wget && \
|
||||||
yum clean all
|
yum clean all
|
||||||
|
|
||||||
|
ADD target/generated-resources/licenses /licenses
|
||||||
|
ADD target/generated-resources/licenses.xml /licenses/
|
||||||
|
ADD target/generated-sources/license/THIRD-PARTY.txt /licenses/
|
||||||
|
|
||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
|
|
||||||
ENTRYPOINT java $JAVA_OPTS -jar /usr/bin/alfresco-docker-alfresco-pdf-renderer.jar
|
ENTRYPOINT java $JAVA_OPTS -jar /usr/bin/alfresco-docker-alfresco-pdf-renderer.jar
|
||||||
|
@ -59,7 +59,10 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.fabric8</groupId>
|
<groupId>io.fabric8</groupId>
|
||||||
<artifactId>fabric8-maven-plugin</artifactId>
|
<artifactId>fabric8-maven-plugin</artifactId>
|
||||||
|
@ -22,6 +22,10 @@ RUN ln /usr/bin/alfresco-docker-imagemagick-${env.project_version}.jar /usr/bin/
|
|||||||
yum remove -y wget && \
|
yum remove -y wget && \
|
||||||
yum clean all
|
yum clean all
|
||||||
|
|
||||||
|
ADD target/generated-resources/licenses /licenses
|
||||||
|
ADD target/generated-resources/licenses.xml /licenses/
|
||||||
|
ADD target/generated-sources/license/THIRD-PARTY.txt /licenses/
|
||||||
|
|
||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
|
|
||||||
ENTRYPOINT java $JAVA_OPTS -jar /usr/bin/alfresco-docker-imagemagick.jar
|
ENTRYPOINT java $JAVA_OPTS -jar /usr/bin/alfresco-docker-imagemagick.jar
|
||||||
|
@ -59,6 +59,10 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.fabric8</groupId>
|
<groupId>io.fabric8</groupId>
|
||||||
<artifactId>fabric8-maven-plugin</artifactId>
|
<artifactId>fabric8-maven-plugin</artifactId>
|
||||||
|
@ -22,6 +22,10 @@ RUN ln /usr/bin/alfresco-docker-libreoffice-${env.project_version}.jar /usr/bin/
|
|||||||
yum remove -y wget && \
|
yum remove -y wget && \
|
||||||
yum clean all
|
yum clean all
|
||||||
|
|
||||||
|
ADD target/generated-resources/licenses /licenses
|
||||||
|
ADD target/generated-resources/licenses.xml /licenses/
|
||||||
|
ADD target/generated-sources/license/THIRD-PARTY.txt /licenses/
|
||||||
|
|
||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
|
|
||||||
ENTRYPOINT java $JAVA_OPTS -jar /usr/bin/alfresco-docker-libreoffice.jar
|
ENTRYPOINT java $JAVA_OPTS -jar /usr/bin/alfresco-docker-libreoffice.jar
|
||||||
|
@ -67,8 +67,10 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.fabric8</groupId>
|
<groupId>io.fabric8</groupId>
|
||||||
<artifactId>fabric8-maven-plugin</artifactId>
|
<artifactId>fabric8-maven-plugin</artifactId>
|
||||||
|
@ -16,6 +16,10 @@ RUN ln /usr/bin/alfresco-docker-tika-${env.project_version}.jar /usr/bin/alfresc
|
|||||||
yum remove -y wget && \
|
yum remove -y wget && \
|
||||||
yum clean all
|
yum clean all
|
||||||
|
|
||||||
|
ADD target/generated-resources/licenses /licenses
|
||||||
|
ADD target/generated-resources/licenses.xml /licenses/
|
||||||
|
ADD target/generated-sources/license/THIRD-PARTY.txt /licenses/
|
||||||
|
|
||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
|
|
||||||
ENTRYPOINT java $JAVA_OPTS -jar /usr/bin/alfresco-docker-tika.jar
|
ENTRYPOINT java $JAVA_OPTS -jar /usr/bin/alfresco-docker-tika.jar
|
||||||
|
@ -131,6 +131,10 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.fabric8</groupId>
|
<groupId>io.fabric8</groupId>
|
||||||
<artifactId>fabric8-maven-plugin</artifactId>
|
<artifactId>fabric8-maven-plugin</artifactId>
|
||||||
|
20
pom.xml
20
pom.xml
@ -132,7 +132,7 @@
|
|||||||
<url>https://artifacts.alfresco.com/nexus/content/repositories/enterprise-snapshots</url>
|
<url>https://artifacts.alfresco.com/nexus/content/repositories/enterprise-snapshots</url>
|
||||||
</snapshotRepository>
|
</snapshotRepository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
@ -159,6 +159,24 @@
|
|||||||
<artifactId>maven-release-plugin</artifactId>
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
<version>2.5.3</version>
|
<version>2.5.3</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
|
<version>1.16</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>add-third-party</goal>
|
||||||
|
<goal>download-licenses</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<useMissingFile>true</useMissingFile>
|
||||||
|
<excludedScopes>provided,test</excludedScopes>
|
||||||
|
<excludedGroups>org.alfresco</excludedGroups>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user