Bungeecord

Discussion in 'BungeeCord Help' started by littlezakki, Feb 17, 2020.

  1. I'm editing BungeeCord's Jar from source code to edit the messages from Kicked whilst connecting to (server): (the reason) to just (the reason) however, i'm trying to do mvn clean but it says
    'mvn' is not recognized as an internal or external command,
    operable program or batch file.

    how do i do this thanks
     
  2. You are trying to use maven commands with powershell or command prompt.
    You should install Maven Apache to do that kind of stuff.
     
  3. how do i install it?
     
  4. alright do i need admin perms for the home thingy?
     
  5. and do i need to setup JAVA_HOME ?
     
  6. I think so
    if not set, yes
     
  7. would it work if i set it as a user envirment varible ?
     
  8. I think it would work
     
  9. uhhhhhhh, i setup the 2 system variables, however, in command prompt when i do "mvn -version" it says its not an executed batch file or an internal or external command i made shaw i did everything and correctly
     
  10. if you can't use it in command prompt, you can use Git instead
     
  11. so what do i tryi n git?
     
  12. $ mvn
    bash: mvn: command not found
     
  13. are you in your maven directory ?
     
  14. no, but i found my error i didnt save the changes
     
  15. So is it working now ?
     
  16. ah ok so now when i compile

    [INFO]
    [INFO] ----------------------< net.md-5:bungeecord-chat >----------------------
    [INFO] Building BungeeCord-Chat 1.15-SNAPSHOT [2/18]
    [INFO] --------------------------------[ jar ]---------------------------------
    [INFO]
    [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ bungeecord-chat ---
    [INFO] Deleting C:\Users\user\IdeaProjects\BungeeCord\chat\target
    [INFO]
    [INFO] --- scriptus:0.3.2:describe (default) @ bungeecord-chat ---
    [INFO] Set property "describe" to "git:BungeeCord-Chat:1.15-SNAPSHOT:e6b0d43:unknown"
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bungeecord-chat ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] Copying 2 resources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ bungeecord-chat ---
    [INFO] Changes detected - recompiling the module!
    [INFO] Compiling 20 source files to C:\Users\user\IdeaProjects\BungeeCord\chat\target\classes
    [INFO]
    [INFO] --- maven-checkstyle-plugin:3.1.0:check (default) @ bungeecord-chat ---
    [INFO] There is 1 error reported by Checkstyle 8.29 with checkstyle.xml ruleset.
    [ERROR] src\main\java\net\md_5\bungee\api\ChatMessageType.java:[6,29] (blocks) LeftCurly: '{' at column 29 should be on a new
    line.
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary for BungeeCord-Parent 1.15-SNAPSHOT:
    [INFO]
    [INFO] BungeeCord-Parent .................................. SUCCESS [ 5.160 s]
    [INFO] BungeeCord-Chat .................................... FAILURE [ 5.706 s]
    [INFO] BungeeCord-Config .................................. SKIPPED
    [INFO] BungeeCord-Event ................................... SKIPPED
    [INFO] BungeeCord-Protocol ................................ SKIPPED
    [INFO] BungeeCord-API ..................................... SKIPPED
    [INFO] BungeeCord-Log ..................................... SKIPPED
    [INFO] BungeeCord-Native .................................. SKIPPED
    [INFO] BungeeCord-Query ................................... SKIPPED
    [INFO] BungeeCord-Proxy ................................... SKIPPED
    [INFO] BungeeCord-Bootstrap ............................... SKIPPED
    [INFO] BungeeCord Modules ................................. SKIPPED
    [INFO] cmd_alert .......................................... SKIPPED
    [INFO] cmd_find ........................................... SKIPPED
    [INFO] cmd_list ........................................... SKIPPED
    [INFO] cmd_send ........................................... SKIPPED
    [INFO] cmd_server ......................................... SKIPPED
    [INFO] reconnect_yaml ..................................... SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 11.314 s
    [INFO] Finished at: 2020-02-17T21:50:57Z
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (default) on project bungeecord-ch
    at: You have 1 Checkstyle violation. -> [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] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
    [ERROR]
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR] mvn <args> -rf :bungeecord-chat
    Y
     
  17. and it doesnt give me a jar file
     
  18. and yes the maven now works but the compileing of bungeecord isn't