- Joined
- Dec 23, 2006
- Messages
- 492
- Reaction score
- 0
Welcome to "How to compile with maven" guide
Version:v2
Release:12/8/08
Credits:Noctarious-Hanwik
Ok lets start.Long time ago L2jfree change from ant to maven comprehesive tool.Many users try to manage maven but couldnt succeed
So in this guide i will try you to learn you the most easy way to get and compile latest l2jfree gameserver(core) and of course to get and compile its forks like l2emu and l2jumbrella
Ok this is the part of gameserver.First download the TortoiseSvn client.However because l2jfree has no support for TortoiseSvn 1.5++ you must download version 1.4.6
Download link:
Install it.Then go to a directory that you prefer to have your workspace,for example my domuments.Create a folder and name it as the pack that you want to checkout for example l2jfree.Go inside that folder and press the right click of your mouse.You will see an option "Svn Checkout".Press it.Then add the svn of the project you want(l2jfree,l2emu,l2jumbrella) and press ok.
Wait until it finish.When it finish go and download maven
Download link:
Extract maven to an empty folder for example in C://
So its directory will be C://
Ok now go to your project checkout folder that you create earlier.You will see5 folders
1)archive
2)Trunk
3)Tags
4)Branches
5)Release
In release folder there are the stable version sources and in trunk the current unstable sources.Lets say that you want to build a stable version
Go to release folder and open the version you want.For example 1.1.4.Inside it you will see a pom.xml file.Right click on it and press "open with"and then "Choose Default program".A menu will appear.Press "Browse"and go windows/system32 and select the cmd.exe file(cmd).Then open the pom.xml file with cmd.
Finally "write your path to maven/bin/mvn assembly:assembly -Dmaven.test.skip=true" with out the ""
So if your path is C:// you will write
C://maven/bin/mvn assembly:assembly -Dmaven.test.skip=true
And thats all.You wait until it finish and you compile the gameserver.Now your server is located in release/the version you choose to compile/target
Note:Soon i will share how to compile with maven under ubuntu and other linux distros
Version:v2
Release:12/8/08
Credits:Noctarious-Hanwik
Ok lets start.Long time ago L2jfree change from ant to maven comprehesive tool.Many users try to manage maven but couldnt succeed
So in this guide i will try you to learn you the most easy way to get and compile latest l2jfree gameserver(core) and of course to get and compile its forks like l2emu and l2jumbrella
Ok this is the part of gameserver.First download the TortoiseSvn client.However because l2jfree has no support for TortoiseSvn 1.5++ you must download version 1.4.6
Download link:
To view the content, you need to sign in or register
.Select 1.4.6 not another version....Install it.Then go to a directory that you prefer to have your workspace,for example my domuments.Create a folder and name it as the pack that you want to checkout for example l2jfree.Go inside that folder and press the right click of your mouse.You will see an option "Svn Checkout".Press it.Then add the svn of the project you want(l2jfree,l2emu,l2jumbrella) and press ok.
Wait until it finish.When it finish go and download maven
Download link:
To view the content, you need to sign in or register
Extract maven to an empty folder for example in C://
So its directory will be C://
Ok now go to your project checkout folder that you create earlier.You will see5 folders
1)archive
2)Trunk
3)Tags
4)Branches
5)Release
In release folder there are the stable version sources and in trunk the current unstable sources.Lets say that you want to build a stable version
Go to release folder and open the version you want.For example 1.1.4.Inside it you will see a pom.xml file.Right click on it and press "open with"and then "Choose Default program".A menu will appear.Press "Browse"and go windows/system32 and select the cmd.exe file(cmd).Then open the pom.xml file with cmd.
Finally "write your path to maven/bin/mvn assembly:assembly -Dmaven.test.skip=true" with out the ""
So if your path is C:// you will write
C://maven/bin/mvn assembly:assembly -Dmaven.test.skip=true
And thats all.You wait until it finish and you compile the gameserver.Now your server is located in release/the version you choose to compile/target
Note:Soon i will share how to compile with maven under ubuntu and other linux distros
Last edited: