mirror of https://github.com/apache/archiva.git
Switching from tasks to target for antrun plugin
This commit is contained in:
parent
e1609fdac0
commit
d79aa13844
|
@ -198,13 +198,13 @@
|
||||||
<id>config</id>
|
<id>config</id>
|
||||||
<phase>process-resources</phase>
|
<phase>process-resources</phase>
|
||||||
<configuration>
|
<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">
|
<copy todir="target/generated-resources/appassembler/jsw/archiva/conf">
|
||||||
<fileset dir="src/main/conf" />
|
<fileset dir="src/main/conf" />
|
||||||
</copy>
|
</copy>
|
||||||
<mkdir dir="target/generated-resources/appassembler/jsw/archiva/logs" />
|
<mkdir dir="target/generated-resources/appassembler/jsw/archiva/logs" />
|
||||||
<mkdir dir="target/generated-resources/appassembler/jsw/archiva/temp" />
|
<mkdir dir="target/generated-resources/appassembler/jsw/archiva/temp" />
|
||||||
</tasks>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>run</goal>
|
||||||
|
@ -214,9 +214,9 @@
|
||||||
<id>fix-appassembler-bug</id>
|
<id>fix-appassembler-bug</id>
|
||||||
<phase>prepare-package</phase>
|
<phase>prepare-package</phase>
|
||||||
<configuration>
|
<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" />
|
<replaceregexp file="target/generated-resources/appassembler/jsw/archiva/conf/wrapper.conf" match="set.ARCHIVA_BASE" replace="set.default.ARCHIVA_BASE" />
|
||||||
</tasks>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>run</goal>
|
||||||
|
|
Loading…
Reference in New Issue