File tree Expand file tree Collapse file tree 2 files changed +26
-12
lines changed Expand file tree Collapse file tree 2 files changed +26
-12
lines changed Original file line number Diff line number Diff line change 1- Copyright 2019-2022 the original author or authors.
1+ Copyright 2019-2023 the original author or authors.
22
33Licensed under the Apache License, Version 2.0 (the "License");
44you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 233233 </dependency >
234234 </dependencies >
235235 <build >
236- <resources >
237- <resource >
238- <directory >../</directory >
239- <targetPath >META-INF</targetPath >
240- <includes >
241- <include >LICENSE</include >
242- <include >COPYRIGHT</include >
243- </includes >
244- </resource >
245- </resources >
246-
247236 <pluginManagement >
248237 <plugins >
249238 <plugin >
254243 </plugins >
255244 </pluginManagement >
256245 <plugins >
246+ <plugin >
247+ <groupId >org.apache.maven.plugins</groupId >
248+ <artifactId >maven-resources-plugin</artifactId >
249+ <executions >
250+ <execution >
251+ <id >copy-resources</id >
252+ <phase >validate</phase >
253+ <goals >
254+ <goal >copy-resources</goal >
255+ </goals >
256+ <configuration >
257+ <outputDirectory >${basedir} /target/classes/META-INF</outputDirectory >
258+ <resources >
259+ <resource >
260+ <directory >${basedir} /..</directory >
261+ <includes >
262+ <include >LICENSE</include >
263+ <include >COPYRIGHT</include >
264+ </includes >
265+ </resource >
266+ </resources >
267+ </configuration >
268+ </execution >
269+ </executions >
270+ </plugin >
257271 <plugin >
258272 <groupId >org.owasp</groupId >
259273 <artifactId >dependency-check-maven</artifactId >
You can’t perform that action at this time.
0 commit comments