Skip to content

Commit

Permalink
changed build seq and changed from site:site to site
Browse files Browse the repository at this point in the history
Also ensured the /src/site/apt/cli_help.txt gets deleted during clean
  • Loading branch information
Claudenw committed May 18, 2024
1 parent 9dab258 commit 9848c47
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ jobs:

- 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

17 changes: 14 additions & 3 deletions apache-rat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -188,9 +202,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>

</configuration>
</plugin>
</plugins>
</pluginManagement>
Expand Down

0 comments on commit 9848c47

Please sign in to comment.