|
This patch adds a fix for MOJO-931 as well. Under the <mapping> element you can add an optional element: <includeDir>boolean</includeDir>. By default it's true. If false, the directory specified in the mapping is not included. Adding patch which also includes the site documentation and removes the formatting changes from RPMMojo. This patch includes fixes for MOJO-931, MOJO-1202, MOJO-1249, MOJO-1250, and MOJO-1251. IIUC this is a duplicate of MOJO-931 While this is similar to MOJO-931, it is not a duplicate. Your changes allow the "source" to refer to an individual file, however it is still assuming that only one mapping ever exists for a directory. It should be possible to have multiple mappings for the same source location (identifying different files through includes/excludes), so that the files can be given different attributes (such as having some files marked as configuration). here is a patch based on latest 2.0-beta-2-SNAPSHOT (rev 8670). I missed the possibility of the source location being a file - that is fixed here. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Here is a patch. It includes fixes for MOJO-1249, MOJO-1250 and MOJO-1251.