File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed
Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 2121 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
2222 restore-keys : ${{ runner.os }}-m2
2323 - name : Build with Maven
24- run : mvn validate && mvn -B package --file pom.xml
24+ run : mvn -B verify package --file pom.xml
Original file line number Diff line number Diff line change 388388 <includeResources >false</includeResources >
389389 </configuration >
390390 </plugin >
391- </plugins >
391+ <plugin >
392+ <groupId >org.apache.maven.plugins</groupId >
393+ <artifactId >maven-dependency-plugin</artifactId >
394+ <version >3.9.0</version >
395+ <executions >
396+ <execution >
397+ <id >analyze</id >
398+ <goals >
399+ <goal >analyze-only</goal >
400+ </goals >
401+ <configuration >
402+ <failOnWarning >true</failOnWarning >
403+ </configuration >
404+ </execution >
405+ </executions >
406+ <configuration >
407+ <ignoreUnusedRuntime >true</ignoreUnusedRuntime >
408+ </configuration >
409+ </plugin >
410+ </plugins >
392411 </build >
393412</project >
You can’t perform that action at this time.
0 commit comments