{"action":"created","issue":{"url":"https://api.github.com/repos/coderplus/copy-rename-maven-plugin/issues/2","labels_url":"https://api.github.com/repos/coderplus/copy-rename-maven-plugin/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/coderplus/copy-rename-maven-plugin/issues/2/comments","events_url":"https://api.github.com/repos/coderplus/copy-rename-maven-plugin/issues/2/events","html_url":"https://github.com/coderplus/copy-rename-maven-plugin/issues/2","id":59454331,"number":2,"title":"Plugin fails for folders, if at destination a folder with same exists.","user":{"login":"Kiran-Jagtap-007","id":11267842,"avatar_url":"https://avatars.githubusercontent.com/u/11267842?v=3","gravatar_id":"","url":"https://api.github.com/users/Kiran-Jagtap-007","html_url":"https://github.com/Kiran-Jagtap-007","followers_url":"https://api.github.com/users/Kiran-Jagtap-007/followers","following_url":"https://api.github.com/users/Kiran-Jagtap-007/following{/other_user}","gists_url":"https://api.github.com/users/Kiran-Jagtap-007/gists{/gist_id}","starred_url":"https://api.github.com/users/Kiran-Jagtap-007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kiran-Jagtap-007/subscriptions","organizations_url":"https://api.github.com/users/Kiran-Jagtap-007/orgs","repos_url":"https://api.github.com/users/Kiran-Jagtap-007/repos","events_url":"https://api.github.com/users/Kiran-Jagtap-007/events{/privacy}","received_events_url":"https://api.github.com/users/Kiran-Jagtap-007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-02T09:02:50Z","updated_at":"2015-03-02T19:39:00Z","closed_at":null,"body":"If at destination the folder with same name is present, Plugin is not able to overWrite folders or merge it.\r\nIt <overWrite> is set true, then it is expected that qat least contents should get merged."},"comment":{"url":"https://api.github.com/repos/coderplus/copy-rename-maven-plugin/issues/comments/76794667","html_url":"https://github.com/coderplus/copy-rename-maven-plugin/issues/2#issuecomment-76794667","issue_url":"https://api.github.com/repos/coderplus/copy-rename-maven-plugin/issues/2","id":76794667,"user":{"login":"coderplus","id":9010621,"avatar_url":"https://avatars.githubusercontent.com/u/9010621?v=3","gravatar_id":"","url":"https://api.github.com/users/coderplus","html_url":"https://github.com/coderplus","followers_url":"https://api.github.com/users/coderplus/followers","following_url":"https://api.github.com/users/coderplus/following{/other_user}","gists_url":"https://api.github.com/users/coderplus/gists{/gist_id}","starred_url":"https://api.github.com/users/coderplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderplus/subscriptions","organizations_url":"https://api.github.com/users/coderplus/orgs","repos_url":"https://api.github.com/users/coderplus/repos","events_url":"https://api.github.com/users/coderplus/events{/privacy}","received_events_url":"https://api.github.com/users/coderplus/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T19:39:00Z","updated_at":"2015-03-02T19:39:00Z","body":"The plugin doesn't is not set to copy directories as the maven-resources-plugin can do this pretty neatly.\r\n\r\n     <plugin>\r\n        <artifactId>maven-resources-plugin</artifactId>\r\n        <version>2.6</version>\r\n        <executions>\r\n          <execution>\r\n            <id>copy-resources</id>\r\n            <phase>validate</phase>\r\n            <goals>\r\n              <goal>copy-resources</goal>\r\n            </goals>\r\n            <configuration>\r\n              <outputDirectory>${basedir}/target/dir1</outputDirectory>\r\n              <resources>\r\n                <resource>\r\n                    <directory>src/main/somedir</directory>\r\n               </resource>\r\n              </resources>\r\n            </configuration>\r\n          </execution>\r\n        </executions>\r\n      </plugin>\r\n\r\nIs there any specific use case where the `maven-resources-plugin` cannot do what you are trying to achieve? "}}