[Maven] Could not resolve dependencies
envgap__SBPrime__AsyncWorldEdit-218
Original GitHub issue ↗Opened 2019-02-18
01 / FAILURE SIGNATURE
As reported upstream
Full error:
Not a benchmark task.
- No curated issue-specific recipe or verified environment fix is available.
02 / ENVIRONMENT RECIPE
- Base commit
Not freshly verified- Manifest
pom.xml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
SBPrime/AsyncWorldEdit #218 · read the original issue
```
Failed to collect dependencies at com.sk89q.worldedit:worldedit-bukkit:jar:[7.0,7.1): No versions available for com.sk89q.worldedit:worldedit-bukkit:jar:[7.0,7.1) within specified range
```
i get the above error when trying to 'Run as Maven build' with parameter 'Package'
This is the POM i use:
```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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.unlimitedgamesnetwork</groupId>
<artifactId>UGNSkyblock</artifactId>
<version>1.11.2</version>
<name>UGNSkyblock</name>
<url>http://www.unlimitedgamesnetwork.com/</url>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<!--Spigot Repo-->
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<!--AsyncWorldEdit Repo-->
<repository>
<id>github-asyncworldedit-api</id>
<url>https://raw.githubusercontent.com/SBPrime/AsyncWorldEdit/maven-artifact/</url>
</repository>
</repositories>
<dependencies>
<!--Spigot API-->
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.9.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!--AsyncWorldEdit API-->
<dependency>
<groupId>org.primesoft.asyncworldedit</groupId>
<artifactId>AsyncWorldEdit-API</artifactId>
<version>[2.2.0-rc-01, 2.2.0)</version>
<type>jar</type>
</dependency>
<!--Json Simple-->
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1.1</version>
</dependency>
</dependencies>
</project>
```
And when I go to the url where it tries to pull the version of. Version 7.0 / 7.1 don't exist at that path.
Path: http://maven.sk89q.com/repo/com/sk89q/worldedit/
So? what do I have to do.
I've done as you've stated at : https://github.com/SBPrime/AsyncWorldEdit/tree/maven-artifact
Full error:
```
[ERROR] Failed to execute goal on project UGNSkyblock: Could not resolve dependencies for project com.unlimitedgamesnetwork:UGNSkyblock:jar:1.11.2: Failed to collect dependencies at org.primesoft.asyncworldedit:AsyncWorldEdit-API:jar:2.2.0-rc-01 -> com.sk89q.worldedit:worldedit-core:jar:[7.0,7.1): No versions available for com.sk89q.worldedit:worldedit-core:jar:04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]
Issue-specific recipe and runtime smoke command require review against the complete issue and repository.
Legacy reproduction is generic install-only; match the actual issue failure before admission.