This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva.git


The following commit(s) were added to refs/heads/master by this push:
     new d79aa13  Switching from tasks to target for antrun plugin
d79aa13 is described below

commit d79aa1384497fa9a0b23c5228c1f831482873d30
Author: Martin Stockhammer <[email protected]>
AuthorDate: Sat Dec 11 16:50:08 2021 +0100

    Switching from tasks to target for antrun plugin
---
 archiva-jetty/pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/archiva-jetty/pom.xml b/archiva-jetty/pom.xml
index ffa2921..a804cea 100644
--- a/archiva-jetty/pom.xml
+++ b/archiva-jetty/pom.xml
@@ -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>

Reply via email to