Replies: 1 comment 1 reply
-
I don't understand that part. What do you mean specifically here? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way with m2e core to compute all versions of an artifact (a dependency artifact) available for a project? Version of an artifact available for the project would reside in an artifact repository specified in the pom or maven central.
I thought I'd go with IMaven.readProject(File, IProgressMonitor) but then i have to deal with
org.apache.maven.project.MavenProject
which isn't made visible... Same goes toArtifactRepository
which seem to have the function I'd like to use, namely:List<String> findVersions(Artifact artifact);
I found
org.eclipse.m2e.core.ui.internal.search.util.SearchEngine
interface but could find any concrete implementation of it. Besides depending on UI bundles isn't a great idea for me since I'd like to use that code from the Language Server side.Anything you could recommend or give some pointers?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions