-0
The Usage documentation could get cleaned up a bit prior to releasing
as each mojo cuts-n-pastes the rules for whether a file gets copied.

That is:
# Releases use the overWriteReleases value (default = false)
# Snapshots use the overWriteSnapshots value (default = false)
# If none of the above is set, then it defaults to the
overWriteIfNewer value (default = true)

With the exception of dependency:copy which also includes
"If the artifactItem / overWrite is set, use that value." and from
only a cursory investigation there appears to be no way to specify
overwriting on a per artifact basis.

The overwriting rules should be pulled up into its own section and
then referenced by each of the mojo usage docs.

I also have question to help clarify the above rules,
If overWriteReleases=false and overWriteIfNewer=true what should happen?
Reading the rules I am interpreting this to be that the released file
should not be overwritten.
i.e if the release artifact has already been copied dont copy it again
(even if the release artifact is newer that the copied version, how
this occurs I am not sure??)

I think the two parameters behave more like a "force" an overwrite
rather than deny an overwrite.  Should they be named
forceOverWriteReleases and froceOverWriteSnapshots instead?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to