On 03/04/2012 04:00 PM, Gilles Sadowski wrote: > On Sun, Mar 04, 2012 at 03:10:17PM +0100, Thomas Neidhart wrote: >> On 03/04/2012 03:35 AM, Gilles Sadowski wrote: >>> Hello. >>> >>> Please review the deliverables for Math 3.0. >> >> There is still an old artifact in the jar: >> >> templates/math-release-notes.vm >> >> which comes from >> >> src/main/resources/templates/math-release-notes.vm >> >> The actual release notes are now generated from >> >> src/changes/release-notes.vm > > Yes, I discovered that the hard way because > > $ mvn changes:annoucement-generate > > does not work as is, you need to explicitly indicate where to pick the > template...
hmm this is strange, as the new location is configured in the commons-parent pom, and CM should inherit from there. I tried it locally and it worked without specifying the location. >> So the former file could be safely removed. > > Yes, but I'd rather not touch the src tree if we can help it. > If we can't, I'll do it. You can also specify an exclude in the pom.xml to prevent it being included in the final jar, something like: <build> <resources> <resource> <directory>src/main/resources</directory> <excludes> <exclude>templates/*.vm</exclude> </excludes> </resource> </resources> </build> Best, Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org