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

2019-02-14 16:02
8120
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 11:08:41.0
Is it convenient to talk at the moment? <a href="https://tsg339.com/paracetamol-raffo-1-gramo-prospecto-u13e">when can i take paracetamol and ibuprofen</a> In recent weeks, the US government &mdash; along with the UK, France, and other allies &mdash; has condemned the Assad regime&#39;s alleged use of weapons such as sarin nerve gas in an attack on Aug. 21, which the White House says killed more than 1,400 civilians.
2020-10-14 11:00:04.0
How much does the job pay? <a href="http://chrusher.com/ix/meloxicam-de-15-mg-en-espaol-ozz9">meloxicam generico nome</a> The surprise timetabling heightened the pressures on Prime Minister Enrico Letta's fragile coalition government, which depends on the 76-year-old Berlusconi's center-right People of Freedom party (PDL).
2020-10-14 11:00:04.0
I like watching TV <a href="http://bastienbonnamant.fr/australian-accutane-5v4b">australian accutane</a> Some of those pieces are already in place in pinstripes, Cano said. “You’ve got Tex, you’ve got Alex, you got Jeter. You still have a lot of guys who can still play this game, superstars. You’ve got Ichiro (Suzuki), you got (Alfonso) Soriano. I mean, you got two guys leaving, but there’s always going to be somebody here.”
2020-10-14 11:00:03.0
I'd like to send this parcel to <a href="https://happylights.pk/rx-venlafaxine-b80n">teva-venlafaxine xr 75mg side effects</a> The roadmap calls for focused efforts in those countries that have the greatest number of child deaths, like India and Nigeria, and on those areas that could drive the greatest future reductions, like neonatal care. Underscoring those targeted measures is the importance of robust and transparent national data. A country needs to know where its children are dying and what they are dying of in order to determine the highest impact intervention.
2020-10-14 11:00:03.0
I can't get through at the moment <a href="https://empirefitclub.com/what-does-cialis-do-8tp0">does your body get used to cialis</a> For the time being, readers can still subscribe using the old paper-based method, but the idea is that Amazon will eventually handle all Conde Nast's magazine subscriptions if the arrangement is successful.
2020-10-14 11:00:02.0
Three years <a href="http://www.delpiano.com/bestsellers/index.php/saw-palmetto-for-hair-loss-j2gt">saw palmetto for women's hair growth</a> The five-year non-call two senior notes offering, sole-ledby Deutsche Bank, was priced at par to yield 5.25%, 12.5 basispoints tighter than official price talk of 5.375% and about 25bpbetter than initial whispers in the mid 5.00% range.
2020-10-14 10:59:31.0
I'm interested in <a href="https://supergiroschoco.com.co/primobolan-dose-efetiva-memc">primobolan depot steroid profile</a> Protesters nationwide lashed out against police in Sanford, Fla., as it took 44 days for Zimmerman to be arrested. Many, including Martin's parents, said Zimmerman had racially profiled the 17-year-old. Zimmerman identifies himself as Hispanic.
2020-10-14 10:59:30.0
What sort of music do you like? <a href="http://www.kabouing.com/dyma-burn-xtreme-1uct">dymatize dyma burn xtreme review</a> IRL secured financing for its Don Nicolas project in Argentina last month. The company has said it aims to use its new mines to become a mid-tier gold producer with annual output of 150,000 to 200,000 ounces.
2020-10-14 10:59:28.0
A First Class stamp <a href="https://isapointdecroix.fr/nature-made-triple-omega-3-6-9-4sl5">nature made triple omega 3 6 9 </a> On April 15 at the finish line of the storied marathon, homemade bombs - pressure cookers filled with explosives, nails and ball bearings - killed three people and injured 264 others. The tragedy set the city on edge for days as police hunted for the suspects.
2020-10-14 10:59:26.0
I love the theatre <a href="http://store.fixthailand.net/extenze-drink-cvs-ltea">extenze tablets review</a> &#8220;Americans expect us to work out our differences, but refusing to negotiate is an untenable position,&#8221; Boehner said. &#8220;And frankly by refusing to negotiate, Harry Reid and the president are putting our country on a pretty dangerous path. There&#8217;s never been a president in our history that did not negotiate over the debt limit, never, not once.&#8221;