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

2019-02-14 16:02
8108
32642

        需要导入同事的一个项目到我的电脑上,导入后一直包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-25 09:26:10.0
Could you tell me the dialing code for ? <a href="http://www.lagripe.com/bystolic-coupon-goodrx/ropex-vs-ogoplex">bystolic 10 mg cost</a> The settlement resolves allegations that the Drug Enforcement Administration took photos and other information from Arquiett's cellphone to create a fake Facebook page in hopes of tricking her friends and associates into revealing incriminating drug secrets
2020-10-25 09:26:09.0
this post is fantastic <a href="http://www.edep.org/rexine-cloth-for-baby.html">rexine sofa cleaner</a> It's surely now an open secret that the Government sees rising property prices and transactions as crucial to growth, at least in the short and medium terms
2020-10-25 09:26:09.0
Will I have to work on Saturdays? <a href="http://gokceksifa.com.tr/buy-cheap-mellarils-together">mellaril shortage</a> &ldquo;I think that all of us recognize that France is one of our oldest allies, our strongest allies
2020-10-25 09:26:08.0
I really like swimming <a href="http://www.lagripe.com/bystolic-coupon-goodrx/ropex-vs-ogoplex">bystolic 5 mg side effects</a> It can also benefit those living in areas of the country with limited access to fitness or health amenities," the ASAI said.
2020-10-25 09:26:08.0
I'd like to send this to <a href="http://weightloss-basics.com/ranitidine-omeprazole-baby">omeprazole enteric recirculation</a> Stanford was 5-7 the following season, then improved to 8-5 and earned a Sun Bowl berth in 2009 &mdash; the school&rsquo;s first bowl appearance since 2001
2020-10-25 09:03:46.0
Your cash is being counted <a href="http://commandandconquer.ir/lostacef-cefadroxil-500-mg-capsule">cefadroxil sandoz 500mg alcohol</a> -- in time for celebrations marking the 25thanniversary of the fall of the Berlin Wall.
2020-10-25 09:03:46.0
I work for a publishers <a href="http://www.asiantbi.org/what-is-venlafaxine-er">effexor xr patient review venlafaxine</a> In our web browsing battery test (which loops a web page once a minute), the Galaxy S6 held up well, achieving over nine hours of uptime
2020-10-25 09:03:45.0
I don't know what I want to do after university <a href="http://prepa-sarcelles.fr/amiodarone-tablet-dosage.php">cordarone drug classification</a> Some of the characters &#x2013; the Caterpillar incarnated in a lugubrious bass clarinet obbligato or the simpering soprano Cheshire Cat &#x2013; are vividly coloured, and there are brief passages, such as the beginning of the Mad Hatter&#x2019;s tea party or Alice&#x2019;s Sondheimish lullaby to the Duchess&#x2019; baby, when things calm down for a minute or two and the ear is charmed.
2020-10-25 09:03:44.0
magic story very thanks <a href="http://zhidan.org/careprost-eye-drops-lumigan-generic-bimatoprost">bimatoprost overnight no consultation</a> Eight current NFL head coaches are on their second job and Seattle&rsquo;s Pete Carroll, who won the Super Bowl last season, is on his third
2020-10-25 09:03:44.0
I was made redundant two months ago <a href="http://www.a1accommodation.com.au/glucotrol-xl-vs-glipizide">glucotrol xl drug classification</a> In the United States, the Fed warned in its policy statement last week that "inflation in the near term will likely be held down by lower energy prices and other factors." Even so, it said that the chances of inflation "running persistently below" the 2 percent target had "diminished somewhat since early this year."