Index: src/site/fml/general.fml =================================================================== --- src/site/fml/general.fml (revision 412255) +++ src/site/fml/general.fml (working copy) @@ -72,22 +72,22 @@ to 1.5, you should have in your pom :

- - ... - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.5 - 1.5 - - - - ... - - ]]> + + + ... + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.5 + 1.5 + + + + ... + + @@ -158,8 +158,7 @@ the artifact name for the file the version of the file the packaging of the file e.g. jar - ]]> - + ]]>

This should load in the file into the maven repository, renaming it as needed.

@@ -192,7 +191,7 @@

Configure your ide to use the correct encoding. With eclipse, add -Dfile.encoding=ISO-8859-1 in eclipse.ini file

Configure the output encoding in your pom - org.apache.maven.plugins maven-site-plugin @@ -200,7 +199,7 @@ UTF-8 -]]> +

Configure the file encoding use by mvn. @@ -215,7 +214,7 @@

The following code includes tools.jar on Sun JDKs (it is already included in the runtime for Mac OS X and some free JDKs).

- default-tools.jar @@ -236,8 +235,35 @@ -]]> +
+ + Why does Maven compile my test classes but don't run them? + +

+ Tests are run by the surefire plugin. The surefire plugin can be configured to run certain test classes and + you may have unintentionally done so by specifying a value to ${test}. + + Check your settings.xml and pom.xml for a property named "test" which would like this: +

+ + + + test + some-value + + + +

+ or +

+ + + some-value + + +
+