<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <groupId>org.owasp</groupId> <artifactId>dependency-check-maven</artifactId> <version>6.5.0</version> <configuration> <autoUpdate>true</autoUpdate> <formats> <format>all</format> </formats> </configuration> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin>
配置好插件點擊右側插件即可執行掃描,掃描結果在target下,點擊html文件即可查看掃描結果