For faster navigation, this Iframe is preloading the Wikiwand page for Maven.

Maven

Maven Java proiektuak kudeatzeko erabiltzen den tresna bat da. Proiektu independente bezala hasi bazen ere, arrakastatsu bihurtzen joan den heinean Apache fundazioak beregan hartu egin du.

Project Object Model (POM) izeneko fitxategi bat erabiltzen du eraiki beharreko software proiektua eta bere menpekotasunak definitzeko. Gogoratu menpekotasun edo dependentzia bat proiektu konkretu batek bai exekutatzeko edo baita beste edozein helbururako ere beharrezkoa duen elementua dela.

POM fitxategi honen inguruan, XML fitxategi bat da, proiektua deskribatzen duena. Fitxategi hau beharrezkoa da Maven proiektu eta menpekotasun guztientzat, adibidez proiektuan koderik ez duen menpekotasun bat erantsi dezakegu, adibidez irudi fitxategiak dituen proiektu bat, baina pom.xml fitxategia beharrezkoa izango du honek ere.

Hauek dira Maven proiektu batek dituen bizi zikloak:

  • Compile: .class fitxategiak sortu proiektuaren .java fitxategiak erabiliz.
  • Test: Junit erabilita proiektuaren barne definiturik dauden testak abian jartzen dira.
  • Package: .jar fitxategia sortzen du .class fitxategietatik abiatuz.
  • Install: .jar fitxategia gure ordenagailuko .m2 karpetan uzten du. Horrela, jar horiek ordenagailu berdinean beste proiektu batzuetatik atzitu daitezke.
  • Deploy: .jar fitxategia urruneko zerbitzari batean kopiatzen du, horrela zerbitzari hori atzitu dezakeen edozein Maven proiektuk jar hori erabili dezake.

Kanpo estekak

[aldatu | aldatu iturburu kodea]
{{bottomLinkPreText}} {{bottomLinkText}}
Maven
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?