Compare commits

...
Author SHA1 Message Date
pmm f7585a1d18 [PRODSEC-8959] fix for zt-zip vulnerability 2024-06-06 16:52:23 +05:30
purusothaman-mm 2c29c915d4 fix for alfresco security issues (#667) 2024-05-31 15:41:28 +05:30
Manish Kumar 7878155ed9 [PRODSEC-9051] updated plexus archiver version from 3.4 to 4.9.2 (#666) 2024-05-28 12:40:18 +05:30
pmm 7aa6400210 Revert "[PRODSEC-9046] fix for sdk vulnerability (#665)"
This reverts commit cc0955e012.
2024-05-27 15:14:03 +05:30
purusothaman-mm cc0955e012 [PRODSEC-9046] fix for sdk vulnerability (#665) 2024-05-22 14:41:47 +05:30
purusothaman-mmandsuneet-gupta 2899b205ba [MNT-24306] Added fix for log4j2 config issue (#664)
* [MNT-24306] Added Fix for Log4j2 issue

* [MNT-24306] Added Fix for Log4j2 issue

* [MNT-24306] Added Fix for Log4j2 issue

* [MNT-24306] fix for the log4j2 config

* [MNT-24306] Added Fix for Log4j2 issue

---------

Co-authored-by: suneet-gupta <suneet.gupta@hyland.com>
2024-05-16 12:39:01 +05:30
Marcin Strankowski 340785180d Merge pull request #662 from Alfresco/feature/add_agent_based_scanning
SCA setup
2024-04-04 15:49:03 +02:00
mstrankowski 2bc06e4222 SCA setup 2024-04-04 15:01:34 +02:00
Suneet Gupta 4f70d0f575 Merge pull request #660 from Alfresco/PRODDEL-7832-UpdateSnapshot
[PRODDEL-7832] Switched to 4.9.0-SNAPSHOT
2024-03-06 17:06:20 +05:30
Manish Kumar fd106b13c7 [PRODDEL-7832] Switched to 4.9.0-SNAPSHOT 2024-03-06 16:44:13 +05:30
Suneet Gupta f59a05a0c0 Merge pull request #659 from Alfresco/release/PRODDEL-7832-PrepareRelease4.8
[PRODDEL-7832] Prepare 4.8 release
2024-03-05 16:48:53 +05:30
suneet-gupta 860fc03a03 [PRODDEL-7832] Prepare 4.8 release 2024-03-05 16:25:35 +05:30
Manish Kumarandsuneet-gupta a2cf89ed5e [APPS-2641] Make In-Process SDK compatible with 23.2 (#658)
* [APPS-2641] Prepare alfresco-sdk compatible with 23.2

* [APPS-2641] Added test cases suite for 23.2

* [APPS-2641] Added test cases suite for 23.2

* [APPS-2641] Added test cases suite for 23.2

* [APPS-2641] Added test cases suite for 23.2

* [APPS-2641] Added test cases suite for 23.2

---------

Co-authored-by: suneet-gupta <suneet.gupta@hyland.com>
2024-03-05 15:43:42 +05:30
23 changed files with 126 additions and 78 deletions
+23
View File
@@ -28,6 +28,23 @@ jobs:
steps: steps:
- uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v1.35.0 - uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v1.35.0
veracode_sca:
name: "Veracode - Source Clear Scan (SCA)"
runs-on: ubuntu-latest
if: >
github.ref_name == 'master' ||
github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v3
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.34.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.34.0
- name: "Clean-up SNAPSHOT artifacts"
run: find "${HOME}/.m2/repository/" -type d -name "*-SNAPSHOT*" | xargs -r -l rm -rf
- uses: Alfresco/alfresco-build-tools/.github/actions/veracode@v1.34.0
continue-on-error: true
with:
srcclr-api-token: ${{ secrets.SRCCLR_API_TOKEN }}
build: build:
name: "Build application" name: "Build application"
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -54,6 +71,12 @@ jobs:
include: include:
- name: "current version Java 17" - name: "current version Java 17"
java-version: 17 java-version: 17
- name: "23.2 Enterprise Java 17"
java-version: 17
suite: -Penterprise-232-tests
- name: "23.2 Community Java 17"
java-version: 17
suite: -Pcommunity-232-tests
- name: "23.1 Enterprise Java 17" - name: "23.1 Enterprise Java 17"
java-version: 17 java-version: 17
suite: -Penterprise-231-tests suite: -Penterprise-231-tests
+19 -17
View File
@@ -15,6 +15,7 @@ If you are an Enterprise customer check the [Support](#alfresco-enterprise-custo
## News ## News
- 2024-03: Alfresco SDK 4.8.0 released
- 2023-11: Alfresco SDK 4.7.0 released - 2023-11: Alfresco SDK 4.7.0 released
- 2023-06: Alfresco SDK 4.6.0 released - 2023-06: Alfresco SDK 4.6.0 released
- 2022-10: Alfresco SDK 4.5.0 released - 2022-10: Alfresco SDK 4.5.0 released
@@ -78,7 +79,7 @@ the `alfresco.log` file has also been moved to a more appropriate location (Tomc
In Q4 2020, Alfresco Platform has undergone a major structural refactoring. In Q4 2020, Alfresco Platform has undergone a major structural refactoring.
Depending on the Platform version desired, you might need to use SDK 4.1, 4.3, 4.4, 4.5 or SDK 4.6 instead of SDK 4.7. Depending on the Platform version desired, you might need to use SDK 4.1, 4.3, 4.4, 4.5, 4.6 or SDK 4.7 instead of SDK 4.8.
- For Enterprise and Community versions of 7.x, SDK 4.4 or higher must be used - For Enterprise and Community versions of 7.x, SDK 4.4 or higher must be used
- For Enterprise versions of 6.0.x, 6.1.x, 6.2.x newer than November 2020, SDK 4.3 must be used - For Enterprise versions of 6.0.x, 6.1.x, 6.2.x newer than November 2020, SDK 4.3 must be used
@@ -95,22 +96,23 @@ It's also important to remember that:
To get started with **Alfresco SDK 4.7.x** (latest) visit the [Alfresco Documentation](docs/README.md). To get started with **Alfresco SDK 4.7.x** (latest) visit the [Alfresco Documentation](docs/README.md).
#### Documentation about Previous Versions #### Documentation about Previous Versions
| SDK Version | Alfresco Enterprise Version | Alfresco Community Version | Documentation | | SDK Version | Alfresco Enterprise Version | Alfresco Community Version | Documentation |
|-------------|:-------------------------------------------------------:|:-------------------------------------------------------:|:---------------------------------------------------------------------------| |-------------|:---------------------------------------------------------------:|:-------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------------------------------------------|
| SDK 4.7 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md | | SDK 4.8 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x/ 23.2.x | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.2.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.6 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md | | SDK 4.7 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x / 23.1.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.5 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md | | SDK 4.6 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x / 7.4.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.4 | Alfresco 7.0.x / 7.1.x / 7.2.x | Alfresco 7.0.x / 7.1.x / 7.2.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md | | SDK 4.5 | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x | Alfresco 7.0.x / 7.1.x / 7.2.x / 7.3.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.3 | Alfresco 6.0.x / 6.1.x / 6.2.x / 7.0.x / 7.1.x | Alfresco 7.0.x / 7.1.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md | | SDK 4.4 | Alfresco 7.0.x / 7.1.x / 7.2.x | Alfresco 7.0.x / 7.1.x / 7.2.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.2 | Alfresco 6.0.x / 6.1.x / 6.2.x / 7.0.x | Alfresco 7.0.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md | | SDK 4.3 | Alfresco 6.0.x / 6.1.x / 6.2.x / 7.0.x / 7.1.x | Alfresco 7.0.x / 7.1.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.1 | Alfresco 6.0.x / 6.1.x / 6.2.x | Alfresco 6.0.x / 6.1.x / 6.2.x | https://github.com/Alfresco/alfresco-sdk/blob/sdk-4.1/docs/README.md | | SDK 4.2 | Alfresco 6.0.x / 6.1.x / 6.2.x / 7.0.x | Alfresco 7.0.x | https://github.com/Alfresco/alfresco-sdk/tree/master/docs/README.md |
| SDK 4.0 | Alfresco 6.0.x / 6.1.x | Alfresco 6.0.x / 6.1.x | https://github.com/Alfresco/alfresco-sdk/blob/sdk-4.0/docs/README.md | | SDK 4.1 | Alfresco 6.0.x / 6.1.x / 6.2.x | Alfresco 6.0.x / 6.1.x / 6.2.x | https://github.com/Alfresco/alfresco-sdk/blob/sdk-4.1/docs/README.md |
| SDK 3.1 | Alfresco 5.2.x | Alfresco 5.2.x | http://docs.alfresco.com/5.2/concepts/sdk-intro.html | | SDK 4.0 | Alfresco 6.0.x / 6.1.x | Alfresco 6.0.x / 6.1.x | https://github.com/Alfresco/alfresco-sdk/blob/sdk-4.0/docs/README.md |
| SDK 3.0 | Alfresco 5.2.x | Alfresco 5.2.x | http://docs.alfresco.com/5.2/concepts/sdk-intro.html | | SDK 3.1 | Alfresco 5.2.x | Alfresco 5.2.x | http://docs.alfresco.com/5.2/concepts/sdk-intro.html |
| SDK 2.2 | Alfresco 5.1.x | Alfresco 5.1.x | https://docs.alfresco.com/5.1/concepts/alfresco-sdk-intro.html | | SDK 3.0 | Alfresco 5.2.x | Alfresco 5.2.x | http://docs.alfresco.com/5.2/concepts/sdk-intro.html |
| SDK 2.1 | Alfresco 5.0.1 | Alfresco 5.0.d | https://docs.alfresco.com/sdk2.1/concepts/alfresco-sdk-intro.html | | SDK 2.2 | Alfresco 5.1.x | Alfresco 5.1.x | https://docs.alfresco.com/5.1/concepts/alfresco-sdk-intro.html |
| SDK 2.0 | Alfresco 5.0.0 | Alfresco 5.0.c | https://docs.alfresco.com/sdk2.0/concepts/alfresco-sdk-intro.html | | SDK 2.1 | Alfresco 5.0.1 | Alfresco 5.0.d | https://docs.alfresco.com/sdk2.1/concepts/alfresco-sdk-intro.html |
| SDK 1.1.1 | Alfresco 4.2.x | Alfresco 4.2.x | https://docs.alfresco.com/4.2/concepts/dev-extensions-maven-sdk-intro.html | | SDK 2.0 | Alfresco 5.0.0 | Alfresco 5.0.c | https://docs.alfresco.com/sdk2.0/concepts/alfresco-sdk-intro.html |
| SDK 1.1.1 | Alfresco 4.2.x | Alfresco 4.2.x | https://docs.alfresco.com/4.2/concepts/dev-extensions-maven-sdk-intro.html |
## Reporting Issues and Community Support ## Reporting Issues and Community Support
Report issues (and contribute!) [here](https://github.com/Alfresco/alfresco-sdk/issues?milestone=1&state=open) or join us on the [IRC Channel](http://chat.alfresco.com/). Report issues (and contribute!) [here](https://github.com/Alfresco/alfresco-sdk/issues?milestone=1&state=open) or join us on the [IRC Channel](http://chat.alfresco.com/).
@@ -11,7 +11,7 @@
<parent> <parent>
<groupId>org.alfresco.maven</groupId> <groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId> <artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.7.1-SNAPSHOT</version> <version>4.9.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>
@@ -1,6 +1,6 @@
# Alfresco AIO Project - SDK 4.7 # Alfresco AIO Project - SDK 4.8
This is an All-In-One (AIO) project for Alfresco SDK 4.7. This is an All-In-One (AIO) project for Alfresco SDK 4.8.
Run with `./run.sh build_start` or `./run.bat build_start` and verify that it Run with `./run.sh build_start` or `./run.bat build_start` and verify that it
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>${artifactId}</artifactId> <artifactId>${artifactId}</artifactId>
<name>Integration Tests Module</name> <name>Integration Tests Module</name>
<description>Integration Tests module for in-container integration testing - part of AIO - SDK 4.7</description> <description>Integration Tests module for in-container integration testing - part of AIO - SDK 4.8</description>
<packaging>jar</packaging> <!-- Note. this just runs Integration Tests, but it needs to be a JAR otherwise <packaging>jar</packaging> <!-- Note. this just runs Integration Tests, but it needs to be a JAR otherwise
nothing is compiled (i.e. you cannot set it to pom) --> nothing is compiled (i.e. you cannot set it to pom) -->
@@ -14,10 +14,16 @@ RUN java -jar $TOMCAT_DIR/alfresco-mmt/alfresco-mmt*.jar install \
$TOMCAT_DIR/amps $TOMCAT_DIR/webapps/alfresco -directory -nobackup -force $TOMCAT_DIR/amps $TOMCAT_DIR/webapps/alfresco -directory -nobackup -force
COPY alfresco-global.properties $TOMCAT_DIR/shared/classes/alfresco-global.properties COPY alfresco-global.properties $TOMCAT_DIR/shared/classes/alfresco-global.properties
COPY dev-log4j2.properties $TOMCAT_DIR/shared/classes/alfresco/extension COPY dev-log4j2.properties $TOMCAT_DIR/shared/classes/alfresco/extension/dev-log4j2.properties
COPY disable-webscript-caching-context.xml $TOMCAT_DIR/shared/classes/alfresco/extension COPY disable-webscript-caching-context.xml $TOMCAT_DIR/shared/classes/alfresco/extension
# Copy Dockerfile to avoid an error if no license file exists # Copy Dockerfile to avoid an error if no license file exists
COPY Dockerfile license/*.* $TOMCAT_DIR/webapps/alfresco/WEB-INF/classes/alfresco/extension/license/ COPY Dockerfile license/*.* $TOMCAT_DIR/webapps/alfresco/WEB-INF/classes/alfresco/extension/license/
# Move the log file
RUN sed -i -e "s_appender.rolling.fileName\=alfresco.log_appender.rolling.fileName\=${TOMCAT_DIR}/logs\/alfresco.log_" \
${TOMCAT_DIR}/shared/classes/alfresco/extension/dev-log4j2.properties && \
sed -i -e "s_appender.rolling.filePattern=alfresco.log.%d{yyyy-MM-dd}_appender.rolling.filePattern\=${TOMCAT_DIR}/logs\/alfresco.log.%d{yyyy-MM-dd}_" \
${TOMCAT_DIR}/shared/classes/alfresco/extension/dev-log4j2.properties
USER ${USERNAME} USER ${USERNAME}
@@ -1,19 +1,11 @@
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
# Set root logger level to error
#log4j2.rootLogger=error, Console, File
rootLogger.level=error rootLogger.level=error
rootLogger.appenderRef.stdout.ref=ConsoleAppender rootLogger.appenderRef.stdout.ref=ConsoleAppender
rootLogger.appenderRef.rolling.ref=RollingAppender rootLogger.appenderRef.rolling.ref=RollingAppender
# All outputs currently set to be a ConsoleAppender. # All outputs currently set to be a ConsoleAppender.
appender.console.type=Console appender.console.type=Console
appender.console.name=ConsoleAppender appender.console.name=ConsoleAppender
appender.console.layout.type=PatternLayout appender.console.layout.type=PatternLayout
appender.console.layout.pattern=%d{ISO8601} %x %-5p [%c{3}] [%t] %replace{%m}{[\r\n]+}{}%n
# use log4j NDC to replace %x with tenant domain / username # use log4j NDC to replace %x with tenant domain / username
appender.console.layout.pattern=%d{ISO8601} %x %-5p [%c{3}] [%t] %replace{%m}{[\r\n]+}{}%n appender.console.layout.pattern=%d{ISO8601} %x %-5p [%c{3}] [%t] %replace{%m}{[\r\n]+}{}%n
@@ -206,10 +198,6 @@ logger.alfresco-repo-node-db-NodeStringLengthWorker.level=info
logger.alfresco-repo-workflow.name=org.alfresco.repo.workflow logger.alfresco-repo-workflow.name=org.alfresco.repo.workflow
logger.alfresco-repo-workflow.level=info logger.alfresco-repo-workflow.level=info
# CIFS server debugging
logger.alfresco-smb.protocol.name=org.alfresco.smb.protocol
logger.alfresco-smb.protocol.level=error
# FTP server debugging # FTP server debugging
logger.alfresco-ftp-protocol.name=org.alfresco.ftp.protocol logger.alfresco-ftp-protocol.name=org.alfresco.ftp.protocol
logger.alfresco-ftp-protocol.level=error logger.alfresco-ftp-protocol.level=error
@@ -368,7 +356,6 @@ logger.alfresco-repo-domain-schema-script-DeleteNotExistsExecutor.level=off
logger.alfresco-repo-search-impl-solr-facet-SolrFacetServiceImpl.name=org.alfresco.repo.search.impl.solr.facet.SolrFacetServiceImpl logger.alfresco-repo-search-impl-solr-facet-SolrFacetServiceImpl.name=org.alfresco.repo.search.impl.solr.facet.SolrFacetServiceImpl
logger.alfresco-repo-search-impl-solr-facet-SolrFacetServiceImpl.level=info logger.alfresco-repo-search-impl-solr-facet-SolrFacetServiceImpl.level=info
# Bulk Filesystem Import Tool # Bulk Filesystem Import Tool
logger.alfresco-repo-bulkimport.name=org.alfresco.repo.bulkimport logger.alfresco-repo-bulkimport.name=org.alfresco.repo.bulkimport
logger.alfresco-repo-bulkimport.level=warn logger.alfresco-repo-bulkimport.level=warn
@@ -386,9 +373,6 @@ logger.alfresco-repo-content-metadata-AbstractMappingMetadataExtracter.level=war
logger.apache-pdfbox-pdmodel-font-PDSimpleFont.name=org.apache.pdfbox.pdmodel.font.PDSimpleFont logger.apache-pdfbox-pdmodel-font-PDSimpleFont.name=org.apache.pdfbox.pdmodel.font.PDSimpleFont
logger.apache-pdfbox-pdmodel-font-PDSimpleFont.level=fatal logger.apache-pdfbox-pdmodel-font-PDSimpleFont.level=fatal
logger.apache-pdfbox-pdmodel-font-PDFont.name=org.apache.pdfbox.pdmodel.font.PDFont
logger.apache-pdfbox-pdmodel-font-PDFont=fatal
logger.apache-pdfbox-pdmodel-font-PDCIDFont.name=org.apache.pdfbox.pdmodel.font.PDCIDFont logger.apache-pdfbox-pdmodel-font-PDCIDFont.name=org.apache.pdfbox.pdmodel.font.PDCIDFont
logger.apache-pdfbox-pdmodel-font-PDCIDFont.level=fatal logger.apache-pdfbox-pdmodel-font-PDCIDFont.level=fatal
@@ -398,7 +382,6 @@ logger.alfresco-repo-search-impl-noindex-NoIndexIndexer.level=fatal
logger.alfresco-repo-search-impl-noindex-NoIndexSearchService.name=org.alfresco.repo.search.impl.noindex.NoIndexSearchService logger.alfresco-repo-search-impl-noindex-NoIndexSearchService.name=org.alfresco.repo.search.impl.noindex.NoIndexSearchService
logger.alfresco-repo-search-impl-noindex-NoIndexSearchService.level=fatal logger.alfresco-repo-search-impl-noindex-NoIndexSearchService.level=fatal
.
# lucene index warnings # lucene index warnings
logger.alfresco-repo-search-impl-lucene-index-IndexInfo.name=org.alfresco.repo.search.impl.lucene.index.IndexInfo logger.alfresco-repo-search-impl-lucene-index-IndexInfo.name=org.alfresco.repo.search.impl.lucene.index.IndexInfo
@@ -421,10 +404,9 @@ logger.alfresco-enterprise-repo-authorization-AuthorizationsConsistencyMonitor.l
#----------------------------------------------------------------------- #-----------------------------------------------------------------------
# Platform module logging # Platform module logging
#----------------------------------------------------------------------- #-----------------------------------------------------------------------
logger.${package}-platformsample-DemoComponent.name=${package}.platformsample.DemoComponent logger.platformsample-DemoComponent.name=${package}.platformsample.DemoComponent
logger.${package}-platformsample-DemoComponent.level=debug logger.platformsample-DemoComponent.level=debug
logger.${package}-platformsample-HelloWorldWebScript.name=${package}.platformsample.HelloWorldWebScript logger.platformsample-HelloWorldWebScript.name=${package}.platformsample.HelloWorldWebScript
logger.${package}-platformsample-HelloWorldWebScript.level=debug logger.platformsample-HelloWorldWebScript.level=debug
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>${artifactId}</artifactId> <artifactId>${artifactId}</artifactId>
<name>Alfresco Platform/Repository JAR Module</name> <name>Alfresco Platform/Repository JAR Module</name>
<description>Platform/Repo JAR Module (to be included in the alfresco.war) - part of AIO - SDK 4.7</description> <description>Platform/Repo JAR Module (to be included in the alfresco.war) - part of AIO - SDK 4.8</description>
<packaging>jar</packaging> <packaging>jar</packaging>
<parent> <parent>
@@ -5,7 +5,7 @@
<artifactId>${artifactId}</artifactId> <artifactId>${artifactId}</artifactId>
<name>Alfresco Share JAR Module</name> <name>Alfresco Share JAR Module</name>
<packaging>jar</packaging> <packaging>jar</packaging>
<description>Sample Share JAR Module (to be included in the share.war) - part of AIO - SDK 4.7</description> <description>Sample Share JAR Module (to be included in the share.war) - part of AIO - SDK 4.8</description>
<parent> <parent>
<groupId>${groupId}</groupId> <groupId>${groupId}</groupId>
@@ -5,8 +5,8 @@
<groupId>${groupId}</groupId> <groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId> <artifactId>${artifactId}</artifactId>
<version>${version}</version> <version>${version}</version>
<name>AIO - SDK 4.7</name> <name>AIO - SDK 4.8</name>
<description>All-In-One (AIO) project for SDK 4.7</description> <description>All-In-One (AIO) project for SDK 4.8</description>
<packaging>pom</packaging> <packaging>pom</packaging>
<prerequisites> <prerequisites>
@@ -12,7 +12,7 @@
<parent> <parent>
<groupId>org.alfresco.maven</groupId> <groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId> <artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.7.1-SNAPSHOT</version> <version>4.9.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>
@@ -1,6 +1,6 @@
# Alfresco ACS JAR Module - SDK 4.7 # Alfresco ACS JAR Module - SDK 4.8
This is an ACS project for Alfresco SDK 4.7. This is an ACS project for Alfresco SDK 4.8.
Run with `./run.sh build_start` or `./run.bat build_start` and verify that it Run with `./run.sh build_start` or `./run.bat build_start` and verify that it
@@ -14,7 +14,7 @@
<parent> <parent>
<groupId>org.alfresco.maven</groupId> <groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId> <artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.7.1-SNAPSHOT</version> <version>4.9.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>
@@ -1,6 +1,6 @@
# Alfresco Share JAR Module - SDK 4.7 # Alfresco Share JAR Module - SDK 4.8
This is a Share project for Alfresco SDK 4.7. This is a Share project for Alfresco SDK 4.8.
Run with `./run.sh build_start` or `./run.bat build_start` and verify that it Run with `./run.sh build_start` or `./run.bat build_start` and verify that it
+1 -1
View File
@@ -17,7 +17,7 @@
<parent> <parent>
<groupId>org.alfresco.maven</groupId> <groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId> <artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.7.1-SNAPSHOT</version> <version>4.9.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>
+3 -3
View File
@@ -1,7 +1,7 @@
--- ---
Title: Alfresco SDK 4.7 Title: Alfresco SDK 4.8
Added: v3.0.0 Added: v3.0.0
Last reviewed: 2023-11-08 Last reviewed: 2024-03-05
--- ---
# Alfresco SDK 4 # Alfresco SDK 4
@@ -18,7 +18,7 @@ Alfresco SDK 4.x is released under [Apache License version 2.0](http://www.apach
in Community Edition and Enterprise Edition. If you're an Enterprise customer, please check the [Alfresco SDK Support status](https://www.alfresco.com/alfresco-product-support-status) in Community Edition and Enterprise Edition. If you're an Enterprise customer, please check the [Alfresco SDK Support status](https://www.alfresco.com/alfresco-product-support-status)
for the version you're using. If your version is in Limited or Full Support and you need help, contact our Support team [http://support.alfresco.com](http://support.alfresco.com/). for the version you're using. If your version is in Limited or Full Support and you need help, contact our Support team [http://support.alfresco.com](http://support.alfresco.com/).
Alfresco SDK 4.7 is a minor update to the SDK and provides support for Alfresco 23.1.x. Alfresco SDK 4.8 is a minor update to the SDK and provides support for Alfresco 23.2.x.
The 4.0 release takes advantage of Semantic Versioning ([SEMVER](http://semver.org/)), which means that this new release is not directly compatible with the The 4.0 release takes advantage of Semantic Versioning ([SEMVER](http://semver.org/)), which means that this new release is not directly compatible with the
previous releases of the SDK. previous releases of the SDK.
+3 -2
View File
@@ -118,7 +118,7 @@ Choose archetype:
* `org.alfresco.maven.archetype:alfresco-platform-jar-archetype` * `org.alfresco.maven.archetype:alfresco-platform-jar-archetype`
* `org.alfresco.maven.archetype:alfresco-share-jar-archetype` * `org.alfresco.maven.archetype:alfresco-share-jar-archetype`
3. Choose the latest version, such as 4.7.0. 3. Choose the latest version, such as 4.8.0.
``` ```
Choose org.alfresco.maven.archetype:alfresco-allinone-archetype version: Choose org.alfresco.maven.archetype:alfresco-allinone-archetype version:
@@ -142,6 +142,7 @@ Choose org.alfresco.maven.archetype:alfresco-allinone-archetype version:
18: 4.5.0 18: 4.5.0
19: 4.6.0 19: 4.6.0
20: 4.7.0 20: 4.7.0
21: 4.8.0
``` ```
4. Next you will be prompted for additional values, like groupId, artifactId, and package, as shown below: 4. Next you will be prompted for additional values, like groupId, artifactId, and package, as shown below:
@@ -170,7 +171,7 @@ If everything has been configured correctly, you should see something similar to
``` ```
[INFO] ---------------------------------------------------------------------------- [INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: alfresco-allinone-archetype:4.7.0 [INFO] Using following parameters for creating project from Archetype: alfresco-allinone-archetype:4.8.0
[INFO] ---------------------------------------------------------------------------- [INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.acme [INFO] Parameter: groupId, Value: com.acme
[INFO] Parameter: artifactId, Value: my-all-in-one [INFO] Parameter: artifactId, Value: my-all-in-one
+4 -4
View File
@@ -10,7 +10,7 @@ Alfresco Share 6.
This was a mayor release oriented to support Alfresco 6, so it is not compatible with previous versions of the SDK. This was a mayor release oriented to support Alfresco 6, so it is not compatible with previous versions of the SDK.
Alfresco SDK 4.7 extends the support to Alfresco 23.1. Alfresco SDK 4.8 extends the support to Alfresco 23.2.
Use an older SDK version for Alfresco 6. Use an older SDK version for Alfresco 6.
## Embracing containers and Docker ## Embracing containers and Docker
@@ -64,13 +64,13 @@ environment can be more similar to a real one, including whatever other service
Alfresco SDK 4.1 provides support for Alfresco 6.2.x. Alfresco SDK 4.1 provides support for Alfresco 6.2.x.
## Support for Alfresco 7.0.x, 7.1.x, 7.2.x, 7.3.x, 7.4.x and 23.1.x ## Support for Alfresco 7.0.x, 7.1.x, 7.2.x, 7.3.x, 7.4.x. 23.1.x and 23.2.x
Alfresco SDK 4.7 provides support for Alfresco 7.0.x, 7.1.x, 7.2.x, 7.3.x, 7.4.x and 23.1.x. Alfresco SDK 4.8 provides support for Alfresco 7.0.x, 7.1.x, 7.2.x, 7.3.x, 7.4.x, 23.1.x and 23.2.x.
## Support for Java 17 ## Support for Java 17
[Java 17](https://openjdk.java.net/projects/jdk/17/) is the latest stable long term (8 year support) version after Java 11. Alfresco 7.3.x already offers [Java 17](https://openjdk.java.net/projects/jdk/17/) is the latest stable long term (8 year support) version after Java 11. Alfresco 7.3.x already offers
support for this version of the Java platform. support for this version of the Java platform.
Alfresco SDK 4.5 has been modified to add support for Java 17 as well. This way, if you're working as a developer in customisations for Alfresco 7.3.x or 7.4.x or 23.1.x you can Alfresco SDK 4.5 has been modified to add support for Java 17 as well. This way, if you're working as a developer in customisations for Alfresco 7.3.x or 7.4.x , 23.1.x or 23.2.x you can
now use SDK 4.5 (or greater) + JDK 17 to work on them. The Apache Maven plugins included in the archetypes has been updated to avoid any issue with Java 17. now use SDK 4.5 (or greater) + JDK 17 to work on them. The Apache Maven plugins included in the archetypes has been updated to avoid any issue with Java 17.
@@ -78,7 +78,7 @@ my-all-in-one-project mbergljung$ ./run.sh build_start
[INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order: [INFO] Reactor Build Order:
[INFO] [INFO]
[INFO] AIO - SDK 4.7 [INFO] AIO - SDK 4.8
[INFO] Alfresco Platform/Repository JAR Module [INFO] Alfresco Platform/Repository JAR Module
[INFO] Alfresco Share JAR Module [INFO] Alfresco Share JAR Module
[INFO] Integration Tests Module [INFO] Integration Tests Module
@@ -88,7 +88,7 @@ my-all-in-one-project mbergljung$ ./run.sh build_start
[INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary: [INFO] Reactor Summary:
[INFO] [INFO]
[INFO] AIO - SDK 4.7 ...................................... SUCCESS [ 0.680 s] [INFO] AIO - SDK 4.8 ...................................... SUCCESS [ 0.680 s]
[INFO] Alfresco Platform/Repository JAR Module ............ SUCCESS [ 5.461 s] [INFO] Alfresco Platform/Repository JAR Module ............ SUCCESS [ 5.461 s]
[INFO] Alfresco Share JAR Module .......................... SUCCESS [ 0.557 s] [INFO] Alfresco Share JAR Module .......................... SUCCESS [ 0.557 s]
[INFO] Integration Tests Module ........................... SUCCESS [ 0.900 s] [INFO] Integration Tests Module ........................... SUCCESS [ 0.900 s]
+1 -1
View File
@@ -10,7 +10,7 @@
<parent> <parent>
<groupId>org.alfresco.maven</groupId> <groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId> <artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.7.1-SNAPSHOT</version> <version>4.9.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>
+9 -4
View File
@@ -8,7 +8,7 @@
<parent> <parent>
<groupId>org.alfresco.maven</groupId> <groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId> <artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.7.1-SNAPSHOT</version> <version>4.9.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>
@@ -92,7 +92,7 @@
<dependency> <dependency>
<groupId>org.codehaus.plexus</groupId> <groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-archiver</artifactId> <artifactId>plexus-archiver</artifactId>
<version>3.4</version> <version>4.9.2</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.maven</groupId> <groupId>org.apache.maven</groupId>
@@ -127,7 +127,12 @@
<dependency> <dependency>
<groupId>org.alfrescolabs.alfresco-technical-validation</groupId> <groupId>org.alfrescolabs.alfresco-technical-validation</groupId>
<artifactId>org.alfrescolabs.alfresco-technical-validation</artifactId> <artifactId>org.alfrescolabs.alfresco-technical-validation</artifactId>
<version>0.4.0</version> <version>0.6.0</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.twdata.maven</groupId> <groupId>org.twdata.maven</groupId>
@@ -138,7 +143,7 @@
<dependency> <dependency>
<groupId>org.zeroturnaround</groupId> <groupId>org.zeroturnaround</groupId>
<artifactId>zt-zip</artifactId> <artifactId>zt-zip</artifactId>
<version>1.11</version> <version>1.17</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>de.schlichtherle.truezip</groupId> <groupId>de.schlichtherle.truezip</groupId>
+33 -7
View File
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.alfresco.maven</groupId> <groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId> <artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.7.1-SNAPSHOT</version> <version>4.9.0-SNAPSHOT</version>
<name>Alfresco SDK</name> <name>Alfresco SDK</name>
<description>This aggregator Project builds all modules required for the Alfresco SDK</description> <description>This aggregator Project builds all modules required for the Alfresco SDK</description>
<packaging>pom</packaging> <packaging>pom</packaging>
@@ -30,7 +30,7 @@
<connection>scm:git:${scm.url.base}.git</connection> <connection>scm:git:${scm.url.base}.git</connection>
<developerConnection>scm:git:${scm.url.base}</developerConnection> <developerConnection>scm:git:${scm.url.base}</developerConnection>
<url>${scm.url.base}</url> <url>${scm.url.base}</url>
<tag>alfresco-sdk-aggregator-4.7.1-SNAPSHOT</tag> <tag>alfresco-sdk-aggregator-4.8.0</tag>
</scm> </scm>
<!-- All the modules of the Alfresco SDK --> <!-- All the modules of the Alfresco SDK -->
@@ -56,17 +56,17 @@
<alfresco.sdk.tests.exclude>*/*-enterprise*/*</alfresco.sdk.tests.exclude> <alfresco.sdk.tests.exclude>*/*-enterprise*/*</alfresco.sdk.tests.exclude>
<alfresco.bomDependency.artifactId>acs-community-packaging</alfresco.bomDependency.artifactId> <alfresco.bomDependency.artifactId>acs-community-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>23.1.0</alfresco.platform.version> <alfresco.platform.version>23.2.1</alfresco.platform.version>
<alfresco.platform.docker.user>alfresco</alfresco.platform.docker.user> <alfresco.platform.docker.user>alfresco</alfresco.platform.docker.user>
<alfresco.share.docker.version>23.1.0</alfresco.share.docker.version> <alfresco.share.docker.version>23.2.1</alfresco.share.docker.version>
<!-- <!--
The following value is now obtained by looking at the The following value is now obtained by looking at the
- alfresco-community-share.version (eg. https://github.com/Alfresco/acs-community-packaging/blob/23.1.0/pom.xml#L17) - alfresco-community-share.version (eg. https://github.com/Alfresco/acs-community-packaging/blob/23.2.1/pom.xml#L17)
or or
- alfresco-enterprise-share.version (eg. https://github.com/Alfresco/acs-packaging/blob/23.1.0/pom.xml#L18) - alfresco-enterprise-share.version (eg. https://github.com/Alfresco/acs-packaging/blob/23.2.1/pom.xml#L18)
for the GitHub Tag related to the above Docker version. for the GitHub Tag related to the above Docker version.
--> -->
<alfresco.share.version>23.1.0.269</alfresco.share.version> <alfresco.share.version>23.2.0.72</alfresco.share.version>
<alfresco.platform.docker.image>alfresco/alfresco-content-repository-community</alfresco.platform.docker.image> <alfresco.platform.docker.image>alfresco/alfresco-content-repository-community</alfresco.platform.docker.image>
<alfresco.share.docker.image>alfresco/alfresco-share</alfresco.share.docker.image> <alfresco.share.docker.image>alfresco/alfresco-share</alfresco.share.docker.image>
<keystore.settings> <keystore.settings>
@@ -250,6 +250,32 @@
</properties> </properties>
</profile> </profile>
<!-- 23.2 -->
<profile>
<id>community-232-tests</id>
<properties>
<alfresco.bomDependency.artifactId>acs-community-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>23.2.1</alfresco.platform.version>
<alfresco.share.docker.version>23.2.1</alfresco.share.docker.version>
<alfresco.share.version>23.2.0.72</alfresco.share.version>
<alfresco.platform.docker.image>alfresco/alfresco-content-repository-community</alfresco.platform.docker.image>
<alfresco.share.docker.image>alfresco/alfresco-share</alfresco.share.docker.image>
<alfresco.platform.docker.user>alfresco</alfresco.platform.docker.user>
</properties>
</profile>
<profile>
<id>enterprise-232-tests</id>
<properties>
<alfresco.bomDependency.artifactId>acs-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>23.2.1</alfresco.platform.version>
<alfresco.share.docker.version>23.2.1</alfresco.share.docker.version>
<alfresco.share.version>23.2.0.72</alfresco.share.version>
<alfresco.platform.docker.image>quay.io/alfresco/alfresco-content-repository</alfresco.platform.docker.image>
<alfresco.share.docker.image>quay.io/alfresco/alfresco-share</alfresco.share.docker.image>
<alfresco.platform.docker.user>alfresco</alfresco.platform.docker.user>
</properties>
</profile>
<profile> <profile>
<id>sdk-release</id> <id>sdk-release</id>
<properties> <properties>
+3
View File
@@ -0,0 +1,3 @@
# To avoid the provided dependencies we set the scope to runtime. See: https://docs.veracode.com/r/c_sc_scan_directives
# runtime: to restrict the scan to compile and runtime dependencies.
scope: runtime