Hi Oleg
I'm sorry I do not remember what was exactly wrong with the NOTICE
files.. so I checked the HttpClient release 4.0.3 but couldn't locate
exactly what need to be fixed.. Looking at the
src/main/resources/NOTICE.txt on HttpCore, I only see one occurrence of
the keyword "${project.name}" - is that a problem?
thanks and sorry for having to ask a question that I possibly must have
been aware of :(
asankha
On 10/22/2010 02:51 AM, Oleg Kalnichevski wrote:
Sebastian
I investigated the problem with NOTICE file in source jars. It looks
like the maven-source-plugin treats resources declared in the
build/resources section of the pom as source files without performing
keywords expansion, which, sort of, makes sense.
I see several options, but all of them are not pretty
(1) Do nothing
(2) Do not use keywords in NOTICE files and end up maintaining a
different instance of NOTICE per project module
(3) Raise an issue with Maven developers and try to convince them to
change the behavior of the plugin
(4) Build a custom Maven plugin that generates NOTICE and LICENCE
entries in all jars automatically and end up having to maintain yet
another project artifact with all the overhead that entails
If you are not willing to live with option (1), I find the whole
situation annoying to such an extent so I am leaning towards option (4)
Do you have any other ideas?
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org
--
Asankha C. Perera
AdroitLogic, http://adroitlogic.org
http://esbmagic.blogspot.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org