MAVEN备忘录
来源:互联网 发布:沪昆高铁质量 知乎 编辑:程序博客网 时间:2024/06/03 17:21
Go to Maven installation folder C:\apache-maven-3.1.0\conf\
Copy settings.xml to C:\Users\[UserFolder]\.m2
Modify the proxy in settings.xml based on the info that you get from the above link.
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>your proxy</host>
<port>your port</port>
</proxy>
Open eclipse
Go to: Windows > Preferences > Maven > User Settings
Browse the settings.xml from .m2 folder
Click Update Settings
Click Reindex
Apply the changes and Click OK
Copy settings.xml to C:\Users\[UserFolder]\.m2
Modify the proxy in settings.xml based on the info that you get from the above link.
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>your proxy</host>
<port>your port</port>
</proxy>
Open eclipse
Go to: Windows > Preferences > Maven > User Settings
Browse the settings.xml from .m2 folder
Click Update Settings
Click Reindex
Apply the changes and Click OK
some command
1.mvn archetype:generate -DgroupId=cn.luxh.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
2.mvn eclipse:eclipse
3.mvn help:help
4.mvn clean package
5.mvn archetype:generate -DgroupId=cn.luxh.app -DartifactId=my-web-app -DarchetypeArtifactId=maven-archetype-webapp -DinteractivMode=false
tool.jar找不到
elicpse jre 手动添加tool.jsr
■参考
http://blog.csdn.net/edward0830ly/article/details/8748986
jetty
http://www.cnblogs.com/xiazh/articles/2293015.html
http://phoenix-mvp.iteye.com/blog/1435445
springMVC × maven
http://www.cnblogs.com/fangjins/archive/2012/05/06/2485459.html
maven中央库
http://mvnrepository.com
0 0
- MAVEN备忘录
- maven不能加载ojdbc14.jar解决方法----备忘录
- 备忘录
- 备忘录
- 备忘录
- 备忘录
- 备忘录
- 备忘录
- 备忘录
- 备忘录
- 备忘录
- 备忘录
- 备忘录
- 备忘录
- 备忘录
- 备忘录
- 备忘录
- 备忘录
- C基础入门笔记1
- string和stringBuilder区别
- spring 动态配置定时任务
- 《孙鑫老师谈如何学好编程》摘要
- 【点击模型学习笔记】Inferring clickthrough rates on ads from click behavior on search results_wsdm2011
- MAVEN备忘录
- rt3070 wifi arm+linux移植;wifi移植参考资料
- shell 中的 2>&1
- 面向对象编程
- Dictionary、List<KeyValuePair<i>>的组合使用
- cronExpression表达式解释:
- CSS控制文本自动换行
- 数字通信介绍(3)信道编码
- JavaScript Inheritance: Pseudoclassical vs. Prototypal