You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2023/04/24 04:48:01 UTC

[shardingsphere] branch master updated: Build failed with error Could not find resource 'src/resources/spotless/java.xml' if working dir is not root of ShardingSphere (#25190) (#25274)

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

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new df8a3210083 Build failed with error Could not find resource 'src/resources/spotless/java.xml' if working dir is not root of ShardingSphere (#25190) (#25274)
df8a3210083 is described below

commit df8a32100839953f1af1182be79d21f57874a59f
Author: UMmmm <43...@users.noreply.github.com>
AuthorDate: Mon Apr 24 12:47:53 2023 +0800

    Build failed with error Could not find resource 'src/resources/spotless/java.xml' if working dir is not root of ShardingSphere (#25190) (#25274)
    
    change the pom.xml
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 1ec970d5d99..4587a0a00a7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -856,10 +856,10 @@
                     <configuration>
                         <java>
                             <eclipse>
-                                <file>src/resources/spotless/java.xml</file>
+                                <file>${maven.multiModuleProjectDirectory}/src/resources/spotless/java.xml</file>
                             </eclipse>
                             <licenseHeader>
-                                <file>src/resources/spotless/copyright.txt</file>
+                                <file>${maven.multiModuleProjectDirectory}/src/resources/spotless/copyright.txt</file>
                             </licenseHeader>
                         </java>
                         <pom>