Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Have higher "JRE System Library" than "Compiler Compliance" by default.

M2e configures this based on the target/source configured for the maven-compiler-plugin. Not sure it's possible to have the split config in Eclipse you're asking for.

/Anders

On Fri, Sep 29, 2017 at 8:50 AM, Basin Ilya <basinilya@xxxxxxxxx> wrote:
Dear m2e users.

Can I configure pom.xml so that when I import a maven project to Eclipse or select "Maven/Update project" the "Compiler Compliance" would set to 1.6 and "JRE System
Library" would set to "JavaSE-1.7"? I can set it manually in project settings, but it's lost after "Update project".

I need some new java API to be visible to the compiler, yet I sometimes run my jar on older java and programmatically check java features.


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top