简体   繁体   中英

Maven java version per module

Want to add java 7 compiled module to existing java 6 compiled maven project.

Anyone knows whether this project structure is supported by:

1) Maven
2) Intellij Idea
3) Eclipse

Any other thoughts why should (or should not) this be done.

Yes, this is supported. For each module, in Maven you need to specify the proper compiler source and target versions. When you import it in IntelliJ it will know. I'm sure Eclipse will figure it out as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM