0

Maven安装第三方jar或者so文件

C:\Users\Administrator>mvn install:install-file -DgroupId=com.bspatch -Dartifact
Id=libbspatch -Dversion=v3 -Dfile=D:/armeabi/libbspatch.so -Dpackaging=so -Dgene
ratePom=true -Dclassifier=armeabi

 

[INFO] Scanning for projects…
[INFO]
[INFO] ————————————————————————
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ————————————————————————
[INFO]
[INFO] — maven-install-plugin:2.3.1:install-file (default-cli) @ standalone-po
m —
[INFO] Installing D:\armeabi\libbspatch.so to D:\apache-maven-3.0.5\repositories
\.m\com\bspatch\libbspatch\v3\libbspatch-v3-armeabi.so
[INFO] Installing C:\Users\ADMINI~1\AppData\Local\Temp\mvninstall839685187217991
3371.pom to D:\apache-maven-3.0.5\repositories\.m\com\bspatch\libbspatch\v3\libb
spatch-v3.pom
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
[INFO] ————————————————————————
[INFO] Total time: 1.349s
[INFO] Finished at: Thu Jun 05 14:06:58 CST 2014
[INFO] Final Memory: 2M/15M
[INFO] ————————————————————————

 

C:\Users\Administrator>mvn install:install-file -DgroupId=com.namecardrec -DartifactId=libnamecardrec -Dversion=v1 -Dfile=D:/armeabi/libnamecardrec.so -Dpackaging=so -DgeneratePom=true -Dclassifier=armeabi
[INFO] Scanning for projects…
[INFO]
[INFO] ————————————————————————
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ————————————————————————
[INFO]
[INFO] — maven-install-plugin:2.3.1:install-file (default-cli) @ standalone-po
m —
[INFO] Installing D:\armeabi\libnamecardrec.so to D:\apache-maven-3.0.5\reposito
ries\.m\com\namecardrec\libbspatch\v3\libbspatch-v3-armeabi.so
[INFO] Installing C:\Users\ADMINI~1\AppData\Local\Temp\mvninstall792194832235036
6336.pom to D:\apache-maven-3.0.5\repositories\.m\com\namecardrec\libbspatch\v3\
libbspatch-v3.pom
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
[INFO] ————————————————————————
[INFO] Total time: 0.313s
[INFO] Finished at: Thu Jun 05 14:07:51 CST 2014
[INFO] Final Memory: 2M/15M
[INFO] ————————————————————————
C:\Users\Administrator>mvn install:install-file -DgroupId=com.cserver.saas.andro
id.oa.push.websocket -DartifactId=phonewebsocket -Dversion=v3 -Dfile=D:/phoneweb
socket.jar -Dpackaging=jar -DgeneratePom=true
[INFO] Scanning for projects…
[INFO]
[INFO] ————————————————————————
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ————————————————————————
[INFO]
[INFO] — maven-install-plugin:2.3.1:install-file (default-cli) @ standalone-po
m —
[INFO] Installing D:\phonewebsocket.jar to D:\apache-maven-3.0.5\repositories\.m
\com\cserver\saas\android\oa\push\websocket\phonewebsocket\v3\phonewebsocket-v3.
jar
[INFO] Installing C:\Users\ADMINI~1\AppData\Local\Temp\mvninstall437255706491083
9322.pom to D:\apache-maven-3.0.5\repositories\.m\com\cserver\saas\android\oa\pu
sh\websocket\phonewebsocket\v3\phonewebsocket-v3.pom
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
[INFO] ————————————————————————
[INFO] Total time: 0.331s
[INFO] Finished at: Thu Jun 05 14:11:27 CST 2014
[INFO] Final Memory: 2M/15M
[INFO] ————————————————————————
C:\Users\Administrator>mvn install:install-file -DgroupId=com.umeng -DartifactId
=umeng -Dversion=v3 -Dfile=D:/umeng_sdk.jar -Dpackaging=jar -DgeneratePom=true
[INFO] Scanning for projects…
[INFO]
[INFO] ————————————————————————
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ————————————————————————
[INFO]
[INFO] — maven-install-plugin:2.3.1:install-file (default-cli) @ standalone-po
m —
[INFO] Installing D:\umeng_sdk.jar to D:\apache-maven-3.0.5\repositories\.m\com\
umeng\umeng\v3\umeng-v3.jar
[INFO] Installing C:\Users\ADMINI~1\AppData\Local\Temp\mvninstall956278948317738
37.pom to D:\apache-maven-3.0.5\repositories\.m\com\umeng\umeng\v3\umeng-v3.pom
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
[INFO] ————————————————————————
[INFO] Total time: 0.307s
[INFO] Finished at: Thu Jun 05 14:12:12 CST 2014
[INFO] Final Memory: 2M/15M
[INFO] ————————————————————————

 

天边的星星