spotify / docker-maven-plugin

INACTIVE: A maven plugin for Docker
Apache License 2.0
2.66k stars 575 forks source link

Empty Resource folders not copied with using include resources #327

Closed andyliddle closed 6 years ago

andyliddle commented 7 years ago

Description

When attempting to specify resources to be included in the container, Any empty folders nested in the includes are not copied.

How to reproduce

src/main/docker image1 /Project ${basedir}/target/staging/ Folder1/** Folder2/**

What do you expect

The following structure to be created. target/docker/Project target/docker/Project/Folder1 target/docker/Project/Folder2 target/docker/Project/Folder2/EmptyFolder

What happened instead

Only actually files and the nessasary sub folders need to create their structure were copied

Software:

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.