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?


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to