|
26 | 26 |
|
27 | 27 | <artifactId>spark-kubernetes-integration-tests_2.11</artifactId>
|
28 | 28 | <properties>
|
| 29 | + <root.src.folder>${project.basedir}/../../..</root.src.folder> |
29 | 30 | <sbt.project.name>kubernetes-integration-tests</sbt.project.name>
|
30 | 31 | </properties>
|
31 | 32 | <packaging>jar</packaging>
|
|
228 | 229 | </resources>
|
229 | 230 | </configuration>
|
230 | 231 | </execution>
|
| 232 | + <execution> |
| 233 | + <id>copy-integration-bin</id> |
| 234 | + <phase>pre-integration-test</phase> |
| 235 | + <goals> |
| 236 | + <goal>copy-resources</goal> |
| 237 | + </goals> |
| 238 | + <configuration> |
| 239 | + <outputDirectory>${project.build.directory}/docker/bin</outputDirectory> |
| 240 | + <resources> |
| 241 | + <resource> |
| 242 | + <directory>${root.src.folder}/bin</directory> |
| 243 | + </resource> |
| 244 | + </resources> |
| 245 | + </configuration> |
| 246 | + </execution> |
| 247 | + <execution> |
| 248 | + <id>copy-integration-sbin</id> |
| 249 | + <phase>pre-integration-test</phase> |
| 250 | + <goals> |
| 251 | + <goal>copy-resources</goal> |
| 252 | + </goals> |
| 253 | + <configuration> |
| 254 | + <outputDirectory>${project.build.directory}/docker/sbin</outputDirectory> |
| 255 | + <resources> |
| 256 | + <resource> |
| 257 | + <directory>${root.src.folder}/sbin</directory> |
| 258 | + </resource> |
| 259 | + </resources> |
| 260 | + </configuration> |
| 261 | + </execution> |
| 262 | + <execution> |
| 263 | + <id>copy-integration-conf</id> |
| 264 | + <phase>pre-integration-test</phase> |
| 265 | + <goals> |
| 266 | + <goal>copy-resources</goal> |
| 267 | + </goals> |
| 268 | + <configuration> |
| 269 | + <outputDirectory>${project.build.directory}/docker/conf</outputDirectory> |
| 270 | + <resources> |
| 271 | + <resource> |
| 272 | + <directory>${root.src.folder}/conf</directory> |
| 273 | + </resource> |
| 274 | + </resources> |
| 275 | + </configuration> |
| 276 | + </execution> |
231 | 277 | <execution>
|
232 | 278 | <id>copy-integration-python</id>
|
233 | 279 | <phase>pre-integration-test</phase>
|
|
238 | 284 | <outputDirectory>${project.build.directory}/docker/python</outputDirectory>
|
239 | 285 | <resources>
|
240 | 286 | <resource>
|
241 |
| - <directory>${project.parent.basedir}/python</directory> |
| 287 | + <directory>${root.src.folder}/python</directory> |
242 | 288 | <excludes>
|
243 |
| - <exclude>${project.parent.basedir}/python/.egg</exclude> |
244 |
| - <exclude>${project.parent.basedir}/python/dist</exclude> |
| 289 | + <exclude>${root.src.folder}/python/.egg</exclude> |
| 290 | + <exclude>${root.src.folder}/python/dist</exclude> |
245 | 291 | </excludes>
|
246 | 292 | </resource>
|
247 | 293 | </resources>
|
|
257 | 303 | <outputDirectory>${project.build.directory}/docker/R</outputDirectory>
|
258 | 304 | <resources>
|
259 | 305 | <resource>
|
260 |
| - <directory>${project.parent.basedir}/R</directory> |
| 306 | + <directory>${root.src.folder}/R</directory> |
261 | 307 | </resource>
|
262 | 308 | </resources>
|
263 | 309 | </configuration>
|
|
272 | 318 | <outputDirectory>${project.build.directory}/docker/data</outputDirectory>
|
273 | 319 | <resources>
|
274 | 320 | <resource>
|
275 |
| - <directory>${project.parent.basedir}/data</directory> |
| 321 | + <directory>${root.src.folder}/data</directory> |
276 | 322 | <filtering>true</filtering>
|
277 | 323 | </resource>
|
278 | 324 | </resources>
|
|
288 | 334 | <outputDirectory>${project.build.directory}/docker/licenses</outputDirectory>
|
289 | 335 | <resources>
|
290 | 336 | <resource>
|
291 |
| - <directory>${project.parent.basedir}/licenses</directory> |
| 337 | + <directory>${root.src.folder}/licenses</directory> |
292 | 338 | <filtering>true</filtering>
|
293 | 339 | </resource>
|
294 | 340 | </resources>
|
|
304 | 350 | <outputDirectory>${project.build.directory}/docker/examples/jars</outputDirectory>
|
305 | 351 | <resources>
|
306 | 352 | <resource>
|
307 |
| - <directory>${project.parent.basedir}/examples/target/scala-2.11/jars</directory> |
| 353 | + <directory>${root.src.folder}/examples/target/scala-2.11/jars</directory> |
308 | 354 | <filtering>true</filtering>
|
309 | 355 | </resource>
|
310 | 356 | </resources>
|
|
320 | 366 | <outputDirectory>${project.build.directory}/docker/examples/src/main</outputDirectory>
|
321 | 367 | <resources>
|
322 | 368 | <resource>
|
323 |
| - <directory>${project.parent.basedir}/examples/src/main</directory> |
| 369 | + <directory>${root.src.folder}/examples/src/main</directory> |
324 | 370 | <filtering>true</filtering>
|
325 | 371 | </resource>
|
326 | 372 | </resources>
|
|
0 commit comments