Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boost fetching plugin prefix #714

Closed
Eskibear opened this issue Aug 20, 2021 · 1 comment · Fixed by #731
Closed

boost fetching plugin prefix #714

Eskibear opened this issue Aug 20, 2021 · 1 comment · Fixed by #731
Labels
feature-request New feature or request
Milestone

Comments

@Eskibear
Copy link
Member

Currently we run mvn help:describe and parse its output to get information like prefix and goals. It can be slow to run commands for all plugins at the same time (and that's why we cache result).

Now I find prefix can be directly found from maven central.

E.g.
For all plugins with group id org.apache.maven.plugins, information like artifactId, name, prefix can be read directly from
https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml

@Eskibear Eskibear added the feature-request New feature or request label Aug 20, 2021
@Eskibear Eskibear added this to the 0.34.0 milestone Sep 1, 2021
@Eskibear
Copy link
Member Author

Eskibear commented Sep 22, 2021

To verify:

  1. Open a maven project
  2. expand project node, expand "Plugins" node
  3. it's expected to see plugins listed with groupid and artifact id at first
  4. later the label should be replaced by its "prefix". And it should not a long time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant