Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: maven-archiver-2.4
-
Component/s: maven-archiver
-
Labels:None
Description
Using tar distribution, during upackaging I'm getting:
tar: A lone zero block at 4174
warning message in output.
Archive is being untarred correctly but this message may worry users that archive is corrupted
Issue Links
- is related to
-
PLXCOMP-38
plexus archiver writes archives that error out on some platforms
-
The issue might be simiilar to http://pear.php.net/bugs/bug.php?id=5452
Does that mean that the fix is to change
http://svn.codehaus.org/plexus/plexus-components/trunk/plexus-archiver/src/main/java/org/codehaus/plexus/archiver/tar/TarOutputStream.java
public void finish()
{ this.writeEOFRecord(); }throws IOException
into
public void finish()
{ this.writeEOFRecord(); this.writeEOFRecord(); }throws IOException
??
Then as in the PHP Pear issue above, care must be taken if there are other parts of the archiver that expects a single empty block.