[ https://issues.apache.org/jira/browse/MRESOURCES-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15043456#comment-15043456 ]
Karl Heinz Marbaise commented on MRESOURCES-204: ------------------------------------------------ Can you explain why you are not using the {src/main/resources} location? And what exactly you are trying to achieve? > Maven gives successful Build message and creates empty jar if pom is > configured for executing copy-resources goal with phase process-resources. > ------------------------------------------------------------------------------------------------------------------------------------------------ > > Key: MRESOURCES-204 > URL: https://issues.apache.org/jira/browse/MRESOURCES-204 > Project: Maven Resources Plugin > Issue Type: Bug > Components: copy > Affects Versions: 2.7 > Environment: apache-maven-3.2.3, Oracle jdk1.7.0_67/jdk1.8.0_51, > Eclipse Kepler, Windows 7 > Reporter: vijay > Fix For: waiting-for-feedback > > Attachments: MyAnnotation.zip > > > When maven is configured to execute copy-resources goal of plugin > maven-resources-plugin with phase process-resources then Maven gives > successful build message but does not produce any class files and jar is > empty. But if same goal is executed with phase compile or test then build is > successful with produced jar containing classes and config files. In short > the execution of copy-resources goal is not consistent. > I have tested this for both JDK 7 and 8 with same behaviour. > I have enclosed zip which contains maven project "MyAnnotation". Please refer > this pom for execution or reproducing the issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)