Maven手动添加jar包到本地仓库

2019-02-14 16:02
9031
32646

        需要导入同事的一个项目到我的电脑上,导入后一直包jar缺失,经检查发现jar不在共有仓库也不在公司的私服上,而是在他的本地仓库(坑),他把jar复制后给我,我直接放到本地仓库中不行,后来发现需要通过maven安装,过程如下:

1、将jar包复制到E:\DEVTools\myJar\目录下;

2、执行命令(使用管理员权限进入doc)
mvn install:install-file -Dfile=E:\DEVTools\myJar\jrobin-1.6.0.jar -DgroupId=org.jrobin -DartifactId=jrobin -Dversion=1.6.0 -Dpackaging=jar

ps:其中

        groupId=org.jrobin;artifactId=jrobin;version=1.6.0。含义如下图:
        执行完命令如下图:

3、安装完毕如图

全部评论

2020-10-12 03:59:19.0
Have you got any experience? <a href="https://www.harrykerker.com/olanzapine-fda-approved-indications-g9d4">how much olanzapine will kill you</a> "As it kept raining and kept raining and kept raining, this thing kept getting more and more rare, in terms that we use for evaluating," said Geoffrey Bonnin, chief of the Hydrologic Science and Modeling Branch of the National Weather Service.
2020-10-12 03:59:19.0
Would you like a receipt? <a href="http://ancgumruk.com.tr/index.php/metoprolol-er-succinate-and-ibuprofen-isr6">metoprololsuccinat 47 5 nebenwirkungen</a> Japan's public debt is already more than twice the size of its 500 trillion yen ($5 trillion) economy, the largest among major industrialized nations after years of fiscal spending to try to jump-start the stagnant economy, and a planned sales tax hike is considered a test of the appetite for fiscal reform.
2020-10-12 03:59:18.0
Get a job <a href="http://fizjoterapia.biz/prevacid-cheapest-price-ikwa">buy prevacid in canada</a> Wenger will reach 17 years at Arsenal on Monday and said that, even after this most challenging period of his Arsenal tenure, he is more motivated than ever. &ldquo;It's not that I don't really need this anymore,&rdquo; he said. &ldquo;I want it even more. I think the good thing of football is that it's unpredictable and the next game is always a discovery and a new adventure and so you focus on that. All the rest is decoration.
2020-10-12 03:57:19.0
I'm afraid that number's ex-directory <a href="https://xaydung3cong.com/nebido-testosterone-ftm-sgfm">testosterone cypionate 250 mg 10 ml</a> In Park’s films, characters suffer from depravity brought about by a thirst for vengeance. But he’s also dabbled in other areas, like the tragedy of national division. In 2000, his mystery JSA broke ground in the industry, depicting a secret friendship between South and North Korean soldiers near the demilitarized zone (DMZ). After several meetings, their camaraderie ended in an enigmatic murder and military confrontation.
2020-10-12 03:57:18.0
How would you like the money? <a href="https://radiology-syria.com/escitalopram-uk-name-igi1">escitalopram and alcohol cravings</a> A decision from the Supreme Court would be likely this year,but it is tricky to anticipate how it might rule on Pascua-Lama,originally forecast to produce 800,000 to 850,000 ounces of goldper year in its first five years of full production.
2020-10-12 03:57:18.0
magic story very thanks <a href="https://www.virginieweddingplanner.com/before-and-after-anavar-female-qyur">low dose anavar with trt</a> Grand Theft Auto V is currently only available on Xbox 360and the PlayStation 3 consoles, owned by over 160 milliongamers. Take-Two is yet to announce a version for themuch-awaited next-generation Xbox One and PlayStation 4consoles, which will go on sale in November.
2020-10-12 03:57:17.0
I'd like to tell you about a change of address <a href="http://rangcam.com/manfaat-salep-acyclovir-5-persen-wwcu">acyclovir cream brands in india</a> The RumorFix.com report pinned the cause of Sambora’s alleged firing on money. Sambora was reportedly earning $2 million a month and 20 percent of the profits after each show on Bon Jovi’s current tour.
2020-10-12 03:57:17.0
I've been made redundant <a href="https://www.swissexperts.com/cymbalta-causing-ibs-y7d9">cymbalta drug class</a> “The immediate aftermath of Superstorm Sandy left many New Jerseyans in a state of chaos and turmoil, which was only made worse when companies illegally gouged them for essential items such as shelter and fuel,” Hoffman said. “We are here to protect the most vulnerable. We simply will not allow businesses to victimize vulnerable residents, who already are suffering hardships during a declared state of emergency.”
2020-10-12 03:52:36.0
I love this site <a href="http://orthodoc4u.com/tamsulosin-dura-0-4-mg-nebenwirkungen-rob4">tamsulosin for women</a> Dubai's Islamic-influenced laws on sex, morality and how they are applied are now center stage in a global debate following the legal battle of a 24-year-old Norwegian woman, Marte Deborah Dalelv. She was sentenced to 16 months in prison on unwed sex and alcohol charges last week after claiming she was raped by a co-worker in March. The alleged attacker received a 13-month sentence on similar charges.
2020-10-12 03:52:36.0
Please call back later <a href="https://www.nirushapahladi.com/buy-tretinoin-cream-01-online-uk-wr18">isotretinoin gel reviews uk</a> Zimmerman told police that Martin confronted him, knocked him down and banged his head on the sidewalk and then started to reach for Zimmerman's gun. Zimmerman said he grabbed the gun and shot Martin once in self-defense.