Maven Repository

  • Views Views: 3,569
  • Last updated Last updated:
  • Maven Repository

    pom.xml


    This is an example of what to put in your pom.xml to get the API's from the repository.

    XML:

    <repositories>
    <repository>
    <id>nukkit-repo</id>
    <url>https://repo.nukkitx.com/maven-snapshots</url>
    </repository>
    </repositories>
    <dependencies>
    <dependency>
    <groupId>cn.nukkit</groupId>
    <artifactId>nukkit</artifactId>
    <version>1.0-SNAPSHOT</version>
    <scope>provided</scope>
    </dependency>
    </dependencies>
  • Loading…
Top