[MARCHETYPES-51] put maven-compat as test scope

git-svn-id: https://svn.apache.org/repos/asf/maven/archetypes/trunk@1825309 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/maven-archetype-plugin/src/main/resources-filtered/archetype-resources/pom.xml b/maven-archetype-plugin/src/main/resources-filtered/archetype-resources/pom.xml
index 837691b..397176a 100644
--- a/maven-archetype-plugin/src/main/resources-filtered/archetype-resources/pom.xml
+++ b/maven-archetype-plugin/src/main/resources-filtered/archetype-resources/pom.xml
@@ -60,7 +60,7 @@
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-compat</artifactId>
       <version>${maven.version}</version>
-      <scope>provided</scope>
+      <scope>test</scope>
     </dependency> 
     <dependency>
       <groupId>org.apache.maven.plugin-tools</groupId>
@@ -128,7 +128,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-plugin-plugin</artifactId>
-        <version>3.5</version>
+        <version>${plugin}</version>
         <configuration>
           <!-- <goalPrefix>${artifactId}</goalPrefix> -->
           <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>