Solved Maven Bukit 1.7.9-R0.1 dependency was missing

Discussion in 'Plugin Development' started by Zen3515, May 15, 2014.

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

    Zen3515

    Before beta version of bukkit release I use 1.7.9-R0.1-SNAPSHOT without any error so I decided to change to beta version the I chage version value to 1.7.9-R0.1 but I got error told me that "Missing artifact org.bukkit:bukkit:jar:1.7.9-R0.1 in pom.xml line 32"

    Code:
      <dependencies>
     
          <!-- Bukkit implementation -->
          <dependency>
              <groupId>org.bukkit</groupId>
              <artifactId>bukkit</artifactId>
              <version>1.7.9-R0.1</version> <--------! Error there!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
              <type>jar</type>
              <scope>provided</scope>     
          </dependency>
     
          <!-- NMS blocks -->
          <dependency>
                <groupId>org.bukkit</groupId>
                <artifactId>craftbukkit</artifactId>
                <version>1.7.9-R0.1</version>
            </dependency>
      </dependencies>
    How to fix this or I have to go back to SNAPSHOT :(

    ps. http://repo.bukkit.org/content/groups/public/org/bukkit/bukkit/ <- they told us that we can use version from there.
     
  2. Offline

    Syd

    Zen3515
    Have you tried to build the project?
    It should then look up the repositories for the dependency and, if available, download them.
    After that the arifact is no longer missing locally and the error should disappear.
     
    Zen3515 likes this.
  3. Offline

    Zen3515

    Syd wow thanks, your solution is working, this is simple problem why I don't think about try to build it:p
     
Thread Status:
Not open for further replies.

Share This Page