Add commented out plugin declaration for copying legal files
diff --git a/src/main/resources/archetype-resources/pom.xml b/src/main/resources/archetype-resources/pom.xml
index 2e91f11..b311999 100644
--- a/src/main/resources/archetype-resources/pom.xml
+++ b/src/main/resources/archetype-resources/pom.xml
@@ -78,6 +78,30 @@
<serviceURL>http://localhost:8080/bin/cpm/package.upload.json</serviceURL>
</configuration>
</plugin>
+ <!-- For Apache projects that check for LICENCE and NOTICE files you need
+ to uncomment the following plugin declaration, otherwise the build will fail -->
+ <!--
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-legal-files</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>\${project.build.directory}/vault-work/META-INF</outputDirectory>
+ <resources>
+ <resources>
+ <directory>\${project.build.directory}/maven-shared-archive-resources/META-INF/</directory>
+ </resources>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ -->
</plugins>
</build>