Browse Source

Switching from tasks to target for antrun plugin

pull/62/head
Martin Stockhammer 2 years ago
parent
commit
d79aa13844
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      archiva-jetty/pom.xml

+ 4
- 4
archiva-jetty/pom.xml View File

<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>
<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…
Cancel
Save