When trying to reproduce a Python tools build issue by running the build through mvnw, I got this warning when building distribution:
[INFO] --- assembly:3.1.0:single (create-archive) @ opengrok-dist ---
[WARNING] Parameter 'finalName' is read-only, must not be used in configuration
[INFO] Reading assembly descriptor: assembly.xml
[INFO] Building tar: /home/user/opengrok-vladak-scratch/distribution/target/opengrok-1.13.0.tar.gz
[INFO]
Interestingly this warning is not produced when building with system supplied mvn.
When trying to reproduce a Python tools build issue by running the build through
mvnw
, I got this warning when building distribution:Interestingly this warning is not produced when building with system supplied
mvn
.https://issues.apache.org/jira/browse/MJAR-217 says what needs to be done.
While there, I bumped the version of the Maven plugins used in the distribution module.