move build from a module to the root pom

git-svn-id: https://svn.apache.org/repos/asf/lenya/trunk@1087781 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/org.apache.lenya.core.api/pom.xml b/org.apache.lenya.core.api/pom.xml
index a39d1ca..4491757 100644
--- a/org.apache.lenya.core.api/pom.xml
+++ b/org.apache.lenya.core.api/pom.xml
@@ -15,58 +15,6 @@
   <packaging>jar</packaging>
   <name>Apache Lenya Core API</name>
   
-  <build>
-    <plugins>
-      <plugin>
-        <!-- export our test classes in a separate jar -->
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <executions>
-          <execution>
-            <goals>
-              <goal>test-jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <includes>
-            <include>**/*TestCase.class</include>
-            <include>**/*Test.class</include>
-          </includes>
-          <excludes>
-            <exclude>**/Abstract*.class</exclude>
-          </excludes>
-          <!-- currently triggers NPE in surefire plugin
-            <systemProperties>
-            <property>
-            <name>junit.test.loglevel</name>
-            <value>3</value>
-            </property>
-            </systemProperties>
-          -->
-        </configuration>
-      </plugin>
-    </plugins>
-    <resources>
-      <resource>
-        <directory>src/main/resources</directory>
-        <filtering>false</filtering>
-        <excludes>
-          <exclude>META-INF/cocoon/properties/lenya.properties</exclude>
-        </excludes>
-      </resource>
-      <resource>
-        <directory>src/main/resources</directory>
-        <filtering>true</filtering>
-        <includes>
-          <include>META-INF/cocoon/properties/lenya.properties</include>
-        </includes>
-      </resource>
-    </resources>
-  </build>
   
   <properties>
     <lenya.home>${basedir}/..</lenya.home>
diff --git a/pom.xml b/pom.xml
index 799f8a5..2232968 100644
--- a/pom.xml
+++ b/pom.xml
@@ -118,11 +118,65 @@
     <module>org.apache.lenya.webapp.welcome</module>
     <module>org.apache.lenya.deprecated</module>
   </modules>
-
+  
   <scm>
     <connection>scm:svn:http://svn.apache.org/repos/asf/lenya/trunk</connection>
     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/lenya/trunk</developerConnection>
     <url>http://svn.apache.org/viewvc/lenya/trunk</url>
   </scm>
 
+    <build>
+    <plugins>
+      <plugin>
+        <!-- export our test classes in a separate jar -->
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <includes>
+            <include>**/*TestCase.class</include>
+            <include>**/*Test.class</include>
+          </includes>
+          <excludes>
+            <exclude>**/Abstract*.class</exclude>
+          </excludes>
+          <!-- currently triggers NPE in surefire plugin
+            <systemProperties>
+            <property>
+            <name>junit.test.loglevel</name>
+            <value>3</value>
+            </property>
+            </systemProperties>
+          -->
+        </configuration>
+      </plugin>
+    </plugins>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>false</filtering>
+        <excludes>
+          <exclude>META-INF/cocoon/properties/lenya.properties</exclude>
+        </excludes>
+      </resource>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+        <includes>
+          <include>META-INF/cocoon/properties/lenya.properties</include>
+        </includes>
+      </resource>
+    </resources>
+  </build>
+
+  
 </project>