Skip to content
This repository has been archived by the owner on Feb 23, 2018. It is now read-only.

Commit

Permalink
irods-contrib#45 add overwrite flag to copy of custom template
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-conway committed Dec 1, 2017
1 parent bc16436 commit 4618a24
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/emc-metalnx-ui-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
<phase>validate</phase>
<configuration>
<tasks>
<copy
<echo message="copy template from local default" />
<copy overwrite="true"
file="${project.basedir}/src/main/resources/views/defaultTemplate.html"
tofile="${project.basedir}/src/main/resources/views/template.html" />
</tasks>
Expand Down Expand Up @@ -86,7 +87,9 @@
<phase>validate</phase>
<configuration>
<tasks>
<copy file="${metalnx.custom.template}"
<echo message="copy template from ${metalnx.custom.template}" />

<copy overwrite="true" file="${metalnx.custom.template}"
tofile="${project.basedir}/src/main/resources/views/template.html" />
</tasks>
</configuration>
Expand Down

0 comments on commit 4618a24

Please sign in to comment.