Maven Repository

  • Views Views: 11,116
  • 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>opencollab-repo-release</id>
    <url>https://repo.opencollab.dev/maven-releases</url>
    </repository>
    <repository>
    <id>opencollab-repo-snapshot</id>
    <url>https://repo.opencollab.dev/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