|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
| -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 4 | <modelVersion>4.0.0</modelVersion>
|
4 | 5 |
|
5 | 6 | <groupId>dev.coldhands</groupId>
|
|
24 | 25 | <maven-assembly-plugin.version>3.6.0</maven-assembly-plugin.version>
|
25 | 26 | <maven-release-plugin.version>3.0.1</maven-release-plugin.version>
|
26 | 27 | <maven-antrun-plugin.version>3.1.0</maven-antrun-plugin.version>
|
| 28 | + <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version> |
27 | 29 | <appassembler-maven-plugin.version>2.1.0</appassembler-maven-plugin.version>
|
28 | 30 |
|
29 | 31 | <junit-jupiter-api.version>5.10.0</junit-jupiter-api.version>
|
|
293 | 295 | </executions>
|
294 | 296 | </plugin>
|
295 | 297 |
|
| 298 | + <plugin> |
| 299 | + <groupId>org.apache.maven.plugins</groupId> |
| 300 | + <artifactId>maven-resources-plugin</artifactId> |
| 301 | + <version>${maven-resources-plugin.version}</version> |
| 302 | + <executions> |
| 303 | + <execution> |
| 304 | + <id>copy-resources</id> |
| 305 | + <phase>pre-integration-test</phase> |
| 306 | + <goals> |
| 307 | + <goal>copy-resources</goal> |
| 308 | + </goals> |
| 309 | + <configuration> |
| 310 | + <resources> |
| 311 | + <resource> |
| 312 | + <directory>src/scripts</directory> |
| 313 | + <filtering>true</filtering> |
| 314 | + <includes> |
| 315 | + <include>docker-container-launcher.sh</include> |
| 316 | + </includes> |
| 317 | + </resource> |
| 318 | + </resources> |
| 319 | + <outputDirectory>${project.build.directory}</outputDirectory> |
| 320 | + </configuration> |
| 321 | + </execution> |
| 322 | + </executions> |
| 323 | + </plugin> |
| 324 | + |
296 | 325 | <plugin>
|
297 | 326 | <groupId>org.apache.maven.plugins</groupId>
|
298 | 327 | <artifactId>maven-antrun-plugin</artifactId>
|
|
302 | 331 | <phase>pre-integration-test</phase>
|
303 | 332 | <configuration>
|
304 | 333 | <target>
|
305 |
| - <copy file="src/scripts/docker-container-launcher.sh" tofile="${project.build.directory}/${scriptName}" /> |
| 334 | + <move file="${project.build.directory}/docker-container-launcher.sh" |
| 335 | + tofile="${project.build.directory}/${scriptName}"/> |
306 | 336 | <exec executable="chmod">
|
307 |
| - <arg value="+x" /> |
308 |
| - <arg file="${project.build.directory}/${scriptName}" /> |
| 337 | + <arg value="+x"/> |
| 338 | + <arg file="${project.build.directory}/${scriptName}"/> |
309 | 339 | </exec>
|
310 | 340 | </target>
|
311 | 341 | </configuration>
|
|
0 commit comments