diff --git a/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateArchetypeFromProjectMojo.java b/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateArchetypeFromProjectMojo.java index 68b3aa43..bb7bb875 100644 --- a/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateArchetypeFromProjectMojo.java +++ b/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateArchetypeFromProjectMojo.java @@ -210,7 +210,7 @@ public class CreateArchetypeFromProjectMojo /** * The directory where the archetype should be created. */ - @Parameter( defaultValue = "${project.build.directory}/generated-sources/archetype" ) + @Parameter( defaultValue = "${project.build.directory}/generated-sources/archetype", property = "outputDirectory" ) private File outputDirectory; @Parameter( property = "testMode" )