Enable the Preview Feature in Java 13 with Maven
A preview feature or VM feature is a new feature of the Java SE Platform.
This article shows you how to use –enable-preview to enable the preview features in Java 13 with maven.
To use preview features in your programs, you must explicitly enable them in the compiler and the runtime system. Because this feature disabled by default.If not, you’ll receive an error message that states that your code is using a preview feature.
Read more “Enable the Preview Feature in Java 13 with Maven”