File tree Expand file tree Collapse file tree
src/main/java/com/google/testing/junit/testparameterinjector Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -290,7 +290,18 @@ private static ImmutableList<TestParametersValues> toParameterValuesList(
290290 parametersList .stream ().allMatch (Parameter ::isNamePresent ),
291291 ""
292292 + "Parameter name is not present for method or constructor: %s. Please ensure that"
293- + " this test was built with the -parameters compiler option" ,
293+ + " this test was built with the -parameters compiler option.\n "
294+ + "\n "
295+ + "In Maven, you do this by adding <parameters>true</parameters> to the"
296+ + " maven-compiler-plugin's configuration. For example:\n "
297+ + "\n "
298+ + "<plugin>\n "
299+ + " <artifactId>maven-compiler-plugin</artifactId>\n "
300+ + " <version>3.8.1</version>\n "
301+ + " <configuration>\n "
302+ + " <parameters>true</parameters>\n "
303+ + " </configuration>\n "
304+ + "</plugin>" ,
294305 methodOrConstructor );
295306 if (valueIsSet ) {
296307 return stream (annotation .value ())
You can’t perform that action at this time.
0 commit comments