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

   ### 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
   
   * Building project with command `mvn -U install package -Prelease 
-Dmaven.test.skip=true` occasionally fails with error `[ERROR] Failed to 
execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2:single 
(make-assembly) on project dolphinscheduler-data-quality: Failed to create 
assembly: Error creating assembly archive jar-with-dependencies: Problem 
creating jar: JAR entry log4j.properties not found in 
......./dolphin-scheduler/dolphinscheduler/dolphinscheduler-data-quality/target/archive-tmp/dolphinscheduler-data-quality-2.0.4-SNAPSHOT.jar
 `
   * It doesn't happen every time, but it does happen.
   * I had run `mvn clean` before I built the project.
   * I've checked the `log4j.properties` and it does existed. Not sure why 
error msg says it can't be found.
   
![image](https://user-images.githubusercontent.com/34905992/161934834-69f64280-768d-40cc-a728-797fec1944fa.png)
   
![image](https://user-images.githubusercontent.com/34905992/161934903-3f034389-4fb9-4216-8b77-f907577395d6.png)
   
   
   ### What you expected to happen
   
   * We need to find out what causes the project build failure and how to avoid 
it.
   
   ### How to reproduce
   
   * Described in `What happened` section.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   dev
   
   ### Are you willing to submit PR?
   
   - [ ] 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