This repository was archived by the owner on Oct 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 225225 </execution >
226226 </executions >
227227 </plugin >
228+ <!-- Extract core's resources-->
229+ <plugin >
230+ <groupId >org.apache.maven.plugins</groupId >
231+ <artifactId >maven-dependency-plugin</artifactId >
232+ <version >2.2</version >
233+ <executions >
234+ <execution >
235+ <id >unpack</id >
236+ <phase >generate-resources</phase >
237+ <goals >
238+ <goal >unpack-dependencies</goal >
239+ </goals >
240+ <configuration >
241+ <includeGroupIds >${project.groupId} </includeGroupIds >
242+ <includeArtifactIds >sansa-inference-tests_${scala.binary.version} </includeArtifactIds >
243+ <excludeTransitive >true</excludeTransitive >
244+ <overWrite >true</overWrite >
245+ <outputDirectory >${project.build.directory} /core-resources</outputDirectory >
246+ <excludes >org/**,META-INF/**,rebel.xml</excludes >
247+ <overWriteReleases >true</overWriteReleases >
248+ <overWriteSnapshots >true</overWriteSnapshots >
249+ </configuration >
250+ </execution >
251+ </executions >
252+ </plugin >
228253 </plugins >
254+ <!-- New resource locations-->
255+ <resources >
256+ <resource >
257+ <filtering >false</filtering >
258+ <directory >${project.build.directory} /core-resources</directory >
259+ </resource >
260+ <resource >
261+ <filtering >false</filtering >
262+ <directory >${basedir} /src/main/resources</directory >
263+ </resource >
264+ </resources >
229265 </build >
230266
231267 <profiles >
You can’t perform that action at this time.
0 commit comments