Help with compiling bukkit plugins

Discussion in 'General Help' started by Nebuler, Aug 15, 2015.

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

    Nebuler

  2. Offline

    timtower Administrator Administrator Moderator

    @Nebuler Is it your own code? If so: export it as a jar, the wiki has some information about that and there are plenty of other tutorials for that.
     
  3. Offline

    Nebuler

    @timtower no, it is not my own code.

    I'd like someone to do it as the tutorials are outdated and unclear
     
  4. Offline

    timtower Administrator Administrator Moderator

    @Nebuler Ask the developer of the code to do it instead.
     
  5. Offline

    Nebuler

    @timtower why cannot someone else do it? I'm sure it's quite simple.
     
  6. Offline

    timtower Administrator Administrator Moderator

    @Nebuler Because it could be disrespectfull towards the original developer.
    And the instructions aren't outdated.
     
  7. Offline

    Nebuler

    @timtower the developer has given me permission
     
  8. Offline

    timtower Administrator Administrator Moderator

    @Nebuler Are you able to prove that?
     
  9. Offline

    Nebuler

    @timtower i couldn't prove it, no

    @timtower ok, i opened it up in eclipse and then ran it as a maven install. I get this error
    error ;_; (open)
    Code:
    [INFO] Scanning for projects...
    [WARNING] 
    [WARNING] Some problems were encountered while building the effective model for com.xisumavoid:XPD-Skulls:jar:1.0-SNAPSHOT
    [WARNING] 'dependencies.dependency.systemPath' for org.json:json:jar should not point at files within the project directory, ${basedir}/lib/json-20141113.jar will be unresolvable by dependent projects @ line 115, column 25
    [WARNING] 
    [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
    [WARNING] 
    [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
    [WARNING] 
    [INFO]                                                                        
    [INFO] ------------------------------------------------------------------------
    [INFO] Building XPD-Skulls 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO] Downloading: [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/org/spigotmc/spigot-api/1.8.7-R0.1-SNAPSHOT/maven-metadata.xml[/URL]
    [WARNING] Could not transfer metadata org.spigotmc:spigot-api:1.8.7-R0.1-SNAPSHOT/maven-metadata.xml from/to xpd-snapshots ([URL]http://nexus.xisumavoid.com/content/repositories/snapshots/[/URL]): Access denied to [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/org/spigotmc/spigot-api/1.8.7-R0.1-SNAPSHOT/maven-metadata.xml[/URL]. Error code 401, Unauthorized
    [WARNING] Failure to transfer org.spigotmc:spigot-api:1.8.7-R0.1-SNAPSHOT/maven-metadata.xml from [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/[/URL] was cached in the local repository, resolution will not be reattempted until the update interval of xpd-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.spigotmc:spigot-api:1.8.7-R0.1-SNAPSHOT/maven-metadata.xml from/to xpd-snapshots ([URL]http://nexus.xisumavoid.com/content/repositories/snapshots/[/URL]): Access denied to [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/org/spigotmc/spigot-api/1.8.7-R0.1-SNAPSHOT/maven-metadata.xml[/URL]. Error code 401, Unauthorized
    [INFO] Downloading: [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/net/md-5/bungeecord-chat/1.8-SNAPSHOT/maven-metadata.xml[/URL]
    [WARNING] Could not transfer metadata net.md-5:bungeecord-chat:1.8-SNAPSHOT/maven-metadata.xml from/to xpd-snapshots ([URL]http://nexus.xisumavoid.com/content/repositories/snapshots/[/URL]): Access denied to [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/net/md-5/bungeecord-chat/1.8-SNAPSHOT/maven-metadata.xml[/URL]. Error code 401, Unauthorized
    [WARNING] Failure to transfer net.md-5:bungeecord-chat:1.8-SNAPSHOT/maven-metadata.xml from [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/[/URL] was cached in the local repository, resolution will not be reattempted until the update interval of xpd-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata net.md-5:bungeecord-chat:1.8-SNAPSHOT/maven-metadata.xml from/to xpd-snapshots ([URL]http://nexus.xisumavoid.com/content/repositories/snapshots/[/URL]): Access denied to [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/net/md-5/bungeecord-chat/1.8-SNAPSHOT/maven-metadata.xml[/URL]. Error code 401, Unauthorized
    [INFO] Downloading: [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/net/md-5/bungeecord-parent/1.8-SNAPSHOT/maven-metadata.xml[/URL]
    [WARNING] Could not transfer metadata net.md-5:bungeecord-parent:1.8-SNAPSHOT/maven-metadata.xml from/to xpd-snapshots ([URL]http://nexus.xisumavoid.com/content/repositories/snapshots/[/URL]): Access denied to [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/net/md-5/bungeecord-parent/1.8-SNAPSHOT/maven-metadata.xml[/URL]. Error code 401, Unauthorized
    [INFO] Downloading: [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/org/bukkit/bukkit/1.8.7-R0.1-SNAPSHOT/maven-metadata.xml[/URL]
    [WARNING] Could not transfer metadata org.bukkit:bukkit:1.8.7-R0.1-SNAPSHOT/maven-metadata.xml from/to xpd-snapshots ([URL]http://nexus.xisumavoid.com/content/repositories/snapshots/[/URL]): Access denied to [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/org/bukkit/bukkit/1.8.7-R0.1-SNAPSHOT/maven-metadata.xml[/URL]. Error code 401, Unauthorized
    [WARNING] Failure to transfer org.bukkit:bukkit:1.8.7-R0.1-SNAPSHOT/maven-metadata.xml from [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/[/URL] was cached in the local repository, resolution will not be reattempted until the update interval of xpd-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.bukkit:bukkit:1.8.7-R0.1-SNAPSHOT/maven-metadata.xml from/to xpd-snapshots ([URL]http://nexus.xisumavoid.com/content/repositories/snapshots/[/URL]): Access denied to [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/org/bukkit/bukkit/1.8.7-R0.1-SNAPSHOT/maven-metadata.xml[/URL]. Error code 401, Unauthorized
    [INFO] Downloading: [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/org/bukkit/craftbukkit/1.8.7-R0.1-SNAPSHOT/maven-metadata.xml[/URL]
    [WARNING] Could not transfer metadata org.bukkit:craftbukkit:1.8.7-R0.1-SNAPSHOT/maven-metadata.xml from/to xpd-snapshots ([URL]http://nexus.xisumavoid.com/content/repositories/snapshots/[/URL]): Access denied to [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/org/bukkit/craftbukkit/1.8.7-R0.1-SNAPSHOT/maven-metadata.xml[/URL]. Error code 401, Unauthorized
    [WARNING] Failure to transfer org.bukkit:craftbukkit:1.8.7-R0.1-SNAPSHOT/maven-metadata.xml from [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/[/URL] was cached in the local repository, resolution will not be reattempted until the update interval of xpd-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.bukkit:craftbukkit:1.8.7-R0.1-SNAPSHOT/maven-metadata.xml from/to xpd-snapshots ([URL]http://nexus.xisumavoid.com/content/repositories/snapshots/[/URL]): Access denied to [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/org/bukkit/craftbukkit/1.8.7-R0.1-SNAPSHOT/maven-metadata.xml[/URL]. Error code 401, Unauthorized
    [INFO] Downloading: [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/org/bukkit/craftbukkit/1.8.7-R0.1-SNAPSHOT/craftbukkit-1.8.7-R0.1-SNAPSHOT.pom[/URL]
    [WARNING] The POM for net.milkbowl.vault:Vault:jar:1.5.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1.553 s
    [INFO] Finished at: 2015-08-15T11:50:31+01:00
    [INFO] Final Memory: 10M/245M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal on project XPD-Skulls: Could not resolve dependencies for project com.xisumavoid:XPD-Skulls:jar:1.0-SNAPSHOT: Failed to collect dependencies at org.bukkit:craftbukkit:jar:1.8.7-R0.1-SNAPSHOT: Failed to read artifact descriptor for org.bukkit:craftbukkit:jar:1.8.7-R0.1-SNAPSHOT: Could not transfer artifact org.bukkit:craftbukkit:pom:1.8.7-R0.1-SNAPSHOT from/to xpd-snapshots ([URL]http://nexus.xisumavoid.com/content/repositories/snapshots/[/URL]): Access denied to [URL]http://nexus.xisumavoid.com/content/repositories/snapshots/org/bukkit/craftbukkit/1.8.7-R0.1-SNAPSHOT/craftbukkit-1.8.7-R0.1-SNAPSHOT.pom[/URL]. Error code 401, Unauthorized -> [Help 1]
    [ERROR] 
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR] 
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] [URL]http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException[/URL]
    
     
    Last edited by a moderator: Aug 15, 2015
  10. Offline

    timtower Administrator Administrator Moderator

    Locked
    Bungeecord requires offline mode, offline mode is not supported
     
Thread Status:
Not open for further replies.

Share This Page