?????????????Σ?
????mvn package -DskipTests
????????????????????????
????mvn package -Dmaven.test.skip=true
????maven.test.skip??????maven-compiler-plugin??maven-surefire-plugin???????????????????????????????????
?????????????
????mvn test -Dtest=RandomGeneratorTest
??????Random?????Test??β???????
????mvn test -Dtest=Random*Test
?????????????????????????
????mvn test -Dtest=ATest??BTest
??????????????κβ???????????????
????test???????????????????????????????????1???????????????????????????????????κβ????????????????
????mvn test -Dtest -DfailIfNoTests = false
????POM??????e????????????????
???????** / * Test.java ???????????Tests??β??Java?????????**???????????·??????????*?????????·?????????0??????????????????excludes??????Щ??????
<plugin>
<groupId>org.apahce.maven.plugins<groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.5</version>
<configuration>
<includes>
<include>**/*Tests.java</include>
</includes>
</configuration>
</plugin>