Uploaded image for project: 'BuildTools'
  1. BuildTools
  2. BUILDTOOLS-600

Invalid POM file generated in BuildTools 1.17

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major 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.

            Unassigned Unassigned
            PatrickKR Patrick Choe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: