﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-liuzheng-文章分类-Maven</title><link>http://www.blogjava.net/liuzheng/category/27448.html</link><description /><language>zh-cn</language><lastBuildDate>Mon, 14 Apr 2008 23:29:03 GMT</lastBuildDate><pubDate>Mon, 14 Apr 2008 23:29:03 GMT</pubDate><ttl>60</ttl><item><title>maven2完全使用手册（转）</title><link>http://www.blogjava.net/liuzheng/articles/192164.html</link><dc:creator>刘铮 </dc:creator><author>刘铮 </author><pubDate>Fri, 11 Apr 2008 05:26:00 GMT</pubDate><guid>http://www.blogjava.net/liuzheng/articles/192164.html</guid><wfw:comment>http://www.blogjava.net/liuzheng/comments/192164.html</wfw:comment><comments>http://www.blogjava.net/liuzheng/articles/192164.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuzheng/comments/commentRss/192164.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuzheng/services/trackbacks/192164.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: maven2完全使用手册maven2 起步&nbsp;&nbsp;&nbsp; 相信maven1 大家都已经很熟悉了，具体maven能做什么，就不详细说了。个人觉得maven在开源项目中用的还是比较多的，公司内部，就不太清楚了。我以前的公司用过一段时间，不过后来就没有下文了。&nbsp;&nbsp;&nbsp; 与maven1 相比，maven2可算是几乎重写了，不过从速度来说应该更快...&nbsp;&nbsp;<a href='http://www.blogjava.net/liuzheng/articles/192164.html'>阅读全文</a><img src ="http://www.blogjava.net/liuzheng/aggbug/192164.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuzheng/" target="_blank">刘铮 </a> 2008-04-11 13:26 <a href="http://www.blogjava.net/liuzheng/articles/192164.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Maven install 中的命令</title><link>http://www.blogjava.net/liuzheng/articles/171082.html</link><dc:creator>刘铮 </dc:creator><author>刘铮 </author><pubDate>Fri, 28 Dec 2007 02:06:00 GMT</pubDate><guid>http://www.blogjava.net/liuzheng/articles/171082.html</guid><wfw:comment>http://www.blogjava.net/liuzheng/comments/171082.html</wfw:comment><comments>http://www.blogjava.net/liuzheng/articles/171082.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuzheng/comments/commentRss/171082.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuzheng/services/trackbacks/171082.html</trackback:ping><description><![CDATA[mvn clean install -Dmaven.test.skip=true<br />
表示安装但是不运行单元测试 <br />
mvn jetty:run-war<br />
运行jetty
<img src ="http://www.blogjava.net/liuzheng/aggbug/171082.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuzheng/" target="_blank">刘铮 </a> 2007-12-28 10:06 <a href="http://www.blogjava.net/liuzheng/articles/171082.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Maven   初步学习心得 settings.xml的作用</title><link>http://www.blogjava.net/liuzheng/articles/162042.html</link><dc:creator>刘铮 </dc:creator><author>刘铮 </author><pubDate>Wed, 21 Nov 2007 03:18:00 GMT</pubDate><guid>http://www.blogjava.net/liuzheng/articles/162042.html</guid><wfw:comment>http://www.blogjava.net/liuzheng/comments/162042.html</wfw:comment><comments>http://www.blogjava.net/liuzheng/articles/162042.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuzheng/comments/commentRss/162042.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuzheng/services/trackbacks/162042.html</trackback:ping><description><![CDATA[&nbsp;User-specific configuration for maven. Includes things that should not be distributed with the pom.xml file, such as developer identity, along with local settings, like proxy information. The default location for the settings file is ~/.m2/settings.xml<br />
<br />
<br />
Depending on where your machine is located, it may be necessary to make a few more preparations for Maven to function correctly. If you are behind a firewall, then you will have to set up Maven to understand that. To do this, create a &lt;your-home-directory&gt;/.m2/settings.xml file with the following content:<br />
&lt;settings&gt;<br />
&lt;proxies&gt;<br />
&lt;proxy&gt;<br />
&lt;active&gt;true&lt;/active&gt;<br />
&lt;protocol&gt;http&lt;/protocol&gt;<br />
&lt;host&gt;proxy.mycompany.com&lt;/host&gt;<br />
&lt;port&gt;8080&lt;/port&gt;<br />
&lt;username&gt;your-username&lt;/username&gt;<br />
&lt;password&gt;your-password&lt;/password&gt;<br />
&lt;/proxy&gt;<br />
&lt;/proxies&gt;<br />
&lt;/settings&gt;<br />
<br />
If Maven is already in use at your workplace, ask your administrator if there if there is an internal Maven proxy. If there is an active Maven proxy running, then note the URL and let Maven know you will be using a proxy. Create a &lt;your-home-directory&gt;/.m2/settings.xml file with the following content.<br />
&lt;mirrors&gt;<br />
&lt;mirror&gt;<br />
&lt;id&gt;maven.mycompany.com&lt;/id&gt;<br />
&lt;name&gt;My Company's Maven Proxy&lt;/name&gt;<br />
&lt;url&gt;http://maven.mycompany.com/maven2&lt;/url&gt;<br />
&lt;mirrorOf&gt;central&lt;/mirrorOf&gt;<br />
&lt;/mirror&gt;<br />
&lt;/mirrors&gt;<br />
<img src ="http://www.blogjava.net/liuzheng/aggbug/162042.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuzheng/" target="_blank">刘铮 </a> 2007-11-21 11:18 <a href="http://www.blogjava.net/liuzheng/articles/162042.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>