码迷,mamicode.com
首页 > 编程语言 > 详细

maven安装jar包到本地maven库

时间:2015-02-09 00:53:39      阅读:255      评论:0      收藏:0      [点我收藏+]

标签:maven   安装jar   

C:\Users\Administrator>mvn install:install-file -Dfile=d:/clj-time-0.4.1.jar -DgroupId=clj-time -DartifactId=clj-time -Dversion=0.4.1 -Dpackaging=jar
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom
---
[INFO] Installing d:\clj-time-0.4.1.jar to D:\program\apache-maven-3.1.1\repo\re
pository\clj-time\clj-time\0.4.1\clj-time-0.4.1.jar
[INFO] Installing C:\Users\ADMINI~1\AppData\Local\Temp\mvninstall897139633649434
8520.pom to D:\program\apache-maven-3.1.1\repo\repository\clj-time\clj-time\0.4.
1\clj-time-0.4.1.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.551s
[INFO] Finished at: Sun Feb 08 23:06:19 CST 2015
[INFO] Final Memory: 5M/15M
[INFO] ------------------------------------------------------------------------
C:\Users\Administrator>mvn install:install-file -Dfile=d:/compojure-1.1.3.jar -D
groupId=compojure -DartifactId=compojure -Dversion=1.1.3 -Dpackaging=jar
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom
---
[INFO] Installing d:\compojure-1.1.3.jar to D:\program\apache-maven-3.1.1\repo\r
epository\compojure\compojure\1.1.3\compojure-1.1.3.jar
[INFO] Installing C:\Users\ADMINI~1\AppData\Local\Temp\mvninstall590121248570533
8380.pom to D:\program\apache-maven-3.1.1\repo\repository\compojure\compojure\1.
1.3\compojure-1.1.3.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.514s
[INFO] Finished at: Sun Feb 08 23:12:43 CST 2015
[INFO] Final Memory: 5M/15M

[INFO] ------------------------------------------------------------------------



pom:

<groupId>clj-time</groupId>

<artifactId>clj-time</artifactId>

<version>0.4.1</version>


maven安装jar包到本地maven库

标签:maven   安装jar   

原文地址:http://blog.csdn.net/u010670689/article/details/43649187

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!