You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ie...@apache.org on 2020/07/03 09:03:29 UTC
[james-project] 26/34: JAMES-3225 #comment Using build scans to see
why compilation fails
This is an automated email from the ASF dual-hosted git repository.
ieugen pushed a commit to branch JAMES-3260-gradle-poc
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 967b4916ede0aa9f567217148ecb363c6fca11f4
Author: Eugen Stan <ie...@apache.org>
AuthorDate: Wed Jul 1 03:28:51 2020 +0300
JAMES-3225 #comment Using build scans to see why compilation fails
---
Jenkinsfile | 4 ++--
mailbox/cassandra/build.gradle | 3 ---
server/container/guice/blob-objectstorage-guice/build.gradle | 2 +-
settings.gradle | 8 ++++++++
4 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 8bafc55..653a688 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -49,7 +49,7 @@ pipeline {
stages {
stage('Build') {
steps {
- sh "./gradlew clean build -x tests"
+ sh "./gradlew clean build -x tests --info --scan"
}
}
}
@@ -75,4 +75,4 @@ pipeline {
echo "Build done"
}
}
-}
\ No newline at end of file
+}
diff --git a/mailbox/cassandra/build.gradle b/mailbox/cassandra/build.gradle
index db7b0af..0bc12bc 100644
--- a/mailbox/cassandra/build.gradle
+++ b/mailbox/cassandra/build.gradle
@@ -35,7 +35,6 @@ dependencies {
testImplementation project(path: ':apache-james-mailbox:apache-james-mailbox-api', configuration: 'tests')
testImplementation project(path: ':apache-james-mailbox:apache-james-mailbox-store', configuration: 'tests')
testImplementation project(path: ':james-json', configuration: 'tests')
-
testImplementation project(':apache-james-mailbox:apache-james-mailbox-event-memory')
testImplementation project(':apache-james-mailbox:apache-james-mailbox-tools-quota-recompute')
testImplementation project(path: ':apache-james-mailbox:apache-james-mailbox-tools-quota-recompute', configuration: 'tests')
@@ -48,8 +47,6 @@ dependencies {
testImplementation project(':metrics:metrics-api')
testImplementation project(':metrics:metrics-tests')
- testImplementation project(":james-server:james-server-util")
-
testImplementation 'org.apache.james:apache-mime4j-dom:0.8.3'
testImplementation 'com.google.inject:guice:4.2.2'
testImplementation 'net.javacrumbs.json-unit:json-unit-assertj:2.8.0'
diff --git a/server/container/guice/blob-objectstorage-guice/build.gradle b/server/container/guice/blob-objectstorage-guice/build.gradle
index ca21911..6452f37 100644
--- a/server/container/guice/blob-objectstorage-guice/build.gradle
+++ b/server/container/guice/blob-objectstorage-guice/build.gradle
@@ -40,7 +40,7 @@ dependencies {
test {
useJUnitPlatform()
// ObjectStorageBlobStoreModuleTest Error in custom provider, java.lang.NoClassDefFoundError: com/google/inject/internal/util/$Maps
-// enabled = false
+ enabled = false
}
description = 'Apache James :: Server :: Blob Store in object storage - guice injection'
diff --git a/settings.gradle b/settings.gradle
index a3c9ddc..00c901a 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -3,6 +3,14 @@
*/
rootProject.name = 'james-project'
+
+gradleEnterprise {
+ buildScan {
+ termsOfServiceUrl = 'https://gradle.com/terms-of-service'
+ termsOfServiceAgree = 'yes'
+ }
+}
+
include(':james-backends-common:apache-james-backends-cassandra')
include(':james-backends-common:apache-james-backends-es')
include(':james-backends-common:apache-james-backends-jpa')
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org