You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/04/14 00:54:39 UTC
[jira] Closed: (MPDIST-2) tar command 'U' option not supported on Solaris OS.
Message:
The following issue has been closed.
Resolver: Brett Porter
Date: Tue, 13 Apr 2004 6:53 PM
thanks, but as coincidence would have it I did just this today already :)
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPDIST-2
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPDIST-2
Summary: tar command 'U' option not supported on Solaris OS.
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-dist-plugin
Assignee: Brett Porter
Reporter: Martin Lambert
Created: Mon, 29 Sep 2003 6:21 AM
Updated: Tue, 13 Apr 2004 6:53 PM
Environment: Sun Solaris v5.8
Description:
Unlike the site plugin that uses a property to set the tar program used (maven.site.tar.executable), the dist plugin uses the hard coded string 'tar' to run the tar command. This is a problem on Solaris OS where the 'U' option is not supported by the standard tar program.
Below is the snippet of plugin.jelly script in question (dist:deploy goal) -
<deploy:artifact
artifact="distributions.tar.gz"
type="distributions"
assureDirectoryCommand="mkdir -p"
siteCommand="cd @deployDirectory@;gunzip distributions.tar.gz;tar xUvf distributions.tar;chmod -R g+u *;rm distributions.tar"
/>
It would seem appropriate/consistent to replace the hard coded string with a 'maven.dist.tar.executable' to allow a different tar program, i.e. GNU tar, that supports the 'U' to be used. This would default to a value of 'tar' and therefore be transparent in behaviour for most people.
This bug was also present in Beta 10.
Cheers,
Martin.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org