[ 
https://jira.codehaus.org/browse/MASSEMBLY-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=291346#comment-291346
 ] 

Rolf Schuster edited comment on MASSEMBLY-422 at 2/10/12 8:45 AM:
------------------------------------------------------------------

I've filed a patch to plexus-archiver: 
http://jira.codehaus.org/browse/PLXCOMP-199

The issue is still there is the newest plexus-archiver 1.2. I've downloaded the 
sources for 1.3-SNAPSHOT, applied the patch and added this to pom.xml:

<plugin>
....<artifactId>maven-assembly-plugin</artifactId>
....<version>2.2-beta-5</version>
....<dependencies>
........<dependency>
............<groupId>org.codehaus.plexus</groupId>
............<artifactId>plexus-archiver</artifactId>
............<type>jar</type>
............<version>1.3-SNAPSHOT</version>
........</dependency>
........<dependency>
............<groupId>org.codehaus.plexus</groupId>
............<artifactId>plexus-archiver</artifactId>
............<version>1.3-SNAPSHOT</version>
........</dependency>
....</dependencies>
</plugin>

In this way, the plexus version from maven-assembly-plugin is overwritten. But 
it only works where you have the patched plexus-archiver 1.3-SNAPSHOT in your 
repository, of course.
                
      was (Author: t-dome):
    I've filed a patch to plexus-archiver: 
http://jira.codehaus.org/browse/PLXCOMP-199

The issue is still there is the newest plexus-archiver 1.2. I've downloaded the 
sources for 1.3-SNAPSHOT, applied the patch and added this to pom.xml:

<plugin>
..<artifactId>maven-assembly-plugin</artifactId>
..<version>2.2-beta-5</version>
..<dependencies>
....<dependency>
......<groupId>org.codehaus.plexus</groupId>
......<artifactId>plexus-archiver</artifactId>
......<type>jar</type>
......<version>1.3-SNAPSHOT</version>
....</dependency>
....<dependency>
......<groupId>org.codehaus.plexus</groupId>
......<artifactId>plexus-archiver</artifactId>
......<version>1.3-SNAPSHOT</version>
....</dependency>
..</dependencies>
</plugin>

In this way, the plexus version from maven-assembly-plugin is overwritten. But 
it only works where you have the patched plexus-archiver 1.3-SNAPSHOT in your 
repository, of course.
                  
> Generated directories have wrong file attributes
> ------------------------------------------------
>
>                 Key: MASSEMBLY-422
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-422
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-4
>            Reporter: Sergiu Dumitriu
>            Priority: Minor
>
> When the assembly creates directories not already found in the resources (for 
> example when using <includeBaseDirectory>true</includeBaseDirectory> or 
> <outputDirectory>some/new/folder</outputDirectory>), the directory has the 
> wrong file attributes (177777 octal, ?rwsrwsrwt). This causes the archive to 
> be somewhat broken, since the directory doesn't appear to be a directory 
> according to the file attributes.
> This causes problems with the Midnight Commander virtual file system, for 
> example.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to