Yes... a corporate or some other higher level pom is typically how you 
configure this across lots of projects. But even if you dont ... its two lines 
of config on the compiler plugin.

Manfred

Sander Verhagen wrote on 17.06.2015 15:16:

> I wonder if this would be a good candidate for a corporate POM that deals with
> this kind of configuration?
> 
> 
> 
> Sander Verhagen
> [  [email protected]  ]
> 
> NOTICE: my e-mail address has changed. You may still e-mail me at
> [email protected] but you will see me using [email protected] from
> now on. Feel free to update your address book.
> 
>> -----Original Message-----
>> From: Mangold, Kevin C. [mailto:[email protected]]
>> Sent: Wednesday, June 17, 2015 12:55
>> To: [email protected]
>> Subject: Default Maven Compiler Version
>> 
>> Why does the maven compiler plugin STILL target 1.5 by default and not the
>> JDK's current version? This seems completely backwards. We use CI tools to
>> test against different JDK versions and architectures and it is a massive 
>> pain
>> to implement all these workarounds to have the compiler target each JDK's
>> respective version.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to