MAVEN备忘录

    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



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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值