BukkitWiki

Welcome to the BukkitWiki!

This Wiki is home to Bukkit's documentation and regulations surrounding the Bukkit Project and it's services. Want to help out? We would love to have you! Signup to get started!

READ MORE

BukkitWiki
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

You will need add entries into your pom.xml to use Bukkit as a dependency in your project. Bukkit is not found on the maven central repository, you will need to add the Bukkit repository in addition to the Bukkit dependency declaration.

For more information about Maven dependencies see Introduction to the Dependency Mechanism

Repository and Dependency Information

Repository Dependency
<repository>
  <id>bukkit-repo</id>
  <url>http://repo.bukkit.org/content/groups/public/</url>
</repository>
<dependency>
    <groupId>org.bukkit</groupId>
    <artifactId>bukkit</artifactId>
    <version>1.6.4-R2.0</version>
    <scope>provided</scope>
</dependency>

Configuring your Maven Project

<project>
    [...]
    <repositories>
        [...]
        <!-- Bukkit can be found at the following repository -->
        <repository>
          <id>bukkit-repo</id>
          <url>http://repo.bukkit.org/content/groups/public/</url>
        </repository>
    </repositories>
    [...]
    <dependencies>
       [...]
        <!-- Dependency information --> 
        <dependency>
            <groupId>org.bukkit</groupId>
            <artifactId>bukkit</artifactId>
            <scope>provided</scope>
            <!-- Bukkit API Version, change if necessary -->
            <version>1.6.4-R2.0</version>
        </dependency>
    </dependencies>
    [...]
</project>
Language   EnglishбеларускаяDeutschespañolsuomifrançaisitaliano한국어Nederlandsnorskpolskiportuguêsрусскийlietuviųčeština
Advertisement