diff --git a/maven-plugins/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java b/maven-plugins/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java index a629590c0f..bebaba4e9a 100644 --- a/maven-plugins/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java +++ b/maven-plugins/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java @@ -68,6 +68,8 @@ public class ResourcesMojo // // ---------------------------------------------------------------------- + System.out.println( "request.getParameter().getClass() = " + request.getParameter( "outputDirectory").getClass() ); + String outputDirectory = (String) request.getParameter( "outputDirectory" ); List resources = (List) request.getParameter( "resources" ); diff --git a/maven-plugins/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/TestResourcesMojo.java b/maven-plugins/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/TestResourcesMojo.java index 9b335d89d5..bdf1161e1f 100644 --- a/maven-plugins/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/TestResourcesMojo.java +++ b/maven-plugins/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/TestResourcesMojo.java @@ -39,14 +39,14 @@ import java.util.List; * type="String" * required="true" * validator="" - * expression="#project.build.unitTest.resources" + * expression="#project.build.directory/test-classes" * description="" * @parameter * name="resources" * type="List" * required="true" * validator="" - * expression="#project.build.directory/test-classes" + * expression="#project.build.unitTest.resources" * description="" * * @author Michal Maczka