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

2019-02-14 16:02
8123
32643

        需要导入同事的一个项目到我的电脑上,导入后一直包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-14 10:59:25.0
Withdraw cash <a href="https://iao-essecs.itera.ac.id/amoxicillin-and-clavulanate-potassium-tablets-875-mg125mg-74o8">clavulanate moa</a> Samsung might still have another out: the company can delay the ban by bringing the case to a US appeals court. Such a move would require justices to determine the legality of the particular ban and would push off and injunction until the case is settled.
2020-10-14 10:59:21.0
Yes, I love it! <a href="https://www.bardellrealestate.com/pescience-select-protein-nz-e1if">pescience select protein near me</a> Even though Manning put together last minute game-winning drives to beat the Patriots twice in the Super Bowl, it was the running game and the intimidating pass rush that defined the Giants. Now they can’t do either.
2020-10-14 10:59:21.0
I study here <a href="https://convenientcareplus.com/pomada-emla-anestesica-3ht5">emla numbing cream</a> The leader of the Pakistani Taliban, Hakimullah Mehsud, has spoken exclusively to the BBC's Ahmed Wali Mujeeb, as debate rages in Pakistan about whether the government should enter into talks with the Taliban.
2020-10-14 10:59:20.0
Is it convenient to talk at the moment? <a href="http://tienda.sotroni.es/infant-motrin-sale-dcvt">motrin by prescription</a> The girl's name, age and circumstances of her death were unknown for more than two decades. But earlier this week, police announced that a new tip and a DNA test had allowed them to finally identify the baby's mother, a dramatic turnaround in one of the city's more notorious cold cases.
2020-10-14 10:59:20.0
I'd like to send this letter by <a href="https://gallettasgreenhouse.com/bestsellers/index.php/harga-obat-dostinex-dan-parlodel-fg9p">dostinex erfahrungen kinderwunsch</a> Raytheon said it expects full-year EPS from continuingoperations of $5.67 to $5.77, 16 cents more than its previousforecast and up from the $5.65 it earned per share in 2012. Itincreased its forecast for sales by $100 million to a range of$23.6 billion to $23.8 billion.
2020-10-14 10:59:20.0
Would you like to leave a message? <a href="http://tuandungsilk.com/enanthate-300-dosage-g86g">testosterone enanthate dosage per week</a> Kenyan police have given little information since the attack that shocked this East African nation, saying the investigation has only just began into the storming of the mall on Saturday by Islamic militants throwing grenades and using assault rifles.
2020-10-14 10:59:19.0
Could you ask her to call me? <a href="http://www.britishirishassociation.org/seroquel-300mg-chemist-warehouse-iwc0">75 mg seroquel</a> And it’s no secret Olbermann has expressed major interest in returning to ESPN, where he worked from 1992-97. Initially, ESPN suits didn’t second his emotion. But last month, ESPN boss John Skipper displayed some flexibility, leaving the door open for a return by Olbermann.
2020-10-14 10:59:19.0
Can I use your phone? <a href="https://terrymcdonagh.com/can-you-stop-wellbutrin-after-a-week-ce84">wellbutrin pharmacy online </a> LAUREN SILVERMAN, BYLINE: The measles outbreak began here, at Eagle Mountain International Church. It's an hour and a half northwest of Dallas and looks like looks like a large suburban school building. A man who got the measles in Indonesia visited the church and infected more than 20 people.
2020-10-14 10:59:19.0
One moment, please <a href="http://alliancelowa.com/vitex-high-prolactin-x16p">dim vitex</a> i have been an alcohol and drug addiction counselor for over 20 years. Pot is not and i say not addictive drug. There is no such thing of marijuana withdrawal!!!! It is not a gateway way drug. Alcohol is &#8230;it has killed more and destroys generations of families more then wars. Pot is a healer in so many ways. Change the goddamn DSM 3 criteria. And what a cash cow for states looking for funding resources. Smart people can be really dumb. By the way I am 55years old and have been diagnosed with a series of chronic diseases resulting in many surgeries and chronic pain for the rest of my life. can not work anymore. If it was not for pot i would lose my mind and some quality of life.
2020-10-14 10:59:19.0
Have you got any qualifications? <a href="http://tuandungsilk.com/para-que-sirve-ciprofloxacino-vir-500-mg-1qe6">ciprofloxacin termasuk golongan antibiotik</a> Hill — who relatives claimed has a history of mental illness — was charged with aggravated assault on a police officer, making terroristic threats and possession of a firearm by a convicted felon.