On Sep 23, 2011, at 4:44 PM, Stuart McCulloch wrote:
Why did the default change?general consensus: http://issues.hudson-ci.org/browse/HUDSON-8973
Aighty... as long as folks know/understand that this is not a very good
practice for automating your Maven builds and expecting them to work w/o
side-effects from other builds. IMO not using private repository is only a
very limited use-case where you don't have many projects or you don't really
care about build isolation.
How maven works for a local user is significantly different for how maven
works in a distributed ci environment... especially considering that the same
build may not continue to run on the same machine and the fact that it may
move may alter the artifacts available in the repository to other builds
which may also be moving.
Seems like defaulting to an unrecommended option simply to avoid disk space
issues, which if the really understood the problem more would be an issue
they would have to resolve anyways, is a poor choice. Its a poor choice in
that it does not help users understand that build isolation is a good thing
to avoid unwanted/uneeded side-effects from other builds.
But then again... depends on how you think of Hudson. If you think of it as a
"toy" build system, then perhaps not defaulting to private repository here is
fine. But if you want to think of Hudson as OOTB useful for robust builds, then
defaulting to private repository is the right choice.
If the community has chosen to default to not use private repositories only over the
disk-space used... they I suggest they have also chosen to treat of Hudson as a
"toy" build automation system.
One step forward, one step back.
Its easy enough to change either way... its just the general message of which
is better/recommended. IMO private repository for more robust builds is
almost always going to be recommended by Maven build automation experts. And
not following that recommendation as a default mode of operation in Hudson
may actually hurt the community at large more than it would help the few who
probably should just buy a bigger disk.
* * *
... just my opinion and advice.
[Hudson-Dev] Re: [Hudson-Users] Re: Missing Private Repository