Move copy-resources from compile to prepare-package maven lifecycle phase
diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml
index 687bac8..baedd61 100644
--- a/.github/workflows/deploy-site.yml
+++ b/.github/workflows/deploy-site.yml
@@ -43,7 +43,7 @@
- name: Build Site
run: |
- mvn clean compile
+ mvn clean package
# Determines the short sha of the commit that triggered the build
diff --git a/.github/workflows/recreate-site-branch.yml b/.github/workflows/recreate-site-branch.yml
index f451be8..a64b6c8 100644
--- a/.github/workflows/recreate-site-branch.yml
+++ b/.github/workflows/recreate-site-branch.yml
@@ -34,7 +34,7 @@
- name: Build Site
run: |
- mvn clean compile
+ mvn clean package
# Determines the short sha of the commit that triggered the build
diff --git a/pom.xml b/pom.xml
index 651e91b..9941385 100644
--- a/pom.xml
+++ b/pom.xml
@@ -99,7 +99,7 @@
<executions>
<execution>
<id>copy-resources</id>
- <phase>compile</phase>
+ <phase>prepare-package</phase>
<goals>
<goal>copy-resources</goal>
</goals>