Affected version
4.0.0-rc-5
Bug description
I am migrating a Mojo of mine to Maven 4.0.
I am using org.apache.maven.project.MavenProject and I am getting
"The method getRuntimeClasspathElements() from the type MavenProject is deprecated"
MavenProject.getRuntimeClasspathElements() is deprecated, and the documentation is pointing to org.apache.maven.api.JavaPathType.
Is there somewhere an example of how to use org.apache.maven.api.JavaPathType ?
Can I safely use getRuntimeClasspathElements ?
Thanks for any response.