]> source.dussan.org Git - archiva.git/commitdiff
MRM-1138 - Fix java.lang.NullPointerException: configuration can not be null on startup
authorJames William Dumay <jdumay@apache.org>
Fri, 13 Mar 2009 04:54:59 +0000 (04:54 +0000)
committerJames William Dumay <jdumay@apache.org>
Fri, 13 Mar 2009 04:54:59 +0000 (04:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753108 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/pom.xml

index f22a975dcd2e935d46628ba774e3a506ade132c8..9f650e114c3b3f3bfa9724570c4dab6020055f59 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+xml version="1.0" encoding="UTF-8"?>
 <!--
   ~ Licensed to the Apache Software Foundation (ASF) under one
   ~ or more contributor license agreements.  See the NOTICE file
               </tasks>
             </configuration>
           </execution>
+          <execution>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <tasks>
+                <copy todir="${basedir}/appserver-base">
+                  <fileset dir="src/appserver-base" />
+                </copy>
+              </tasks>
+            </configuration>
+          </execution>
         </executions>
       </plugin>
       <plugin>
           </roleDefaults>
         </configuration>
       </plugin>
-      <plugin>
-        <artifactId>maven-antrun-plugin</artifactId>
-        <version>1.1</version>
-        <executions>
-          <execution>
-            <phase>generate-resources</phase>
-            <goals>
-              <goal>run</goal>
-            </goals>
-            <configuration>
-              <tasks>
-                <copy todir="${basedir}/appserver-base">
-                  <fileset dir="src/appserver-base" />
-                </copy>
-              </tasks>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
   <profiles>