SourcePath in "Debian Package Maven Plugin": Directories are not recognized...
A Debian package library including a Maven plugin.
Brought to you by:
gerrit-hohl
The <sourcePath> tag within the <entry> tag in the configuration of the "Debian Package Maven Plugin" has to end with a slash ("/") - even on Microsoft Windows systems. Otherwise it isn't recognized as a directory.
The problem lays in the class net.sourceforge.dpkg.plugin.impl.DataEntryNodeTransformer. In line 133 is a string comparison which checks for a slash at the end of the source path - instead of using the java.io.File and its #isDirectory() method. This must be changed.
Fixed in revision #11.