]> source.dussan.org Git - archiva.git/commitdiff
Switching from tasks to target for antrun plugin
authorMartin Stockhammer <martin_s@apache.org>
Sat, 11 Dec 2021 15:50:08 +0000 (16:50 +0100)
committerMartin Stockhammer <martin_s@apache.org>
Sat, 11 Dec 2021 15:50:08 +0000 (16:50 +0100)
archiva-jetty/pom.xml

index ffa29218009f7af73b37ce83c55f742e3a28e909..a804cea68fb04311375edef47989b99ae0506af6 100644 (file)
             <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>
             <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>