Skip to content

Commit 5f3bb2f

Browse files
committed
DATAREST-790 - Fix build to be re-runnable without cleaning.
Changed the Ant-Run task to copy artifacts into the classpath rather than moving them so that a repeated build run will find the artifacts again.
1 parent 78c4685 commit 5f3bb2f

File tree

1 file changed

+4
-4
lines changed
  • spring-data-rest-hal-browser

1 file changed

+4
-4
lines changed

spring-data-rest-hal-browser/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@
102102
</goals>
103103
<configuration>
104104
<target>
105-
<move todir="${project.build.outputDirectory}/META-INF/spring-data-rest/hal-browser">
105+
<copy todir="${project.build.outputDirectory}/META-INF/spring-data-rest/hal-browser">
106106
<fileset dir="${project.build.directory}/hal-browser/META-INF/resources/webjars/hal-browser/${browser.version}" />
107-
</move>
108-
<move todir="${project.build.outputDirectory}/META-INF/spring-data-rest/hal-browser/vendor/js">
107+
</copy>
108+
<copy todir="${project.build.outputDirectory}/META-INF/spring-data-rest/hal-browser/vendor/js">
109109
<fileset dir="${project.build.directory}/json-editor/META-INF/resources/webjars/json-editor/${json-editor.version}" />
110-
</move>
110+
</copy>
111111
<delete file="${project.build.outputDirectory}/META-INF/spring-data-rest/hal-browser/browser.html" />
112112
</target>
113113
</configuration>

0 commit comments

Comments
 (0)