vijay created MRESOURCES-204:
--------------------------------
Summary: 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
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)