On 14-Feb-09, at 12:25 PM, Benjamin Bentmann wrote:
Hi,
from trunk's DefaultMavenExecutionRequestPopulator:
snapshots
.setChecksumPolicy( ArtifactRepositoryPolicy.UPDATE_POLICY_DAILY );
snapshots
.setUpdatePolicy( ArtifactRepositoryPolicy.CHECKSUM_POLICY_WARN );
And, who spotted the typo at first glance ;-) ?
Do we have technical reasons to not have setUpdatePolicy() and
setChecksumPolicy() validate the input string and throw an
IllegalArgumentException if the value does not match one of the
supported constants?
That would be wise, but let's find somewhere in Maven. I'm close to
being able to plug in either the old artifact code and Mercury so
those sorts of things I would like in a neutral location.
Benjamin
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
jason at sonatype dot com
----------------------------------------------------------
A man enjoys his work when he understands the whole and when he
is responsible for the quality of the whole
-- Christopher Alexander, A Pattern Language
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]