Non-parseable POM error

Discussion in 'Plugin Development' started by SuperPigstir_YT, Mar 21, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    SuperPigstir_YT

    I am extremely new to this, so there is probably a really easy fix that I just can't figure out. I'm following the tutorial on how to do it and have gotten an error, which I can't get past. My code is:
    Code:
    <project xmlns="[URL]http://maven.apache.org/POM/4.0.0[/URL]" xmlns:xsi="[URL]http://www.w3.org/2001/XMLSchema-instance[/URL]" xsi:schemaLocation="[URL]http://maven.apache.org/POM/4.0.0[/URL] [URL]https://maven.apache.org/xsd/maven-4.0.0.xsd[/URL]">
      <modelVersion>4.0.0</modelVersion>
      <groupId>io.github.SuperPigstirYT</groupId>
      <artifactId>ThisOne</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <repositories>
      <repository>
      <id>spigot-repo</id>
      <url>[URL]https://hub.spigotmc.org/nexus/content/repositories/public/</url>[/URL]
      </repository>
      </repositories>
      <dependencies>
      <dependency>
      <groupId>org.bukkit</groupId>
      <artifactId>bukkit</artifactId>
      <version>1.15.2</version><!--change this value depending on the version or use LATEST-->
      <type>jar</type>
      <scope>provided</scope>
      </dependency>
      </dependencies>
    </project>
      <dependencies>  [U][B]Error is here[/B][/U]
      <dependency>
      <groupId>org.spigotmc</groupId>
      <artifactId>spigot-api</artifactId>
      <version>1.15.2</version><!--change this value depending on the version-->
      <type>jar</type>
      <scope>provided</scope>
      </dependency>
      </dependencies>
    <build>
      <plugins>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-compiler-plugin</artifactId>
      <configuration>
      <source>1.8</source>
      <target>1.8</target>
      </configuration>
      </plugin>
      </plugins>
      </build>
    
    Any help is appreciated!
     
    Last edited by a moderator: Mar 21, 2020
  2. Offline

    KarimAKL

    @SuperPigstir_YT I don't use it too much myself but, aren't you supposed to have the dependencies inside of the <project> scope?
     
  3. Offline

    SuperPigstir_YT

    Tutorial says so, also I already tried that.
     
    Last edited: Mar 21, 2020
Thread Status:
Not open for further replies.

Share This Page