Jump to content

[Guide]How to compile with maven


Recommended Posts

Download link:Maven

 

Extract maven to an empty folder for example in C://

Untitled-1.jpg

 

Ok now go to your project checkout folder that you create earlier.You will see 6 folders

L2EmuProject-Commons

L2EmuProject-Datapack

L2EmuProject-Game

L2EmuProject-Geo

L2EmuProject-Login

L2J-MMOCore

Untitled-2.jpg

 

Go to in  L2EmuProject-Game . See inside a file pom.xml. Right-click and press " Open with " and  "Choose default program". Press " Browse " and go to in windows/system32 and select cmd.exe.

Untitled-3.jpg

Untitled-4.jpg

Untitled-5.jpg

Untitled-6.jpg

 

Write in cmd:  "C://maven/bin/mvn assembly:assembly -Dmaven.test.skip=true" without commas

Untitled-7.jpg

 

 

Link to comment
Share on other sites

  • 5 months later...

When i write in cmd, i get this error (i did add new system variable for java jdk,and edited mvn.bat like Intrepit said). Why do i get this error?

 

http://img442.imageshack.us/img442/779/14509984.jpg

Link to comment
Share on other sites

  • 1 month later...
Guest
This topic is now closed to further replies.


×
×
  • Create New...