Skip to content

Commit

Permalink
optimize CodeQL
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 committed Sep 4, 2024
1 parent 714f31d commit be79766
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

# step 3
- name: "Build"
run: ./mvnw -T 4C clean compile -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
run: ./mvnw -T 4C clean compile -e -B -Dmaven.frontend.skip=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn

# step 4
- name: "Perform CodeQL Analysis"
Expand Down
4 changes: 4 additions & 0 deletions build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
<pmd.skip>true</pmd.skip>
<maven.test.skip>false</maven.test.skip>
<maven.git-commit-id.skip>true</maven.git-commit-id.skip>
<maven.frontend.skip>false</maven.frontend.skip>
<maven.surefire.argLine></maven.surefire.argLine>
<maven.surefire.excludes></maven.surefire.excludes>

Expand Down Expand Up @@ -246,6 +247,9 @@
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${frontend-maven-plugin.version}</version>
<configuration>
<skip>${maven.frontend.skip}</skip>
</configuration>
</plugin>
</plugins>
</pluginManagement>
Expand Down

0 comments on commit be79766

Please sign in to comment.