Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.2.2, 2.3.0
-
None
-
None
Description
The unpack-maven-plugin doesn't overwrite files where the existim timstame is equal to the zip entry file timstamp
see org/apache/jetspeed/maven/utils/UnpackResources.java
if ( destFile.lastModified() >= fileEntry.getTime() || !unpackResources[i].isOverwrite() )
{
if (verbose)
else
{ log.debug(fileEntry.getName()+" skipped: already exists at "+destFile.getAbsolutePath()); } continue;
}
unpackResources[i].isOverwrite() is ignored even if set to true, since the first part from OR evaluates to true, and we skip the entry