From a7af1eb4698065114c857e8780219e8b028b5f6a Mon Sep 17 00:00:00 2001
From: meliGuzman <148500681+meliGuzman@users.noreply.github.com>
Date: Wed, 3 Jan 2024 13:20:19 -0800
Subject: [PATCH] BFD-3149: Add apidocgen property to control api doc
generation (#2124)
---
.github/workflows/ci-java.yml | 2 +-
apps/bfd-server/bfd-server-war/pom.xml | 2 ++
apps/pom.xml | 4 ++++
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci-java.yml b/.github/workflows/ci-java.yml
index 0d22647857..b32b565e22 100644
--- a/.github/workflows/ci-java.yml
+++ b/.github/workflows/ci-java.yml
@@ -101,7 +101,7 @@ jobs:
EOF
- name: 'Run Maven Build'
- run: mvn --threads 1C --quiet --batch-mode -Dmaven.build.cache.enabled=false verify
+ run: mvn --threads 1C --quiet --batch-mode -Dmaven.build.cache.enabled=false -Dapidocgen.skip=false verify
working-directory: ./apps
- name: 'Install yq'
diff --git a/apps/bfd-server/bfd-server-war/pom.xml b/apps/bfd-server/bfd-server-war/pom.xml
index e6efcb9ce8..220541dccf 100644
--- a/apps/bfd-server/bfd-server-war/pom.xml
+++ b/apps/bfd-server/bfd-server-war/pom.xml
@@ -430,6 +430,7 @@
${project.basedir}
${project.basedir}/../../../dist
+ ${apidocgen.skip}
create-openapi-artifacts
verify
@@ -488,6 +489,7 @@
data-dictionary
+ ${apidocgen.skip}
diff --git a/apps/pom.xml b/apps/pom.xml
index 658dca78d9..17fcbbee04 100644
--- a/apps/pom.xml
+++ b/apps/pom.xml
@@ -216,6 +216,9 @@
true
+
+ true
+
3.6.0
3.1.0
@@ -1275,6 +1278,7 @@
true
true
true
+ false