0

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>

1 Answers1

0

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

Good luck!

Jamie Bisotti
  • 2,605
  • 19
  • 23
  • Thanks for the reply. The thing is that I have exactly that in my pom so I really can't figure out why it won't work – Paolo_Jimenez Nov 11 '20 at 21:03
  • What I see on that page and what I see above are not the same thing. – Jamie Bisotti Nov 12 '20 at 02:30
  • Well the first part is my maven code for the pom and the tag is needed to avoid a different error. The tag is either 1,1.0.0 or the code that I have used, to specify which release it is. Putting in exactly what is on that page causes another litany of issues – Paolo_Jimenez Nov 12 '20 at 10:31