* SDK 4.2 - Final adjustments

Co-authored-by: gfertuso <giovanni.fertuso@alfresco.com>
This commit is contained in:
Andrea Ligios 2021-02-12 18:59:56 +01:00 committed by GitHub
parent bf853d72c8
commit a6f0b34074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 2 deletions

View File

@ -35,10 +35,32 @@ You'll need to update the following settings in the `pom.xml` file:
<alfresco.bomDependencyArtifactId>acs-packaging</alfresco.bomDependencyArtifactId>
```
* Change the Docker ACS image name:
* Change the Docker ACS image name (by also prepending the Enterprise Docker Registry, Quay.io):
```
<docker.acs.image>alfresco/alfresco-content-repository</docker.acs.image>
<docker.acs.image>quay.io/alfresco/alfresco-content-repository</docker.acs.image>
```
In case the desired Platform version is 6.x, you'll also need to deal with the Keystore settings, by either:
* Removing the keystore settings:
```
<keystore.settings></keystore.settings>
```
or
* Adding the Keystore creation to the existing Dockerfile:
```
#Add Keystore
ARG CERT_DNAME="CN=Alfresco Repository, OU=Unknown, O=Alfresco Software Ltd., L=Maidenhead, ST=UK, C=GB"
ARG CERT_VALIDITY=36525
ARG KEYSTORE_PASSWORD=mp6yc0UD9e
ARG KEYSTORE_METADATA_PASSWORD=oKIWzVdEdA
RUN mkdir -p $TOMCAT_DIR/shared/classes/alfresco/extension/keystore
RUN keytool -genseckey -dname "$CERT_DNAME" -validity ${CERT_VALIDITY} -alias metadata -keypass ${KEYSTORE_METADATA_PASSWORD} -keyalg AES -keysize 256 -keystore ${TOMCAT_DIR}/shared/classes/alfresco/extension/keystore/keystore -storetype JCEKS -storepass ${KEYSTORE_PASSWORD}
```
Changing these parameters instructs the project to use the proper maven dependencies and Docker images.

View File

@ -327,6 +327,8 @@
</properties>
</profile>
<!-- 7.0 -->
<!-- This profiles requires to be executed using Java 11 -->
<profile>
<id>enterprise-70-tests</id>
<properties>