maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Rosenvold (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MASSEMBLY-754) Non existing folder produces NPE
Date Sat, 18 Apr 2015 09:01:08 GMT

    [ https://issues.apache.org/jira/browse/MASSEMBLY-754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14501191#comment-14501191
] 

Kristian Rosenvold commented on MASSEMBLY-754:
----------------------------------------------

Npe fixed in ab62f317ffffd8b11017edc2dd7ae46363c09957 in plexus-archiver

> Non existing folder produces NPE
> --------------------------------
>
>                 Key: MASSEMBLY-754
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-754
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>          Components: component descriptor
>    Affects Versions: 2.5.3
>         Environment: All
>            Reporter: Karl Heinz Marbaise
>            Priority: Critical
>             Fix For: 2.5.4
>
>         Attachments: massembly-754.tar.gz
>
>
> If i define a descriptor which uses a not existing folder it will produce a NPE.
> Using the following descriptor:
> {code}
> <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0
http://maven.apache.org/xsd/assembly-1.1.0.xsd">
>   <id>dist-assembly</id>
>   <formats>
>       <format>tar.gz</format>
>   </formats>
>   <fileSets>
>     <fileSet>
>       <directory>folder</directory>
>       <outputDirectory>.</outputDirectory>
>     </fileSet>
>   </fileSets>
> </assembly>
> {code}
> where the folder {{folder}} does not exist will produce the failure. If i create the
folder with a single file it will not occur.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message