Jump to content
  • 0

Problem Maven


Question

Posted

Rixte mia matia re paidia edw prospatw na kanw compile ayto edw Me Maven ola kala mexri na kanw build me maven mou petaei ayto (Ola ta vimata opws mou ta grafi apla den katalavenw giati m petaei auto) Oi odigies ine aytes :

 

1) Install Java JDK 1.7
 
- install downloaded file:
- ATTENTION before this step:
- REMOVE any installed JRE on your machine
- DO NOT INSTALL JRE during JDK installation
- (take care of Installation Path, for latest jdk is C:\Program Files\Java\jdk1.7.0_45)
- Set JAVA_HOME System Variable properly: check guide here http://javarevisited.blogspot.it/2012/02/how-to-set-javahome-environment-in.html
 
2) Install Eclipse:
- extract Eclipse if any folder you like
- start Eclipse
 
3) Clone L2jFrozen GIT Repository:
- Window->Open Perspective->Other..->Git Repository Exploring
- Into open Perspective click on "Clone Git Repository"
- as URI specify "https://bitbucket.org/Shyla/l2jfrozen" and go Next
- as Branch use "master" and go Next
- Select Local Destination:
- it is your "Git Repository Clone folder", so it will contains your projects checkout (usually c:\Users\NAME_OF_USER\git\l2jfrozen)
- Go Next to start clone
 
3.1) If you haven't Maven installed
- Help -> Eclipse Marketplace.
- Find Marven and click Go.
- Select "Maven Integration for Eclipse" and click Install.
4) Import L2jFrozen Git Repository Maven Projects inside the Workspace
- File->Import->Maven->Existing Maven Projects
- Browse Root Directory to your "Git Repository Clone folder" (usually c:\Users\NAME_OF_USER\git\l2jfrozen)
- select all projects and finish
- wait until all bulding phase is completed..
- This will take long time, take a coffie :)
5) compile the whole Server project: *
- Right click on "l2jfrozen" Project->Maven->Maven Build..
- write or select "install" Goals and check "Skip-Tests" checkbox **
- Run it
- You can find the Compilation Outputs (for Gameserver and LoginServer inside the "game/target" and "login/target" folders))
 
IMPORTANT Notes:
* as you are going to build anything with Maven, you have to call Maven Install build over "server" project: it will produce compiled "jars" for each module that you will find inside each module "target" folder
** if you have not yet installed any Database, I suggest to start install checking the box "without tests", or building will fail due to error on database module unit test
*** If you got an error while compiling, remember to use JDK and not JRE.

 

 

Capture1.png

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • The Time Has Come!    Tomorrow, L2DoubleDamage officially launches! Get ready for epic PvP battles, legendary rewards, and tons of action-packed features!    Opening Date: February 28, 2025  Opening Time by Country:  Greece: 20:00  Brazil: 15:00  Russia (Moscow): 21:00  Argentina: 15:00  Important Note: The donation weapons, armors, and jewelry will be closed for 2 days for the donors.   Key Features:  100% PvP Full Balance – No Pay to Win!  Ultra Stable – No Wipes, Long-Term Project!  Siege Castles: Giran, Aden, Rune  Giran Siege Reward: 100€ Real Money! (Every week after: 50€)  VIP Autofarm: x2 Drop & Name Color Change  6 Grand Bosses & 6 Special Grand Bosses!  Casino – Try Your Luck & Win Big!  Daily PvP Events – Show off your skills!  Enchant Rates: Safe +6, Max +25  JOIN NOW and prepare for the ultimate PvP experience! Check out the official links below:    Website: L2DoubleDamage  Discord: Join Here  Instagram: Follow Us  YouTube: Watch the Trailer  Facebook: Like Our Page  Get ready! The adventure begins tomorrow!    🚀 JOIN NOW & Experience the Best PvP Gameplay Ever! 🚀 🌐 Website: http://www.l2doubledamage.com/ 💬 Discord: https://discord.gg/l2doubledamage 📷 Instagram: https://www.instagram.com/l2doubledamage/ 📘 Facebook: https://www.facebook.com/profile.php?id=61573159438765&sk=about_contact_and_basic_info 📺 YouTube:  
    • 🔥 L2Custom.com - FRESH START/WIPE! 🔥 🗓️ Wipe/Open Date: 2025-03-01, 18:00 GMT+2 ⚔️ Chronicle: Interlude | Rates: High 🌟 Key Features: ✅ Custom Items – Enhanced PvP Experience ✅ Full Buffer – No Hassle, Just Action ✅ Olympiad (A-Grade Only) – Every Week ✅ Castle Sieges – Every Week 🚀 Fresh Start – Dominate from Day 1! Gather your clan, forge alliances, and prove your strength on the battlefield! 🌐 Join Now: www.l2custom.com 💥 Don’t miss out on the ultimate PvP experience! 💥
    • A new template is available: Ancient-World - Responsive HTML Template    
    • We are still taking new orders! Let us talk on Telegram!
    • Hello. Looking for bot for L2 Reborn x1 Origin. Some1? L2adrenaline dont work ;/
  • Topics

×
×
  • Create New...