Cov txheej txheem:

Yuav ua li cas rub tawm Apache Maven hauv dab noj hnub?
Yuav ua li cas rub tawm Apache Maven hauv dab noj hnub?

Video: Yuav ua li cas rub tawm Apache Maven hauv dab noj hnub?

Video: Yuav ua li cas rub tawm Apache Maven hauv dab noj hnub?
Video: Xov Xwm Kub 27/01/2021: Meskas & ZijPees Tawm Tsam Suav Liab Tom Hiav Txwv 2024, Kaum ib hlis
Anonim

Yog tias koj xav nruab Maven hauv dab noj hnub (Java EE) Indigo Tom qab ntawd ua raws cov kauj ruam no:

  1. Dab tuag -> Pab -> Nruab Tshiab Software.
  2. Expand "Kev sib koom tes" tag.
  3. Xaiv Maven plugin los ntawm qhov ntawd.
  4. Nyem rau tom ntej.
  5. Txais qhov kev pom zoo & nyem tiav.

Yog li ntawd, yuav ua li cas rub tawm Maven hauv dab noj hnub?

Hauv qab no cov kauj ruam ua raws rau nruab Maven ntawm dab noj hnub IDE:

  1. Qhib koj Dab Ntxwg Nyoog IDE thiab nyem Pab -> Nruab Tshiab Software…
  2. Ntawm qhov qhib pop-up, nyem rau ntawm Ntxiv khawm ntxiv rau qhov chaw cia tshiab.
  3. Tom qab Pending tiav, xaiv tag nrho cov Plugins thiab nias Next>
  4. Txais cov nqe lus ntawm daim ntawv tso cai daim ntawv cog lus thiab nyem Finish.

Tsis tas li ntawd, Eclipse nruab Maven nyob qhov twg? Cov kauj ruam rau nruab Maven hauv dab noj hnub IDE

  1. Nyem rau ntawm Kev Pab los ntawm cov ntawv qhia zaub mov saum toj kawg nkaus hauv dab noj hnub thiab xaiv 'Nruab Tshiab Software..'
  2. Nyem rau ntawm khawm Ntxiv rau ntawm lub qhov rais qhib tshiab.
  3. Hauv lub thawv Lub Npe, ntaus 'Maven' thiab hauv lub thawv Qhov Chaw, ntaus 'https://download.eclipse.org/technology/m2e/releases/

Tsis tas li ntawd nug, dab ntxwg nyoog puas tuaj nrog Maven?

Dab tuag IDE - M2Eclipse M2Eclipse yog tus nom Dab tuag qhov project rau Maven kev koom ua ke rau cov Dab tuag IDE. Cov nta muaj xws li: Launching Maven tsim los ntawm sab hauv Dab tuag . Dependency Management rau Dab tuag tsim txoj kev raws li Maven cov pom.

Kuv puas yuav tsum tau nruab Maven ntawm dab noj hnub?

YOG koj xav nruab Maven hauv Dab tuag (Java EE) Indigo Tom qab ntawd ua raws cov kauj ruam no: Dab tuag -> Pab -> Nruab Tshiab Software. Ntaus "https://download. dab noj hnub .org/releases/indigo/ "& Ntaus Enter. Xaiv Maven plugin los ntawm qhov ntawd.

Pom zoo: