maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ERt (JIRA)" <j...@codehaus.org>
Subject [jira] (MASSEMBLY-699) Ability to create empty directories in assembly
Date Mon, 05 May 2014 09:36:10 GMT
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)

Mime
View raw message