You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ERt (JIRA)" <ji...@codehaus.org> on 2014/05/05 11:36:10 UTC
[jira] (MASSEMBLY-699) Ability to create empty directories in
assembly
ERt created MASSEMBLY-699:
-----------------------------
Summary: Ability to create empty directories in assembly
Key: MASSEMBLY-699
URL: https://jira.codehaus.org/browse/MASSEMBLY-699
Project: Maven Assembly Plugin
Issue Type: New Feature
Components: manifest
Affects Versions: 2.4
Reporter: ERt
Priority: Minor
It is common scenario to create empty directories in output assembly. Right now user have to prepare it manually using maven-antrun-plugin and later copy it to output structure using <fileSet> element. It could be a good idea to have this feature directly in assembly pluign. Below is sample change to assembly description:
{code}
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
(...)
<emptyDirectories>
<emptyDirectory>dirA</emptyDirectory>
<emptyDirectory>dirB</emptyDirectory>
</emptyDirectories>
(...)
</assembly>
{code}
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)