"Failed to read artifact descriptor for org.spongepowered"

I am trying to learn plugin development for sponge, however, I am unable to get the dependencies working.
I am using java 8 and latest maven.
I followed the eclipse/ maven guide.
Here is my pom.xml:

<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">
  <name>Simple Test</name>
  <description>A simple test of sponge plugin development</description>



The full error is:

Failed to read artifact descriptor for org.spongepowered:spongeapi:jar:5.0.0

Any help would be greatly appreciated.

I don’t see it here; did you close with a </repositories>?

Well, I ended up switching to Intellij IDEA

That’s always the best solution. :stuck_out_tongue:

1 Like

You should also switch to Gradle rather than using Maven, as it looks nicer and is easier to fix.

Well, it really is up to personal opinion.

True enough, but I feel as though Gradle has a simplicity that Maven does not.

Gradle can also get more complicated, as you’re dealing with programming language DSL instead of concrete XML.

Not saying it’s bad (Gradle is a hundred times better than Maven) but both have their place and it depends on what you prefer.