Switching from tasks to target for antrun plugin

This commit is contained in:
Martin Stockhammer 2021-12-11 16:50:08 +01:00
parent e1609fdac0
commit d79aa13844
1 changed files with 4 additions and 4 deletions

View File

@ -198,13 +198,13 @@
<id>config</id>
<phase>process-resources</phase>
<configuration>
<tasks>
<target name="copy-config-files" description="Copies the archiva configuration to the jetty destination" >
<copy todir="target/generated-resources/appassembler/jsw/archiva/conf">
<fileset dir="src/main/conf" />
</copy>
<mkdir dir="target/generated-resources/appassembler/jsw/archiva/logs" />
<mkdir dir="target/generated-resources/appassembler/jsw/archiva/temp" />
</tasks>
</target>
</configuration>
<goals>
<goal>run</goal>
@ -214,9 +214,9 @@
<id>fix-appassembler-bug</id>
<phase>prepare-package</phase>
<configuration>
<tasks>
<target name="copy-wrapper-config" description="Copies the wrapper configuration" >
<replaceregexp file="target/generated-resources/appassembler/jsw/archiva/conf/wrapper.conf" match="set.ARCHIVA_BASE" replace="set.default.ARCHIVA_BASE" />
</tasks>
</target>
</configuration>
<goals>
<goal>run</goal>