From e6c6e33a1c9abc89256fff973e899f94cad831dd Mon Sep 17 00:00:00 2001 From: kvmw Date: Thu, 29 Oct 2026 09:52:53 +0100 Subject: [PATCH 1/2] chore: remove disabled java-cfenv-docs module The module is commented out in settings.gradle. Remove it with its asciidoctor plugin and catalog entries. Signed-off-by: kvmw --- gradle/libs.versions.toml | 5 -- java-cfenv-docs/build.gradle | 77 ------------------- .../src/main/asciidoc/getting-started.adoc | 4 - java-cfenv-docs/src/main/asciidoc/index.adoc | 33 -------- .../src/main/asciidoc/introduction.adoc | 4 - settings.gradle | 2 - 6 files changed, 125 deletions(-) delete mode 100644 java-cfenv-docs/build.gradle delete mode 100644 java-cfenv-docs/src/main/asciidoc/getting-started.adoc delete mode 100644 java-cfenv-docs/src/main/asciidoc/index.adoc delete mode 100644 java-cfenv-docs/src/main/asciidoc/introduction.adoc diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 0837e78f..fc11a9ce 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,11 +4,9 @@ springBoot = "4.1.2" springAi = "2.0.2" jmockit = "1.50" shadow = "9.6.1" -asciidoctorJvm = "4.0.5" jsonIo = "4.117.0" embeddedRedis = "0.6" mariadb = "4.0.0" -springAsciidoctorBackends = "0.0.7" nohttp = "0.0.11" @@ -25,11 +23,8 @@ spring-boot = { group = "org.springframework.boot", name = "spring-boot", versio spring-boot-autoconfigure = { group = "org.springframework.boot", name = "spring-boot-autoconfigure", version.ref = "springBoot" } spring-ai-openai = { group = "org.springframework.ai", name = "spring-ai-openai", version.ref = "springAi" } spring-boot-dependencies = { group = "org.springframework.boot", name = "spring-boot-dependencies", version.ref = "springBoot" } -spring-asciidoctor-backends = { group = "io.spring.asciidoctor.backends", name = "spring-asciidoctor-backends", version.ref = "springAsciidoctorBackends" } [plugins] -asciidoctorJvm = { id = "org.asciidoctor.jvm.convert", version.ref = "asciidoctorJvm" } -asciidoctorJvmPdf = { id = "org.asciidoctor.jvm.pdf", version.ref = "asciidoctorJvm" } shadow = { id = "com.gradleup.shadow", version.ref = "shadow" } nohttp = { id = "io.spring.nohttp", version.ref = "nohttp" } diff --git a/java-cfenv-docs/build.gradle b/java-cfenv-docs/build.gradle deleted file mode 100644 index 76e02dd7..00000000 --- a/java-cfenv-docs/build.gradle +++ /dev/null @@ -1,77 +0,0 @@ -plugins { - id 'io.pivotal.cfenv.java-conventions' - alias libs.plugins.asciidoctorJvmPdf - alias libs.plugins.asciidoctorJvm -} - -description = 'Java CF Env Documentation' - -configurations { - asciidoctorExtensions -} - -dependencies { - asciidoctorExtensions libs.spring.asciidoctor.backends -} - -task prepareAsciidocBuild(type: Sync) { - // Copy doc sources - from "src/main/asciidoc" - // to a temporary build directory - into "$buildDir/asciidoc" -} - -asciidoctorPdf { - dependsOn prepareAsciidocBuild - baseDirFollowsSourceFile() - - asciidoctorj { - sourceDir "$buildDir/asciidoc" - inputs.dir(sourceDir) - sources { - include 'index.adoc' - } - options doctype: 'book' - attributes 'icons': 'font', - 'sectanchors': '', - 'sectnums': '', - 'toc': '', - 'source-highlighter' : 'coderay', - revnumber: project.version, - 'project-version': project.version - } -} - -asciidoctor { - dependsOn asciidoctorPdf - baseDirFollowsSourceFile() - sourceDir "$buildDir/asciidoc" - sources { - include '*.adoc' - } - resources { - from(sourceDir) { - include 'images/*', 'css/**', 'js/**' - } - } - logDocuments = true - options doctype: 'book', eruby: 'erubis' - attributes 'revnumber': project.version, - 'spring-version': project.version, - 'branch-or-tag': project.version.endsWith('SNAPSHOT') ? 'main' : "v${project.version}", - 'icons': 'font', - 'idprefix': '', - 'idseparator': '-', - docinfo: 'shared', - sectanchors: '', - sectnums: '', - stylesdir: "css/", - stylesheet: 'spring.css', - 'linkcss': true, - 'nofooter': true, - 'allow-uri-read': '', - 'source-highlighter': 'highlight.js', - 'highlightjsdir': 'js/highlight', - 'highlightjs-theme': 'github', - 'project-version': project.version -} diff --git a/java-cfenv-docs/src/main/asciidoc/getting-started.adoc b/java-cfenv-docs/src/main/asciidoc/getting-started.adoc deleted file mode 100644 index eb83741b..00000000 --- a/java-cfenv-docs/src/main/asciidoc/getting-started.adoc +++ /dev/null @@ -1,4 +0,0 @@ -[[getting-started]] -= Getting Started - -Hello World! diff --git a/java-cfenv-docs/src/main/asciidoc/index.adoc b/java-cfenv-docs/src/main/asciidoc/index.adoc deleted file mode 100644 index 5c2b1d94..00000000 --- a/java-cfenv-docs/src/main/asciidoc/index.adoc +++ /dev/null @@ -1,33 +0,0 @@ -= Cloud Foundry Environment Library Reference Guide -Mark Pollack -:doctype: book -:toc: left -:toclevels: 4 -:source-highlighter: prettify -:numbered: -:icons: font -:hide-uri-scheme: -:docinfo: shared - -:github-repo: pivotal-cf/java-cfenv -:github-code: https://github.com/{github-repo} - -ifdef::backend-html5[] - -Version {project-version} - -(C) 2018 Pivotal Software, Inc. - -_Copies of this document may be made for your own use and for distribution to -others, provided that you do not charge any fee for such copies and further -provided that each copy contains this Copyright Notice, whether distributed in -print or electronically._ - -endif::backend-html5[] - -// ====================================================================================== - -include::introduction.adoc[] -include::getting-started.adoc[] - -// ====================================================================================== diff --git a/java-cfenv-docs/src/main/asciidoc/introduction.adoc b/java-cfenv-docs/src/main/asciidoc/introduction.adoc deleted file mode 100644 index 78bee935..00000000 --- a/java-cfenv-docs/src/main/asciidoc/introduction.adoc +++ /dev/null @@ -1,4 +0,0 @@ -[[introduction]] -= Introduction - -Hello World! diff --git a/settings.gradle b/settings.gradle index 070a0edd..1b286d96 100644 --- a/settings.gradle +++ b/settings.gradle @@ -6,7 +6,6 @@ pluginManagement { } plugins { id 'io.spring.nohttp' - id 'org.asciidoctor.jvm.convert' apply false id 'com.gradleup.shadow' apply false } } @@ -33,6 +32,5 @@ include "java-cfenv-boot-pivotal-scs" include "java-cfenv-boot-pivotal-sso" include "java-cfenv-boot-tanzu-genai" include "java-cfenv-all" -//include "java-cfenv-docs" include "java-cfenv-jdbc" include "java-cfenv-test-support" From ecc7e0d660575b48cd7370a93572e5d485b89fdf Mon Sep 17 00:00:00 2001 From: kvmw Date: Thu, 29 Oct 2026 09:52:53 +0100 Subject: [PATCH 2/2] chore: remove unused checkstyle and eclipse config ci/config/checkstyle.xml, ci/config/license.header and src/eclipse/* have no references. The build uses src/checkstyle/checkstyle.xml. Signed-off-by: kvmw --- ci/config/checkstyle.xml | 27 -- ci/config/license.header | 15 - src/eclipse/eclipse-code-formatter.xml | 397 ------------------------- src/eclipse/eclipse.importorder | 7 - 4 files changed, 446 deletions(-) delete mode 100644 ci/config/checkstyle.xml delete mode 100644 ci/config/license.header delete mode 100644 src/eclipse/eclipse-code-formatter.xml delete mode 100644 src/eclipse/eclipse.importorder diff --git a/ci/config/checkstyle.xml b/ci/config/checkstyle.xml deleted file mode 100644 index 60188a4c..00000000 --- a/ci/config/checkstyle.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - diff --git a/ci/config/license.header b/ci/config/license.header deleted file mode 100644 index a01464ee..00000000 --- a/ci/config/license.header +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright 2002-2019 the original author or authors. - * - * Licensed 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 - * - * https://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. - */ \ No newline at end of file diff --git a/src/eclipse/eclipse-code-formatter.xml b/src/eclipse/eclipse-code-formatter.xml deleted file mode 100644 index 8dc32870..00000000 --- a/src/eclipse/eclipse-code-formatter.xml +++ /dev/null @@ -1,397 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/eclipse/eclipse.importorder b/src/eclipse/eclipse.importorder deleted file mode 100644 index 080e73d9..00000000 --- a/src/eclipse/eclipse.importorder +++ /dev/null @@ -1,7 +0,0 @@ -#Organize Import Order -#Wed Apr 26 12:53:22 EDT 2017 -4=\# -3=org.springframework -2= -1=javax -0=java