imp2002 opened a new issue, #14885:
URL: https://github.com/apache/dolphinscheduler/issues/14885

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   Using `mvn install` to package and install a module is invalid.
   
   
![image](https://github.com/apache/dolphinscheduler/assets/41513919/1a3f4623-d176-4e76-9a34-4be2ef6a6672)
   
   
   ### What you expected to happen
   
   Individual modules can be packaged correctly.
   
   ### How to reproduce
   
   Use `Idea Intellij` to open ds and then use the maven GUI on the right to 
package an independent module such as `ds-dao`. This error occurs.
   
   
![image](https://github.com/apache/dolphinscheduler/assets/41513919/d411df77-fdad-443a-8a3d-f47cf5542e22)
   
   
   ### Anything else
   
   It seems that there is a problem with the path setting of the formatted file 
of the spotless plugin. The path relative to the ds root directory should be 
used.
   
   `<file>${maven.multiModuleProjectDirectory}/style/eclipse.importorder</file>`
   rather than 
   `<file>style/eclipse.importorder</file>`
   
   After fix like this, it works normally.
   
![image](https://github.com/apache/dolphinscheduler/assets/41513919/62e156b8-108e-481a-ae93-bc6a976f3b5d)
   
   
   ### Version
   
   dev
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to