hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Definition of maven.compiler.source in component poms
Date Sun, 23 Feb 2014 18:35:38 GMT
On Sun, 2014-02-23 at 03:38 +0000, sebb wrote:
> At present the parent 7 pom defines the source/target as 1.5.
> Some versions of some HC components override this (e.g. httpclient trunk)
> It seems to me it would be clearer to define the compiler version at
> component level rather than in the parent.
> It almost guaranteed that there will be components with differeing
> compiler requirements, so it will likely never be possible to use a
> common shared value - local overrides will always be needed.
> I suggest that the setting is removed from the next parent pom (if any
> is released) to force components to declare the compiler settings.

+1. Compiler settings in parent pom make no sense.

> In the meantime, I would like to add the settings to the 4.3 branch
> where necessary.
> Also, at present httpasyncclient trunk defaults to the parent pom
> (1.5) whereas httpclient and httpcore both use 1.6 in their poms.
> Using 1.5 for async seems wrong.

Async client development cycle is slightly behind given it depends on
both core and client. I'll upgrade it to 1.6 after 4.0.1.

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message