File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 </resource >
5454 </resources >
5555 <plugins >
56+ <plugin >
57+ <groupId >org.apache.maven.plugins</groupId >
58+ <artifactId >maven-compiler-plugin</artifactId >
59+ <version >3.13.0</version >
60+ </plugin >
5661 <plugin >
5762 <groupId >org.apache.maven.plugins</groupId >
5863 <artifactId >maven-jar-plugin</artifactId >
201206 <artifactId >versions-maven-plugin</artifactId >
202207 <version >2.18.0</version >
203208 </plugin >
209+ <plugin >
210+ <groupId >org.codehaus.mojo</groupId >
211+ <artifactId >exec-maven-plugin</artifactId >
212+ <version >3.5.0</version >
213+ <executions >
214+ <!-- Smoke-test the shaded JAR after `mvn package`. Minimization can silently
215+ drop reflection-loaded classes; running the version flag exercises App.main,
216+ commons-cli, the version-properties resource, and logback bootstrap. -->
217+ <execution >
218+ <id >shaded-jar-smoke-test</id >
219+ <phase >verify</phase >
220+ <goals >
221+ <goal >exec</goal >
222+ </goals >
223+ <configuration >
224+ <executable >java</executable >
225+ <arguments >
226+ <argument >-jar</argument >
227+ <argument >${project.build.directory} /${project.build.finalName} .jar</argument >
228+ <argument >--version</argument >
229+ </arguments >
230+ </configuration >
231+ </execution >
232+ </executions >
233+ </plugin >
204234 <plugin >
205235 <groupId >org.jacoco</groupId >
206236 <artifactId >jacoco-maven-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments