changed build seq and changed from site:site to site
Also ensured the /src/site/apt/cli_help.txt gets deleted during clean
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index f515de2..afb0895 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -59,15 +59,15 @@
- name: Build with Maven
run: ./mvnw -e -B -V -ntp clean install
-
- - name: Build site
- run: ./mvnw -e -B -V -ntp site:site
- name: Generate javadoc
- run: ./mvnw -e -B -V -ntp javadoc:javadoc
+ run: ./mvnw -e -B -V -ntp javadoc:javadoc
+
+ - name: Build site
+ run: ./mvnw -e -B -V -ntp site
+
# as of 20220505: Invalid workflow file
# The workflow is not valid. .github/workflows/maven.yml (Line: 55, Col: 1): Unexpected value 'notifications'
#notifications:
# jobs: commits@creadur.apache.org
-
diff --git a/apache-rat/pom.xml b/apache-rat/pom.xml
index 0d9460a..03c85b1 100644
--- a/apache-rat/pom.xml
+++ b/apache-rat/pom.xml
@@ -143,6 +143,20 @@
</environmentVariables>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>src/site/apt/</directory>
+ <includes>
+ <include>*.txt</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
<pluginManagement>
<plugins>
@@ -188,9 +202,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
- <configuration>
-
- </configuration>
</plugin>
</plugins>
</pluginManagement>