Skip to content

Commit 622fe6b

Browse files
committed
Fix deprecated usage of Maven Antrun plugin
1 parent 51acef0 commit 622fe6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web-bundle/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@
168168
<id>create target directory</id>
169169
<phase>initialize</phase>
170170
<configuration>
171-
<tasks>
171+
<target>
172172
<mkdir dir="${basedir}/target"/>
173-
</tasks>
173+
</target>
174174
</configuration>
175175
<goals>
176176
<goal>run</goal>
@@ -180,7 +180,7 @@
180180
<id>unzip maps bundle</id>
181181
<phase>process-resources</phase>
182182
<configuration>
183-
<tasks>
183+
<target>
184184
<untar compression="gzip"
185185
src="${basedir}/target/graphhopper-graphhopper-maps-bundle-${graphhopper-maps.version}.tgz"
186186
dest="${basedir}/target/classes/com/graphhopper/maps">
@@ -190,7 +190,7 @@
190190
</patternset>
191191
<mapper type="regexp" from="package\/dist\/(.*)" to="\1"/>
192192
</untar>
193-
</tasks>
193+
</target>
194194
</configuration>
195195
<goals>
196196
<goal>run</goal>

0 commit comments

Comments
 (0)