Java Repository of Eclipse with Maven: Missing artifact ~

Introduction

It's not a big deal, so it's not really worth reading.

What happened

Install or decompress Eclipse in a clean OS state. When I set junit in maven, I get an error like "Missing artifact ...". The same phenomenon occurs even if you copy the entire Eclipse from another PC that has no problem and start it with clean.

The same phenomenon as here occurred, but I was confused because some PCs did and some did not.

solution

I'm not sure, but when I ran the following in Eclipse, the error disappeared. Right click on the project-> [Maven]-> [Download Source] If you save pom.xml, it will be downloaded automatically, right?

Summary

It is not well understood.

Recommended Posts

Java Repository of Eclipse with Maven: Missing artifact ~
Try gRPC with Java, Maven
CICS-Run Java applications-(2) Build management with Maven
[Java] [Maven3] Summary of how to use Maven3
[Java] Deploy a web application created with Eclipse + Maven + Ontology on Heroku
[CircleCI 2.0] [Java] [Maven] [JUnit] Aggregate JUnit test results with CircleCI 2.0
Java automated test implementation with JUnit 5 + Apache Maven
Deploy Java web app to Azure with maven
[Java] Explanation of Strategy pattern (with sample code)
Change the URL of the application of Eclipse project (Maven).
Make Java Stream line breaks nice with eclipse
Calculate the similarity score of strings with JAVA
Automate Java (Maven) project build with CircleCI + Orbs
Profile-derived automation of Code Artifact authentication with Gradle
java, maven memo
[Java] [Maven] Template of pom.xml to register 3rd party jar file in local repository
[Java] Overview of Java
[Java] Sort ArrayList with elements of your own class
Submit a job to AWS Batch with Java (Eclipse)
[Tutorial] Download Eclipse → Run the application with Java (Pleiades)
CI the architecture of Java / Kotlin applications with ArchUnit
Summary of ToString behavior with Java and Groovy annotations
Compile with Java 6 and test with Java 11 while running Maven on Java 8
[Tutorial] Download Eclipse → Run Web application with Java (Pleiades)
Monitor the internal state of Java programs with Kubernetes
Check the behavior of Java Intrinsic Locks with bpftrace
[Java] Environment construction procedure for developing struts 1.3 with Eclipse
How to boot by environment with Spring Boot of Maven
[Java] One type of alphabet prohibited FizzBuzz with binding [Binding]
The story of making dto, dao-like with java, sqlite
Replace only part of the URL host with java