This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne.git


The following commit(s) were added to refs/heads/master by this push:
     new 812132b2e Fixing gradle to allow parallel builds with mvnd
812132b2e is described below

commit 812132b2e3d05264a77e6ff31387e6aac46102d2
Author: Andrus Adamchik <[email protected]>
AuthorDate: Sat May 9 16:22:10 2026 -0400

    Fixing gradle to allow parallel builds with mvnd
---
 cayenne-gradle-plugin/gradle.properties | 18 ++++++++++++++++++
 cayenne-gradle-plugin/pom.xml           |  1 +
 2 files changed, 19 insertions(+)

diff --git a/cayenne-gradle-plugin/gradle.properties 
b/cayenne-gradle-plugin/gradle.properties
new file mode 100644
index 000000000..ab60c4f8b
--- /dev/null
+++ b/cayenne-gradle-plugin/gradle.properties
@@ -0,0 +1,18 @@
+# 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
+#
+# 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.
+
+# Disable the Gradle daemon so this module works correctly in parallel Maven 
builds (mvnd).
+# Daemon startup conflicts with the Maven daemon environment and parallel 
module execution.
+org.gradle.daemon=false
diff --git a/cayenne-gradle-plugin/pom.xml b/cayenne-gradle-plugin/pom.xml
index 6a6aa9861..58a898fc4 100644
--- a/cayenne-gradle-plugin/pom.xml
+++ b/cayenne-gradle-plugin/pom.xml
@@ -94,6 +94,7 @@
                             <arguments>
                                 <argument>clean</argument>
                                 <argument>${gradle.task}</argument>
+                                <argument>--no-daemon</argument>
                             </arguments>
                         </configuration>
                         <goals>

Reply via email to