From e75103d8b0919c939ee16c80efcefcd4cf5c8cbb Mon Sep 17 00:00:00 2001 From: Andrew Rouse Date: Tue, 30 Jan 2024 14:04:37 +0000 Subject: [PATCH] Remove overview.html file from source jar (#745) Don't declare overview.html as a project resource. Instead have a separate copy-resources execution to copy and filter it. --- api/pom.xml | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/api/pom.xml b/api/pom.xml index b43ee3b1..b4c4c51a 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -275,14 +275,6 @@ src/main/resources - - src/main/javadoc - true - - overview.html - - ${project.build.directory}/javadoc - @@ -387,6 +379,29 @@ + + org.apache.maven.plugins + maven-resources-plugin + + + filter-overview + generate-resources + + copy-resources + + + + + src/main/javadoc + overview.html + true + + + ${project.build.directory}/javadoc + + + + org.apache.maven.plugins maven-javadoc-plugin