安装tomcat
安装nexus-webapp.war
nexus服务器 http://localhost:8080/nexus-webapp-1.3.1/content/groups/public/
管理密码 admin admin123
使用了jboss的库,就要加jboss maven服务器:http://repository.jboss.com/maven2/
还有一些很少用到的,可以自己上传到3rd party里面
在文件apache-maven-2.0.8\conf\settings.xml 增加
ok
进入项目 ,敲 mvn compile或使用IDEA外部maven即可
安装nexus-webapp.war
nexus服务器 http://localhost:8080/nexus-webapp-1.3.1/content/groups/public/
管理密码 admin admin123
使用了jboss的库,就要加jboss maven服务器:http://repository.jboss.com/maven2/
还有一些很少用到的,可以自己上传到3rd party里面
在文件apache-maven-2.0.8\conf\settings.xml 增加
<repositories>
<repository>
<id> private </id>
<name>local private nexus</name>
<url>http://218.193.237.14:8080/nexus-webapp-1.3.1/content/groups/public</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id> private </id>
<name>Internal Repository</name>
<url>http://218.193.237.14:8080/nexus-webapp-1.3.1/content/groups/public</url>
</pluginRepository>
</pluginRepositories>
ok
进入项目 ,敲 mvn compile或使用IDEA外部maven即可