vaadin / vaadin/framework

Tutorial: Creating a Project with IntelliJ IDEA: Error: could not transfer metadata from org.apache.maven.plugins

Open
#12,038 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Stale
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.