简体   繁体   中英

Error - The container 'Maven Dependencies' references non existing library

I'm doing an assignment that makes use of jitpack and maven but I'm struggling to get jitpack to work at all. I'm not sure what I'm doing wrong so any advice would be greatly helpful.

So the error I'm getting is;

Missing artifact com.github.PeadarC:Repository2:jar:5560d83

Here's my pom.xml file;

 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>partB</groupId> <artifactId>partB</artifactId> <version>0.0.1-SNAPSHOT</version> <repositories> <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> </repositories> <dependencies> <dependency> <groupId>com.github.PeadarC</groupId> <artifactId>Repository2</artifactId> <version>5560d83</version> </dependency> </dependencies> </project>

jitpack.io's main page has a "maven" tab that tells you what to put in your POM.

Good luck!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM