This is an automated email from the ASF dual-hosted git repository.
korlov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 3d609eca0fa IGNITE-25701 Get rid of JaCoCo plugin (#6069)
3d609eca0fa is described below
commit 3d609eca0fa133441ade18174a07092ce38674af
Author: korlov42 <[email protected]>
AuthorDate: Wed Jun 18 13:29:39 2025 +0300
IGNITE-25701 Get rid of JaCoCo plugin (#6069)
---
buildscripts/java-core.gradle | 27 ---------------
buildscripts/java-integration-test.gradle | 13 --------
gradle/libs.versions.toml | 1 -
modules/jacoco-report/build.gradle | 55 -------------------------------
settings.gradle | 2 --
5 files changed, 98 deletions(-)
diff --git a/buildscripts/java-core.gradle b/buildscripts/java-core.gradle
index 98185ea7c97..25da975ca77 100644
--- a/buildscripts/java-core.gradle
+++ b/buildscripts/java-core.gradle
@@ -16,7 +16,6 @@
*/
apply plugin: 'java'
-apply plugin: 'jacoco'
apply plugin: 'checkstyle'
apply plugin: 'pmd'
apply plugin: 'java-library'
@@ -29,10 +28,6 @@ java {
withJavadocJar()
}
-test {
- finalizedBy(jacocoTestReport)
-}
-
pmd {
ignoreFailures = false
consoleOutput = true
@@ -104,28 +99,6 @@ javadoc {
javadoc.dependsOn compileJava
-
-jacoco {
- toolVersion = libs.versions.jacocoTool.get()
-}
-
-
-jacocoTestReport {
- dependsOn test
-
- reports {
- xml.required = false
- html.required = true
- }
- afterEvaluate {
- classDirectories.setFrom(files(classDirectories.files.collect {
- fileTree(dir: it,
- exclude: ['org/apache/calcite/**/*'])
- }))
- }
-}
-
-
spotbugs {
ignoreFailures = false
showStackTraces = true
diff --git a/buildscripts/java-integration-test.gradle
b/buildscripts/java-integration-test.gradle
index 36ab1d3334c..e45e09b57af 100644
--- a/buildscripts/java-integration-test.gradle
+++ b/buildscripts/java-integration-test.gradle
@@ -16,8 +16,6 @@
*/
apply plugin: 'jvm-test-suite'
-apply plugin: 'jacoco'
-
testing {
suites {
@@ -82,17 +80,6 @@ pmdIntegrationTest {
enabled = false
}
-tasks.register('jacocoIntegrationTestReport', JacocoReport) {
- dependsOn integrationTest
-
- group = 'verification'
-
- reports {
- xml.required = false
- html.required = true
- }
-}
-
spotbugsIntegrationTest {
enabled(false)
}
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 7e3d04336e4..d2a678a0293 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -95,7 +95,6 @@ gradleToolingApi = "8.6"
#Tools
pmdTool = "6.55.0"
checkstyleTool = "10.3.3"
-jacocoTool = "0.8.11"
spotbugsTool = "4.8.3"
[plugins]
diff --git a/modules/jacoco-report/build.gradle
b/modules/jacoco-report/build.gradle
deleted file mode 100644
index 46cc5078ed1..00000000000
--- a/modules/jacoco-report/build.gradle
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-apply from: "$rootDir/buildscripts/java-core.gradle"
-apply from: "$rootDir/buildscripts/publishing.gradle"
-apply from: "$rootDir/buildscripts/java-junit5.gradle"
-
-dependencies {
- implementation project(':ignite-partition-distribution')
- implementation project(':ignite-api')
- implementation project(':ignite-bytecode')
- implementation project(':ignite-compute')
- implementation project(':ignite-sql-engine')
- implementation project(':ignite-cli')
- implementation project(':ignite-configuration')
- implementation project(':ignite-configuration-api')
- implementation project(':ignite-core')
- implementation project(':ignite-metastorage-api')
- implementation project(':ignite-metastorage')
- implementation project(':ignite-metastorage-cache')
- implementation project(':ignite-network')
- implementation project(':ignite-network-api')
- implementation project(':ignite-raft')
- implementation project(':ignite-raft-api')
- implementation project(':ignite-rest')
- implementation project(':ignite-rocksdb-common')
- implementation project(':ignite-schema')
- implementation project(':ignite-storage-api')
- implementation project(':ignite-storage-rocksdb')
- implementation project(':ignite-table')
- implementation project(':ignite-vault')
- implementation project(':ignite-runner')
- implementation project(':ignite-transactions')
- implementation project(':ignite-client-common')
- implementation project(':ignite-client-handler')
- implementation project(':ignite-client')
- implementation project(':ignite-marshaller-common')
- implementation project(':ignite-page-memory')
-}
-
-description = 'ignite-jacoco-report'
diff --git a/settings.gradle b/settings.gradle
index fce7bf2cff5..c2f083ff3c8 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -45,7 +45,6 @@ include(':ignite-client-handler')
include(':ignite-sql-engine-api')
include(':ignite-sql-engine')
include(':ignite-marshaller-common')
-include(':ignite-jacoco-report')
include(':ignite-configuration')
include(':ignite-configuration-presentation')
include(':ignite-core')
@@ -126,7 +125,6 @@ project(":ignite-client-handler").projectDir =
file('modules/client-handler')
project(":ignite-sql-engine-api").projectDir = file('modules/sql-engine-api')
project(":ignite-sql-engine").projectDir = file('modules/sql-engine')
project(":ignite-marshaller-common").projectDir =
file('modules/marshaller-common')
-project(":ignite-jacoco-report").projectDir = file('modules/jacoco-report')
project(":ignite-configuration").projectDir = file('modules/configuration')
project(":ignite-configuration-presentation").projectDir =
file('modules/configuration-presentation')
project(":ignite-core").projectDir = file('modules/core')