Skip to content
This repository was archived by the owner on Jan 27, 2021. It is now read-only.

Commit 502facc

Browse files
GEODE-8496: un-upgrade archunit to avoid OOM on JDK8 (apache#5565)
* GEODE-8496: un-upgrade archunit to avoid OOM on JDK8 * don't try to bump archunit in the future
1 parent 56f5508 commit 502facc

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

boms/geode-all-bom/src/test/resources/expected-pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
<dependency>
167167
<groupId>com.tngtech.archunit</groupId>
168168
<artifactId>archunit-junit4</artifactId>
169-
<version>0.14.1</version>
169+
<version>0.12.0</version>
170170
<scope>compile</scope>
171171
</dependency>
172172
<dependency>

buildSrc/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class DependencyConstraints implements Plugin<Project> {
105105
api(group: 'com.sun.istack', name: 'istack-commons-runtime', version: '3.0.11')
106106
api(group: 'com.sun.mail', name: 'javax.mail', version: '1.6.2')
107107
api(group: 'com.sun.xml.bind', name: 'jaxb-impl', version: '2.3.2')
108-
api(group: 'com.tngtech.archunit', name:'archunit-junit4', version: '0.14.1')
108+
api(group: 'com.tngtech.archunit', name:'archunit-junit4', version: '0.12.0')
109109
api(group: 'com.zaxxer', name: 'HikariCP', version: '3.4.5')
110110
api(group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.4')
111111
api(group: 'commons-codec', name: 'commons-codec', version: '1.15')

dev-tools/dependencies/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Step 2: filter out certain dependencies that we cannot change, such as:
1919
- protobuf
2020
- lucene
2121
- tomcat 6
22+
- archunit (13.0 and later get OOM on JDK8)
2223

2324
Step 3: in some cases, maven suggests new majors, beta releases, or just wrong releases.
2425
Manually search for those dependencies on mavencentral to see if there is a better choice.

dev-tools/dependencies/bump.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fi
2424

2525
if [ "$1" = "-l" ] ; then
2626
./gradlew dependencyUpdates; find . | grep build/dependencyUpdates/report.txt | xargs cat \
27-
| grep ' -> ' | egrep -v '(Gradle|antlr|protobuf|lucene|JUnitParams|docker-compose-rule|javax.servlet-api|gradle-tooling-api|springfox)' \
27+
| grep ' -> ' | egrep -v '(Gradle|antlr|protobuf|lucene|JUnitParams|docker-compose-rule|javax.servlet-api|gradle-tooling-api|springfox|archunit)' \
2828
| sort -u | tr -d '][' | sed -e 's/ -> / /' -e 's#.*:#'"$0"' #'
2929
exit 0
3030
fi

0 commit comments

Comments
 (0)