-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Windows 10
BuildTools 1.17 (Build 3164)
Amazon Corretto JDK 16.0.1
Gradle 7.1
-
git-BuildTools-e03ad1c-130 (1.17 Build 3164)
-
Yes
BuildTools 1.17 has introduced extra mappings for "org.spigotmc:minecraft-sever", and during the process of maven install, pom file generated in "org/spigotmc/minecraft-server/1.17-R0.1-SNAPSHOT" contains an extra "packaging" field.
When trying to use that artifact as dependency in gradle, error shows up on gradle sync
Could not find org.spigotmc:minecraft-server:1.17-R0.1-SNAPSHOT
Manual modification of "minecraft-server-1.17-R0.1-SNAPSHOT.pom" can fix this issue, but I think it is better to fix this by disabling pom generation when installing mapping files.