Skip to content

Commit

Permalink
Closes kadai-io#66 - Adapt script to new folder structure of maven-ja…
Browse files Browse the repository at this point in the history
…vadoc-plugin generated docs
  • Loading branch information
CRoberto1926 committed Oct 9, 2024
1 parent 1649634 commit cd21e7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ci/verify_docs_jar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ set +x
JAR_CONTENT=$(jar -tf "$JAR_FILE_LOCATION")
set -x

verifyDocs "$REL/../lib/kadai-core/target/apidocs" "/static/docs/java/kadai-core"
verifyDocs "$REL/../lib/kadai-cdi/target/apidocs" "/static/docs/java/kadai-cdi"
verifyDocs "$REL/../lib/kadai-spring/target/apidocs" "/static/docs/java/kadai-spring"
verifyDocs "$REL/../lib/kadai-core/target/reports/apidocs" "/static/docs/java/kadai-core"
verifyDocs "$REL/../lib/kadai-cdi/target/reports/apidocs" "/static/docs/java/kadai-cdi"
verifyDocs "$REL/../lib/kadai-spring/target/reports/apidocs" "/static/docs/java/kadai-spring"
test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/java/kadai-core/index.html)"
test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/java/kadai-spring/index.html)"
test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/java/kadai-cdi/io/kadai/common/internal/package-summary.html)"
Expand Down
6 changes: 3 additions & 3 deletions rest/kadai-rest-spring-example-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
<resources>
<resource>
<directory>
../../lib/kadai-core/target/apidocs
../../lib/kadai-core/target/reports/apidocs
</directory>
</resource>
</resources>
Expand All @@ -186,7 +186,7 @@
<resources>
<resource>
<directory>
../../lib/kadai-cdi/target/apidocs
../../lib/kadai-cdi/target/reports/apidocs
</directory>
</resource>
</resources>
Expand All @@ -205,7 +205,7 @@
<resources>
<resource>
<directory>
../../lib/kadai-spring/target/apidocs
../../lib/kadai-spring/target/reports/apidocs
</directory>
</resource>
</resources>
Expand Down

0 comments on commit cd21e7e

Please sign in to comment.