You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2026/04/13 10:28:10 UTC
(ofbiz-framework) branch trunk updated (eaf6eb9457 -> 4f0b99bca3)
This is an automated email from the ASF dual-hosted git repository.
jacopoc pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
from eaf6eb9457 Bump docker/login-action from 4.0.0 to 4.1.0
new 46587f6c83 Fixed: Modify property assignments in build.gradle to fix warning messages
new 33b4879b57 Fixed: Remove org.asciidoctor.jvm.pdf that doesn't work since several months and is incompatible with the current version of Gradle and its plugins
new 5d98de3e48 Fixed: Clean up commented-out plugin line
new 4f0b99bca3 Fixed: Disable the unused CrapMetric rule.
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
build.gradle | 38 ++++++++++++++++++--------------------
config/codenarc/codenarc.groovy | 2 +-
2 files changed, 19 insertions(+), 21 deletions(-)
(ofbiz-framework) 01/04: Fixed: Modify property assignments in build.gradle to fix warning messages
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jacopoc pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit 46587f6c83f1ae6d048a14995e5e6a81ec1e4086
Author: Jacopo Cappellato <ja...@gmail.com>
AuthorDate: Fri Apr 10 09:48:40 2026 +0200
Fixed: Modify property assignments in build.gradle to fix warning messages
---
build.gradle | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/build.gradle b/build.gradle
index 3497d03d1d..f79462c9ff 100644
--- a/build.gradle
+++ b/build.gradle
@@ -153,8 +153,8 @@ javadoc {
}
java {
- sourceCompatibility(JavaVersion.VERSION_17)
- targetCompatibility(JavaVersion.VERSION_17)
+ sourceCompatibility = JavaVersion.VERSION_17
+ targetCompatibility = JavaVersion.VERSION_17
}
// Java compile options, syntax gradlew -PXlint:none build
@@ -189,31 +189,31 @@ allprojects {
// on mavenCentral directly
maven {
// org.restlet and org.restlet.ext.servlet
- url 'https://maven.restlet.talend.com'
+ url = 'https://maven.restlet.talend.com'
}
maven {
// net.fortuna.ical4j:ical4j:1.0-rc3-atlassian-11
- url 'https://packages.atlassian.com/maven-3rdparty/'
+ url = 'https://packages.atlassian.com/maven-3rdparty/'
}
maven {
// org/milyn/flute/1.3/flute-1.3.jar
// need artifact only because of wrong pom metadata in maven central
// Required by: plugins:birt > org.eclipse.birt.runtime:viewservlets:4.5.0 > org.eclipse.birt.runtime:org.eclipse.birt.runtime:4.4.1
// TODO Maybe this will no longer needed wheh upgrading viewservlets to 4.9.0
- url "https://repo1.maven.org/maven2"
+ url = "https://repo1.maven.org/maven2"
metadataSources {
artifact()
}
}
maven {
- url 'https://clojars.org/repo'
+ url = 'https://clojars.org/repo'
}
maven {
- url "https://artifacts.alfresco.com/nexus/content/repositories/public/"
+ url = "https://artifacts.alfresco.com/nexus/content/repositories/public/"
}
/* maven {
// To test not released FreeMarker versions, see OFBIZ-12934 and sub-tasks for details
- url "https://repository.apache.org/content/repositories/snapshots/"
+ url = "https://repository.apache.org/content/repositories/snapshots/"
} */
}
}
@@ -391,12 +391,12 @@ def sysadminGroup = 'System Administration'
task loadAll(group: ofbizServer) {
dependsOn 'generateSecretKeys', 'ofbiz --load-data'
- description 'Load default data; meant for OFBiz development, testing, and demo purposes'
+ description = 'Load default data; meant for OFBiz development, testing, and demo purposes'
}
task testIntegration(group: ofbizServer) {
dependsOn 'ofbiz --test'
- description 'Run OFBiz integration tests; You must run loadAll before running this task'
+ description = 'Run OFBiz integration tests; You must run loadAll before running this task'
}
task terminateOfbiz(group: ofbizServer,
@@ -420,7 +420,7 @@ task terminateOfbiz(group: ofbizServer,
}
task loadAdminUserLogin(group: ofbizServer) {
- description 'Create admin user with temporary password equal to ofbiz. You must provide userLoginId'
+ description = 'Create admin user with temporary password equal to ofbiz. You must provide userLoginId'
createOfbizCommandTask('executeLoadAdminUser',
['--load-data', 'file=/runtime/tmp/AdminUserLoginData.xml'])
executeLoadAdminUser.doFirst {
@@ -601,18 +601,18 @@ task deleteAllPluginsDocumentation {
task generateReadmeFiles(group: docsGroup, type: AsciidoctorTask) {
doFirst { delete "${buildDir}/asciidoc/readme" }
- description 'Generate OFBiz README files'
+ description = 'Generate OFBiz README files'
sourceDir "${rootDir}"
// CHANGELOG.adoc should be only present in the current stable version
sources {
include 'README.adoc', 'CHANGELOG.adoc', 'CONTRIBUTING.adoc', 'DOCKER.adoc'
}
- outputDir file("${buildDir}/asciidoc/readme/")
+ outputDir = file("${buildDir}/asciidoc/readme/")
}
task generateOfbizDocumentation(group: docsGroup, type: AsciidoctorTask) {
dependsOn deleteOfbizDocumentation
- description 'Generate OFBiz documentation manuals'
+ description = 'Generate OFBiz documentation manuals'
activeComponents().each { component ->
copy {
from "${component}/src/docs/asciidoc/images/${component.name}"
@@ -621,7 +621,7 @@ task generateOfbizDocumentation(group: docsGroup, type: AsciidoctorTask) {
}
}
sourceDir "${rootDir}/docs/asciidoc"
- outputDir file("${buildDir}/asciidoc/ofbiz")
+ outputDir = file("${buildDir}/asciidoc/ofbiz")
doLast {
activeComponents().each { component ->
delete "${rootDir}/docs/asciidoc/images/${component.name}"
@@ -631,7 +631,7 @@ task generateOfbizDocumentation(group: docsGroup, type: AsciidoctorTask) {
task generatePluginDocumentation(group: docsGroup) {
dependsOn deletePluginDocumentation
- description 'Generate plugin documentation. Expects pluginId flag'
+ description = 'Generate plugin documentation. Expects pluginId flag'
activeComponents()
.findAll { project.hasProperty('pluginId') && it.name == pluginId }
.each { component ->
@@ -683,7 +683,7 @@ task generateAllPluginsDocumentation(group: docsGroup,
}
if (asciidocFolder.exists()) {
sourceDir file("${component}/src/docs/asciidoc")
- outputDir file("${buildDir}/asciidoc/plugins/${component.name}")
+ outputDir = file("${buildDir}/asciidoc/plugins/${component.name}")
doLast { println "Documentation generated for plugin ${component.name}" }
}
mustRunAfter deleteAllPluginsDocumentation
@@ -1020,7 +1020,7 @@ task cleanFooterFiles(group: cleanupGroup, description: 'clean generated footer
*/
def cleanTasks = tasks.findAll { it.name ==~ /^clean.+/ }
task cleanAll(group: cleanupGroup, dependsOn: [cleanTasks, clean]) {
- description 'Execute all cleaning tasks.'
+ description = 'Execute all cleaning tasks.'
}
/* ========================================================
(ofbiz-framework) 04/04: Fixed: Disable the unused CrapMetric rule.
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jacopoc pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit 4f0b99bca321cf8a69d59f78edde43637089058a
Author: Jacopo Cappellato <ja...@gmail.com>
AuthorDate: Fri Apr 10 09:59:57 2026 +0200
Fixed: Disable the unused CrapMetric rule.
The incomplete definition of this rule was causing warning messages during CodeNarc execution:
"The Cobertura XML file [null] is not accessible; skipping this rule"
---
config/codenarc/codenarc.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/codenarc/codenarc.groovy b/config/codenarc/codenarc.groovy
index 2534597afe..14e40e3599 100644
--- a/config/codenarc/codenarc.groovy
+++ b/config/codenarc/codenarc.groovy
@@ -368,7 +368,7 @@ ruleset {
// rulesets/size.xml
// TODO : need refactoring AbcMetric // Requires the GMetrics jar
ClassSize
- CrapMetric // Requires the GMetrics jar and a Cobertura coverage file
+ // CrapMetric // Requires the GMetrics jar and a Cobertura coverage file
// TODO : need refactoring CyclomaticComplexity // Requires the GMetrics jar
MethodCount
// TODO : need refactoring MethodSize
(ofbiz-framework) 02/04: Fixed: Remove org.asciidoctor.jvm.pdf that doesn't work since several months and is incompatible with the current version of Gradle and its plugins
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jacopoc pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit 33b4879b57c2605d0be7ed7ffa73b5b462b02e7e
Author: Jacopo Cappellato <ja...@gmail.com>
AuthorDate: Fri Apr 10 09:52:21 2026 +0200
Fixed: Remove org.asciidoctor.jvm.pdf that doesn't work since several months and is incompatible with the current version of Gradle and its plugins
---
build.gradle | 1 -
1 file changed, 1 deletion(-)
diff --git a/build.gradle b/build.gradle
index f79462c9ff..8bbdee4733 100644
--- a/build.gradle
+++ b/build.gradle
@@ -30,7 +30,6 @@ plugins {
id 'codenarc'
id 'maven-publish'
id "org.asciidoctor.jvm.convert" version "latest.release"
- id "org.asciidoctor.jvm.pdf" version "latest.release"
id "org.owasp.dependencycheck" version "latest.release" apply false
//id 'se.patrikerdes.use-latest-versions' version '0.2.18' apply false
id "se.patrikerdes.use-latest-versions" version "latest.release" apply false
(ofbiz-framework) 03/04: Fixed: Clean up commented-out plugin line
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jacopoc pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit 5d98de3e4850a8d14df95ea82f9a67176afa5580
Author: Jacopo Cappellato <ja...@gmail.com>
AuthorDate: Fri Apr 10 09:54:43 2026 +0200
Fixed: Clean up commented-out plugin line
---
build.gradle | 1 -
1 file changed, 1 deletion(-)
diff --git a/build.gradle b/build.gradle
index 8bbdee4733..4963c7f052 100644
--- a/build.gradle
+++ b/build.gradle
@@ -31,7 +31,6 @@ plugins {
id 'maven-publish'
id "org.asciidoctor.jvm.convert" version "latest.release"
id "org.owasp.dependencycheck" version "latest.release" apply false
- //id 'se.patrikerdes.use-latest-versions' version '0.2.18' apply false
id "se.patrikerdes.use-latest-versions" version "latest.release" apply false
id "com.github.ben-manes.versions" version "latest.release" apply false
id "com.github.ManifestClasspath" version "latest.release"