Maven 笔记

mvn help:active-profiles 查看激活的profiles

mvn help:effective-pom 查看有效的pom

mvn help:effective-settings 

 

安装jar包至本地仓库

mvn install:install-file -Dfile=abc.jar -DgroupId=haha -DartifactId=abc -Dversion=1.0 -Dpackaging=jar

 

配置多个mirror实质上是指当第一个mirror无法连接的时候,maven会自动转换至下个mirror,并非找不到a.jar包,就转换到下个mirror

 

JBoss Maven Repository

http://repository.jboss.org/maven2

 

Springsource  Maven Repository

http://s3browse.springsource.com/browse/repository.springsource.com/maven/bundles/external

http://s3browse.springsource.com/browse/repository.springsource.com/maven/bundles/milestone

http://s3browse.springsource.com/browse/repository.springsource.com/maven/bundles/release

http://s3browse.springsource.com/browse/repository.springsource.com/maven/bundles/snapshot

 

你可能感兴趣的:(maven,jboss)