Hi, I wanted to learn what is the pattern in maven when we have to change the import at the top of class based on dependency version.
Example in Java code If dependency version is 1.0 Then import path import com.hello.Class If dependency version is 2.0 Then import path import com.hello2.Class Thanks in advance.