>
> Bleh, I still think it's awful, it reads like it was written by a cyborg.  :-)
>
> If I'm going to "unpack" something, I'm going to expect that
> "overwrite" would allow me to control whether or not the process of
> unpacking was going to be destructive to existing files or not.
> That's the conundrum here, I see not other way than excludes to do
> this overlay without replacing files that already exist.


Possibly, but this use case simply wasn't included originally but if
someone writes a patch, i will apply it right away. In fact when I
originally wrote unpack it was to get war overlay support and in this
case i definately wanted to overwrite everything from the war that was
contained in what I unpacked. The war plugin was looking at each file
and it actually broke my use case. To each their own ;-)

>
> The alternative would be to set staleMillis on the compiler plugin to
> a value that would always force a compile, but StaleSourceScanner
> doesn't support anything like staleMillis = -1.
>
>>
>> On Tue, Aug 4, 2009 at 4:28 PM, Tim O'Brien<[email protected]> wrote:
>>> I love it how you are so close to the code, you think that this is
>>> sufficient documentation for a plugin goal configuration property on
>>> unpack:
>>>
>>> Property: overWriteIfNewer
>>> Documentation: Overwrite if newer
>>>
>>> :-)
>>>
>>> Like I said, that leave a lot to be desired.
>>>
>>> On Tue, Aug 4, 2009 at 3:19 PM, Brian Fox<[email protected]> wrote:
>>>> On Tue, Aug 4, 2009 at 3:30 PM, Tim O'Brien<[email protected]> wrote:
>>>>> Use the excludes config property to exclude the specific files you
>>>>> don't want to overwrite.
>>>>>
>>>>> http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html
>>>>>
>>>>> The docs on that mojo leave much to be desired.
>>>>>
>>>>
>>>> Oh come on, the dependency plugin is very well documented. It's just
>>>> got a lot of options so it's non-trivial.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

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

Reply via email to