From 5d47488fe9165374821d2c3d3c0bf84a421cf110 Mon Sep 17 00:00:00 2001 From: Alexander Ivanov Date: Sat, 26 Oct 2019 19:43:28 +0200 Subject: [PATCH] Fix error when building from a submodule directory (#1045) Add directory-maven-plugin to resolve the location of the license-plugin-header-style.xml from a submodule directory --- pom.xml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b6c1b4472..1bcf73b8b 100644 --- a/pom.xml +++ b/pom.xml @@ -406,6 +406,31 @@ + + + org.commonjava.maven.plugins + directory-maven-plugin + 0.3.1 + + + directories + + directory-of + + initialize + + projectRoot + + com.iluwatar + java-design-patterns + + + + + + com.mycila license-maven-plugin @@ -417,7 +442,7 @@ true - license-plugin-header-style.xml + ${projectRoot}${file.separator}license-plugin-header-style.xml SLASHSTAR_CUSTOM_STYLE