Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
Thanks to dineshchitlangia who reported this problem.
With a release build:
mvn clean install -Dmaven.javadoc.skip=true -DskipTests -Psign,dist,src -Dtar -Dgpg.keyname=$CODESIGNINGKEY
The source package (the release) is not created.
In fact it's created, but the problem with the order of clean and install:
- clean is executed in the root project
- install is executed in the root project (creates hadoop-ozone/dist/target/..src.tar.gx
- .....
- clean is executed in the hadoop-ozone/dist project (here the src package is deleted)
- install is executed in the hadoop-ozone/dist project
One possible fix is to move the creation of the src package to the hadoop-ozone/dist project (but do it from the project root)