Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit e6a871b

Browse files
authored
Merge pull request #292 from xenit-eu/master
Release 2.0.3
2 parents 1948793 + 45b57cc commit e6a871b

File tree

59 files changed

+2247
-259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2247
-259
lines changed

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ addons:
55
packages:
66
- docker-ce
77

8+
git:
9+
depth: false
10+
811
jdk:
912
- oraclejdk8
1013

@@ -15,6 +18,24 @@ install: ./gradlew assemble -i
1518

1619
script:
1720
- ./gradlew test
21+
- |
22+
if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then
23+
./gradlew sonarqube -x check \
24+
-Dsonar.host.url=https://sonarcloud.io \
25+
-Dsonar.login="$SONAR_TOKEN" \
26+
-Dsonar.organization="xenit-eu" \
27+
-Dsonar.projectKey="$SONAR_PROJECT_KEY" \
28+
-Dsonar.branch.name="$TRAVIS_BRANCH";
29+
else
30+
./gradlew sonarqube -x check \
31+
-Dsonar.host.url=https://sonarcloud.io \
32+
-Dsonar.login="$SONAR_TOKEN" \
33+
-Dsonar.organization=xenit-eu \
34+
-Dsonar.projectKey="$SONAR_PROJECT_KEY" \
35+
-Dsonar.pullrequest.key="$TRAVIS_PULL_REQUEST" \
36+
-Dsonar.pullrequest.base="$TRAVIS_BRANCH" \
37+
-Dsonar.pullrequest.branch="$TRAVIS_PULL_REQUEST_BRANCH";
38+
fi;
1839
1940
before_cache:
2041
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ Version template:
2121
-->
2222
# Dynamic Extensions For Alfresco Changelog
2323

24+
## [2.0.3] - 2020-03-12
25+
### Added
26+
* Alfresco 6.2 compatible AMP artifact
27+
28+
### Fixed
29+
* [#287](https://github.com/xenit-eu/dynamic-extensions-for-alfresco/issues/287) Dynamic Extensions not starting with Spring 3 and no internet
30+
* [#281](https://github.com/xenit-eu/dynamic-extensions-for-alfresco/issues/281) Invalid system packages (WEB-INF/lib) cache state in a docker based setup
31+
* [#275](https://github.com/xenit-eu/dynamic-extensions-for-alfresco/issues/275) Registering behaviours for model that are deployed in the same extension fail
32+
* [#197](https://github.com/xenit-eu/dynamic-extensions-for-alfresco/issues/197) Deploying dependent document models from the same bundle are not loaded in the correct order
33+
* [#265](https://github.com/xenit-eu/dynamic-extensions-for-alfresco/issues/265) `DeBundle` task failing to use build cache
34+
2435
## [2.0.2] - 2019-10-08
2536
### Fixed
2637
* [#267](https://github.com/xenit-eu/dynamic-extensions-for-alfresco/issues/267) Dynamic Extensions not starting with Spring 5 and no internet

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ the [Alfresco Docker Gradle Plugins](https://github.com/xenit-eu/alfresco-docker
6060

6161
Dynamic Extensions is systematically integration-tested against:
6262

63-
* Alfresco Enterprise & Community 6.1
63+
* Alfresco Enterprise & Community 6.2 (Requires hotfix, see below)
64+
* Alfresco Enterprise & Community 6.1 (Requires hotfix, see below)
6465
* Alfresco Enterprise & Community 6.0
6566
* Alfresco Enterprise & Community 5.2
6667
* Alfresco Enterprise & Community 5.1
@@ -69,7 +70,7 @@ Dynamic Extensions is systematically integration-tested against:
6970
> Integration tests are currently only executed on our private Jenkins build server.
7071
7172
#### Known Alfresco issues that impact Dynamic Extensions
72-
<details><summary>Alfresco 6.1 - wrong version of 'Commons annotations' used</summary>When using DE on Alfresco 6.1, it is possible that it fails to startup due to following error:
73+
<details><summary>Alfresco 6.1 / 6.2 - wrong version of 'Commons annotations' used</summary>When using DE on Alfresco 6.1 or 6.2, it is possible that it fails to startup due to following error:
7374

7475
```
7576
Caused by: java.lang.NoSuchMethodError: javax.annotation.Resource.lookup()Ljava/lang/String;
@@ -98,7 +99,7 @@ of the `Resource` class embedded in the distribution, and the
9899
[`bootstrap` classloader has the highest priority](https://tomcat.apache.org/tomcat-9.0-doc/class-loader-howto.html).
99100

100101
This issue has been reported to Alfresco: [MNT-20557](https://issues.alfresco.com/jira/browse/MNT-20557).
101-
Waiting for Alfresco to fix the issue, following workarounds can be used to make DE work on Alfresco 6.1:
102+
Waiting for Alfresco to fix the issue, following workarounds can be used to make DE work on Alfresco 6.1 and 6.2:
102103

103104
* Remove the `jsr250-api` and `geronimo-annotation_1.0_spec` jars from the `WEB-INF/lib` folder of the Alfresco webapp.
104105
* Install [this hotfix AMP](https://github.com/xenit-eu/alfresco-hotfix-MNT-20557) in your Alfresco distribution,

0 commit comments

Comments
 (0)