This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-content-package-archetype.git
The following commit(s) were added to refs/heads/master by this push:
new bcdc4c4 Add commented out plugin declaration for copying legal files
bcdc4c4 is described below
commit bcdc4c4ab6a8c894ddd742ce230f9883e37d26b4
Author: Robert Munteanu <[email protected]>
AuthorDate: Fri Aug 21 11:29:59 2020 +0200
Add commented out plugin declaration for copying legal files
---
src/main/resources/archetype-resources/pom.xml | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
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>