2011年9月1日 星期四

Maven: 安裝3rd party的函式庫,以wax_1.0.4.jar為例

經常會有在Maven Repository上找不到,專案上又需要的函式庫,這個時候就必須要自己安裝這個函式庫
mvn install:install-file -DgroupId=java.ociweb -DartifactId=wax 
-Dversion=1.0.4 -Dpackaging=jar    -Dfile=/path/to/file/wax_1.0.4.jar 
-Dpackaging=jar -DgeneratePom=true -DcreateChecksum=true

pom.xml也做對應的修改


	java.ociweb
	wax
	1.0.4

沒有留言:

張貼留言