1, spring 和hibernate要哪些包,这个要LZ自己上网查了,这里说不清楚.
2, 建立的仓库可以用APACHE来发布一个, 然后在POM.XML输入,例如.
<repositories>
<repository>
<id>springsource-milestone</id>
<url>http://repository.springsource.com/maven/bundles/milestone
</url>
</repository>
<repository>
<id>springsource-release</id>
<url>http://repository.springsource.com/maven/bundles/release
</url>
</repository>
<repository>
<id>atlassian-m2-repository</id>
<url>https://m2proxy.atlassian.com/repository/public
</url>
</repository>
</repositories>
3,本地的包是放在 "你安装的MAVEN路境maven\local\repo,这里是存放本地包,例如
E:\maven\local\repo\common-annotations\common-annotations\1.0\common-annotations-1.0.jar
<dependency>
<groupId>common-annotations</groupId>
<artifactId>common-annotations</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
4,要注意的问题还是要LZ你自己写了代码再说.
标签:创库,1.0,repository,maven,pom,common,springsource,annotations From: https://blog.51cto.com/u_16034393/6152970