Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.0.0, 4.15.0
-
None
Description
I believe this is introduced by some changes related to the maven-shaded plugin. We create a dependency-reduced-pom.xml which is considered during the license header check, thus always causing preCommit to fail on this step. We should prevent its creation perhaps via something like this. Example of a failing build's error:
1 Unknown Licenses ***************************************************** Files with unapproved licenses: /home/jenkins/jenkins-slave/workspace/PreCommit-PHOENIX-Build/phoenix-server/dependency-reduced-pom.xml *****************************************************