maven的一些筆記
1. mvn -Dtest=WikiModelXHTMLParserTestSuite
執行一個測試,可以用在正則表達式
2. mvn install -Dmaven.test.skip=true
不進行測試直接安裝
3. mvn test -Dmaven.test.failure.ignore=true
忽略測試時候的failure
3.mvn exec:java -Dexec.mainClass=com.sonatype.maven.weather.Main
執行一個class,這樣可以自動解決classpath問題。
參考:http://www.sonatype.com/book/reference/customizing.html
執行一個測試,可以用在正則表達式
2. mvn install -Dmaven.test.skip=true
不進行測試直接安裝
3. mvn test -Dmaven.test.failure.ignore=true
忽略測試時候的failure
3.mvn exec:java -Dexec.mainClass=com.sonatype.maven.weather.Main
執行一個class,這樣可以自動解決classpath問題。
參考:http://www.sonatype.com/book/reference/customizing.html