Tutorial: Creating a Project with IntelliJ IDEA: Error: could not transfer metadata from org.apache.maven.plugins
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 717
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 3
Description
https://vaadin.com/docs/v8/framework/getting-started/getting-started-idea.html
i followed the Tutorial and get this error inside the IDE:
could not transfer metadata
org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml
from/to central (https://repo.maven.apache.org/maven2):
transfer failed for
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/maven-metadata.xml
i also wiped all my rm -rf ~/.m2 directory with the same error
workaround:
use the commandline tutorial here: https://vaadin.com/docs/v8/framework/getting-started/getting-started-maven.html
note:
after running the command line i think all artefacts are in the ~/.m2 cache and there was this error not anymore. but for new users this can be a PITA, maybe add here an info to use the command line when this error arise
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the IntelliJ IDEA tutorial at the linked getting-started-idea.html page and compare it with the command-line guidance in getting-started-maven.html. Document the command-line workaround for the Maven metadata transfer error, and confirm that the page clearly explains what new users should do when the IDE setup fails.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100