[jira] [Created] (MRESOURCES-215) Not all resources are copied
Arek Kita created MRESOURCES-215: Summary: Not all resources are copied Key: MRESOURCES-215 URL: https://issues.apache.org/jira/browse/MRESOURCES-215 Project: Maven Resources Plugin Issue Type: Bug Affects Versions: 2.7 Environment: $ mvn -version Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00) Maven home: /usr/local/Cellar/maven/3.3.9/libexec Java version: 1.8.0_73, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.11.4", arch: "x86_64", family: "mac" Reporter: Arek Kita It seems that when I define resources to copy in the following way: {code:xml} ${basedir}/src/main/content/jcr_root **/*.vlt/** **/*.vlt **/*.DS_Store {code} some files for some directories aren't copied (i.e. {{.content.xml}}) files. I tried removing {{excludes}} section but it doesn't help. The only thing which solves the problem is removal of the above section in favour of the plugin configuration: {code:xml} maven-resources-plugin copy-jcr-content generate-resources copy-resources ${project.build.directory}/classes true ${basedir}/src/main/content/jcr_root **/*.vlt/** **/*.vlt **/*.DS_Store {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (MRESOURCES-215) Not all resources are copied
[ https://issues.apache.org/jira/browse/MRESOURCES-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arek Kita updated MRESOURCES-215: - Attachment: result-console.txt debug-log.txt I've attached debug-log.txt when executing resources plugin with maven {{-X}} flag. The second file is the output of {{find}} utility from console which shows the missing files. > Not all resources are copied > > > Key: MRESOURCES-215 > URL: https://issues.apache.org/jira/browse/MRESOURCES-215 > Project: Maven Resources Plugin > Issue Type: Bug >Affects Versions: 2.7 > Environment: $ mvn -version > Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; > 2015-11-10T17:41:47+01:00) > Maven home: /usr/local/Cellar/maven/3.3.9/libexec > Java version: 1.8.0_73, vendor: Oracle Corporation > Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "mac os x", version: "10.11.4", arch: "x86_64", family: "mac" >Reporter: Arek Kita > Attachments: debug-log.txt, result-console.txt > > > It seems that when I define resources to copy in the following way: > {code:xml} > > > > > ${basedir}/src/main/content/jcr_root > >**/*.vlt/** >**/*.vlt >**/*.DS_Store > > > {code} > some files for some directories aren't copied (i.e. {{.content.xml}}) files. > I tried removing {{excludes}} section but it doesn't help. > The only thing which solves the problem is removal of the above section in > favour of the plugin configuration: > {code:xml} > > maven-resources-plugin > > > copy-jcr-content > generate-resources > > copy-resources > > > > ${project.build.directory}/classes > true > > > > ${basedir}/src/main/content/jcr_root > > > **/*.vlt/** > > **/*.vlt > > **/*.DS_Store > > > > > > > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MRESOURCES-215) Not all resources are copied
[ https://issues.apache.org/jira/browse/MRESOURCES-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15227973#comment-15227973 ] Arek Kita commented on MRESOURCES-215: -- Thanks [~khmarbaise] for response and sure I'll try to reproduce this today on simpler example as I cannot export the whole project as is. Then I'll be able to attach the project. > Not all resources are copied > > > Key: MRESOURCES-215 > URL: https://issues.apache.org/jira/browse/MRESOURCES-215 > Project: Maven Resources Plugin > Issue Type: Bug >Affects Versions: 2.7 > Environment: $ mvn -version > Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; > 2015-11-10T17:41:47+01:00) > Maven home: /usr/local/Cellar/maven/3.3.9/libexec > Java version: 1.8.0_73, vendor: Oracle Corporation > Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "mac os x", version: "10.11.4", arch: "x86_64", family: "mac" >Reporter: Arek Kita > Attachments: debug-log.txt, result-console.txt > > > It seems that when I define resources to copy in the following way: > {code:xml} > > > > > ${basedir}/src/main/content/jcr_root > >**/*.vlt/** >**/*.vlt >**/*.DS_Store > > > {code} > some files for some directories aren't copied (i.e. {{.content.xml}}) files. > I tried removing {{excludes}} section but it doesn't help. > The only thing which solves the problem is removal of the above section in > favour of the plugin configuration: > {code:xml} > > maven-resources-plugin > > > copy-jcr-content > generate-resources > > copy-resources > > > > ${project.build.directory}/classes > true > > > > ${basedir}/src/main/content/jcr_root > > > **/*.vlt/** > > **/*.vlt > > **/*.DS_Store > > > > > > > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (MRESOURCES-215) Not all resources are copied
[ https://issues.apache.org/jira/browse/MRESOURCES-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arek Kita closed MRESOURCES-215. Resolution: Cannot Reproduce I know this may sound weird but I wasn't able to reproduce this today neither on simpler project nor on original one so I'm assuming the files were copied according to DEBUG logs but then there were deleted somehow so it might be a local issue only. Sorry for taking your attention here. I'll reopen when I'm more sure I can reproduce this and it's not related to my environment. > Not all resources are copied > > > Key: MRESOURCES-215 > URL: https://issues.apache.org/jira/browse/MRESOURCES-215 > Project: Maven Resources Plugin > Issue Type: Bug >Affects Versions: 2.7 > Environment: $ mvn -version > Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; > 2015-11-10T17:41:47+01:00) > Maven home: /usr/local/Cellar/maven/3.3.9/libexec > Java version: 1.8.0_73, vendor: Oracle Corporation > Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "mac os x", version: "10.11.4", arch: "x86_64", family: "mac" >Reporter: Arek Kita > Attachments: debug-log.txt, result-console.txt > > > It seems that when I define resources to copy in the following way: > {code:xml} > > > > > ${basedir}/src/main/content/jcr_root > >**/*.vlt/** >**/*.vlt >**/*.DS_Store > > > {code} > some files for some directories aren't copied (i.e. {{.content.xml}}) files. > I tried removing {{excludes}} section but it doesn't help. > The only thing which solves the problem is removal of the above section in > favour of the plugin configuration: > {code:xml} > > maven-resources-plugin > > > copy-jcr-content > generate-resources > > copy-resources > > > > ${project.build.directory}/classes > true > > > > ${basedir}/src/main/content/jcr_root > > > **/*.vlt/** > > **/*.vlt > > **/*.DS_Store > > > > > > > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)