Quantcast
Channel: Vlad Mihalcea
Viewing all articles
Browse latest Browse all 177

How to use different Java versions for main and test in Maven

$
0
0

Introduction In this article, we are going to see how we can use different Java versions for the main and test folders in Maven so that you can run tests on a newer version of Java. Why even use different Java versions in a Maven project If you develop an end-user project, then, most likely, you need a single version of Java. However, things are way different for frameworks and libraries. For instance, the Hibernate Types project modules are built using the lowest-possible Java version required by the associated Hibernate version: The... Read More

The post How to use different Java versions for main and test in Maven appeared first on Vlad Mihalcea.


Viewing all articles
Browse latest Browse all 177

Trending Articles