Hi sebb,
On 10.01.2025 00:56, sebb wrote:
On Thu, 9 Jan 2025 at 23:04, Herve Boutemy <hbout...@apache.org> wrote:
When I read
Built using: mvn clean install site -s "$HOME/.m2/commons-settings.xml"
install should seriously be avoided when voting, but verify or package
Are you sure install is not needed with multi-module builds?
It's been a long while since I came across this, but I'm sure I found
that changes in one module were not seen when testing another.
As I recall, the classpath for module dependencies was being resolved
from the local m2 repo, not the local class files.
Currently, dependencies in the Maven reactor are resolved from local
class files, dependencies that are not in the reactor are resolved from
the local m2 repo. Basically if you run with `-pl submodule`, the other
submodules come from the local repo, if you run without the `-pl`
option, the other submodules com from local class files.
Using `install` during votes (i.e. on a non-snapshot version) is
problematic: you can end up with a "corrupted" local cache and the SBOMs
generated for other Apache projects will have the wrong hashes.
Piotr
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org