This is an automated email from the ASF dual-hosted git repository.
bchapuis pushed a commit to branch override-licenses
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
The following commit(s) were added to refs/heads/override-licenses by this push:
new 3efa23ce Generate the third-party and the override file
3efa23ce is described below
commit 3efa23ce3023b18668b0c8a6f3286d5996b51429
Author: Bertil Chapuis <[email protected]>
AuthorDate: Tue Sep 12 19:38:50 2023 +0200
Generate the third-party and the override file
---
baremaps-cli/pom.xml | 23 ++++++++++++++++++++---
1 file changed, 20 insertions(+), 3 deletions(-)
diff --git a/baremaps-cli/pom.xml b/baremaps-cli/pom.xml
index c5d80e54..4ca83dd8 100644
--- a/baremaps-cli/pom.xml
+++ b/baremaps-cli/pom.xml
@@ -190,19 +190,36 @@
<version>2.2.0</version>
<configuration>
<force>true</force>
- <outputDirectory>${thirdparty.directory}</outputDirectory>
- <thirdPartyFilename>${thirdparty.filename}</thirdPartyFilename>
<excludedScopes>test,provided</excludedScopes>
<excludeTransitiveDependencies>true</excludeTransitiveDependencies>
- <fileTemplate>${basedir}/src/license/bundle.ftl</fileTemplate>
<overrideFile>${basedir}/src/license/override.properties</overrideFile>
</configuration>
<executions>
+ <!-- Generate the third party file -->
<execution>
+ <id>generate-third-party</id>
<goals>
<goal>add-third-party</goal>
</goals>
<phase>prepare-package</phase>
+ <configuration>
+ <outputDirectory>${thirdparty.directory}</outputDirectory>
+ <thirdPartyFilename>${thirdparty.filename}</thirdPartyFilename>
+ <fileTemplate>${basedir}/src/license/bundle.ftl</fileTemplate>
+ </configuration>
+ </execution>
+ <!-- Generate the override.properties file -->
+ <execution>
+ <id>generate-override</id>
+ <goals>
+ <goal>add-third-party</goal>
+ </goals>
+ <phase>generate-sources</phase>
+ <configuration>
+ <outputDirectory>${thirdparty.directory}</outputDirectory>
+ <thirdPartyFilename>override.properties</thirdPartyFilename>
+ <fileTemplate>${basedir}/src/license/override.ftl</fileTemplate>
+ </configuration>
</execution>
</executions>
</plugin>