fix maven build so eclipse:eclipse goal doesn't add
src/main/resources/META-INF/LICENSE, NOTICES, and DISCLAIMER
----------------------------------------------------------------------------------------------------------------
Key: UIMA-708
URL: https://issues.apache.org/jira/browse/UIMA-708
Project: UIMA
Issue Type: Improvement
Reporter: Marshall Schor
Currently, every time you run eclipse:eclipse, the parent POM is configured for
the life-cycle phase of generate-resources to run an ant script to copy the
LICENSE, NOTICES, and DISCLAIMER files into the source tree, and because
eclipse:eclipse runs the phases up to "generate-resources" (see
http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html where it
says: "Invokes the execution of the lifecycle phase generate-resources prior to
executing itself."), these files end up in the source tree, and need to be
manually deleted.
Change this to the maven-way of doing this: add a <resources> element to the
parent POM that is configured to add these files to the meta-inf of the result.
Adam said that he tried this earlier, and got strange failures. I just tried
it and it seems to work now. I ran the whole build, both install and
assembly:assembly. So, I think the prior issues have been resolved with the
2.0.7 level of Maven (current level is now 2.0.8).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.