You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ie...@apache.org on 2012/12/30 02:54:31 UTC

svn commit: r1426883 [1/2] - in /james/server/trunk: ./ app/ cli/ container-spring/ core/ data/data-api/ data/data-file/ data/data-hbase/ data/data-jcr/ data/data-jdbc/ data/data-jpa/ data/data-ldap/ data/data-library/ dns-service/dnsservice-api/ dns-s...

Author: ieugen
Date: Sun Dec 30 01:54:30 2012
New Revision: 1426883

URL: http://svn.apache.org/viewvc?rev=1426883&view=rev
Log:
JAMES-1460 Pom simplification

Modified:
    james/server/trunk/app/pom.xml
    james/server/trunk/cli/pom.xml
    james/server/trunk/container-spring/pom.xml
    james/server/trunk/core/pom.xml
    james/server/trunk/data/data-api/pom.xml
    james/server/trunk/data/data-file/pom.xml
    james/server/trunk/data/data-hbase/pom.xml
    james/server/trunk/data/data-jcr/pom.xml
    james/server/trunk/data/data-jdbc/pom.xml
    james/server/trunk/data/data-jpa/pom.xml
    james/server/trunk/data/data-ldap/pom.xml
    james/server/trunk/data/data-library/pom.xml
    james/server/trunk/dns-service/dnsservice-api/pom.xml
    james/server/trunk/dns-service/dnsservice-dnsjava/pom.xml
    james/server/trunk/dns-service/dnsservice-library/pom.xml
    james/server/trunk/fetchmail/pom.xml
    james/server/trunk/filesystem-api/pom.xml
    james/server/trunk/lifecycle-api/pom.xml
    james/server/trunk/lifecycle-spring/pom.xml
    james/server/trunk/mailbox-adapter/pom.xml
    james/server/trunk/mailetcontainer-api/pom.xml
    james/server/trunk/mailetcontainer-camel/pom.xml
    james/server/trunk/mailets/pom.xml
    james/server/trunk/pom.xml
    james/server/trunk/protocols/protocols-imap4/pom.xml
    james/server/trunk/protocols/protocols-library/pom.xml
    james/server/trunk/protocols/protocols-lmtp/pom.xml
    james/server/trunk/protocols/protocols-pop3/pom.xml
    james/server/trunk/protocols/protocols-smtp/pom.xml
    james/server/trunk/queue/queue-activemq/pom.xml
    james/server/trunk/queue/queue-api/pom.xml
    james/server/trunk/queue/queue-file/pom.xml
    james/server/trunk/queue/queue-jms/pom.xml
    james/server/trunk/util/pom.xml

Modified: james/server/trunk/app/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/app/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/app/pom.xml (original)
+++ james/server/trunk/app/pom.xml Sun Dec 30 01:54:30 2012
@@ -29,18 +29,11 @@
     </parent>
 
     <artifactId>james-server-app</artifactId>
-    <version>3.0-beta5-SNAPSHOT</version>
-    <packaging>jar</packaging>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server App</name>
     <description>An advanced email server</description>
 
-    <scm>
-        <connection>scm:svn:http://svn.apache.org/repos/asf/james/app/trunk</connection>
-        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/james/app/trunk</developerConnection>
-        <url>http://svn.apache.org/repos/asf/james/app/trunk</url>
-    </scm>
-
     <properties>
 
         <james.server.version>3.0-beta5-SNAPSHOT</james.server.version>

Modified: james/server/trunk/cli/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/cli/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/cli/pom.xml (original)
+++ james/server/trunk/cli/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,7 +17,8 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
@@ -29,19 +30,10 @@
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-cli</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server Client</name>
 
-    <properties>
-        <!-- OSGI stuff -->
-        <james.osgi.export>
-            org.apache.james.*
-        </james.osgi.export>
-        <james.osgi.import>
-            *
-        </james.osgi.import>
-    </properties>
-
     <dependencies>
         <dependency>
             <groupId>org.apache.james</groupId>
@@ -65,25 +57,6 @@
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
-                            <goal>test-jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>exec-maven-plugin</artifactId>
                 <executions>

Modified: james/server/trunk/container-spring/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/container-spring/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/container-spring/pom.xml (original)
+++ james/server/trunk/container-spring/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,7 +17,8 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
@@ -29,6 +30,7 @@
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-container-spring</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server Container Spring</name>
 
@@ -55,7 +57,6 @@
         <dependency>
             <groupId>org.apache.james</groupId>
             <artifactId>james-server-lifecycle-spring</artifactId>
-            <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.james</groupId>
@@ -144,37 +145,4 @@
         </dependency>
     </dependencies>
 
-    <build>
-        <plugins>
-            <!-- use version 2.4 of the plugin. This is needed as workaround for
-                http://jira.codehaus.org/browse/MAPPASM-96 -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-deploy-plugin</artifactId>
-                <version>2.4</version>
-            </plugin>
-
-            <plugin>
-                <artifactId>maven-jar-plugin</artifactId>
-                <configuration>
-                    <archive>
-                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
-                        <manifest>
-                            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
-                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
-                        </manifest>
-                    </archive>
-                </configuration>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>jar</goal>
-                            <goal>test-jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>

Modified: james/server/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/core/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/core/pom.xml (original)
+++ james/server/trunk/core/pom.xml Sun Dec 30 01:54:30 2012
@@ -17,7 +17,8 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
@@ -29,19 +30,10 @@
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-core</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server Core</name>
 
-    <properties>
-        <!-- OSGI stuff -->
-        <james.osgi.export>
-            org.apache.james.core.*
-        </james.osgi.export>
-        <james.osgi.import>
-            *
-        </james.osgi.import>
-    </properties>
-
     <dependencies>
         <dependency>
             <groupId>org.apache.james</groupId>
@@ -87,27 +79,4 @@
         </dependency>
     </dependencies>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
-                            <goal>test-jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
 </project>

Modified: james/server/trunk/data/data-api/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/data/data-api/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/data/data-api/pom.xml (original)
+++ james/server/trunk/data/data-api/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,18 +17,20 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
         <artifactId>james-server</artifactId>
         <groupId>org.apache.james</groupId>
         <version>3.0-beta5-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-data-api</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server Data API</name>
 
@@ -59,17 +61,9 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
                 <executions>
                     <execution>
                         <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
                             <goal>test-jar</goal>
                         </goals>
                     </execution>

Modified: james/server/trunk/data/data-file/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/data/data-file/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/data/data-file/pom.xml (original)
+++ james/server/trunk/data/data-file/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -25,11 +25,12 @@
         <artifactId>james-server</artifactId>
         <groupId>org.apache.james</groupId>
         <version>3.0-beta5-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-data-file</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server File Data Persistence</name>
 
@@ -124,17 +125,9 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
                 <executions>
                     <execution>
                         <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
                             <goal>test-jar</goal>
                         </goals>
                     </execution>

Modified: james/server/trunk/data/data-hbase/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/data/data-hbase/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/data/data-hbase/pom.xml (original)
+++ james/server/trunk/data/data-hbase/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,15 +17,19 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <artifactId>james-server</artifactId>
         <groupId>org.apache.james</groupId>
         <version>3.0-beta5-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
+
     <artifactId>james-server-data-hbase</artifactId>
+    <packaging>bundle</packaging>
+
     <name>Apache James Server HBase Data Persistence</name>
     <dependencies>
         <dependency>

Modified: james/server/trunk/data/data-jcr/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/data/data-jcr/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/data/data-jcr/pom.xml (original)
+++ james/server/trunk/data/data-jcr/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,18 +17,20 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
         <artifactId>james-server</artifactId>
         <groupId>org.apache.james</groupId>
         <version>3.0-beta5-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-data-jcr</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server JCR Data Persistence</name>
 
@@ -98,17 +100,9 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
                 <executions>
                     <execution>
                         <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
                             <goal>test-jar</goal>
                         </goals>
                     </execution>

Modified: james/server/trunk/data/data-jdbc/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/data/data-jdbc/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/data/data-jdbc/pom.xml (original)
+++ james/server/trunk/data/data-jdbc/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,18 +17,20 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
         <artifactId>james-server</artifactId>
         <groupId>org.apache.james</groupId>
         <version>3.0-beta5-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-data-jdbc</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server JDBC Data Persistence</name>
 
@@ -126,17 +128,9 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
                 <executions>
                     <execution>
                         <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
                             <goal>test-jar</goal>
                         </goals>
                     </execution>

Modified: james/server/trunk/data/data-jpa/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/data/data-jpa/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/data/data-jpa/pom.xml (original)
+++ james/server/trunk/data/data-jpa/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,18 +17,20 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
         <artifactId>james-server</artifactId>
         <groupId>org.apache.james</groupId>
         <version>3.0-beta5-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-data-jpa</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server JPA Data Persistence</name>
 
@@ -130,17 +132,9 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
                 <executions>
                     <execution>
                         <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
                             <goal>test-jar</goal>
                         </goals>
                     </execution>
@@ -152,7 +146,9 @@
                 <artifactId>openjpa-maven-plugin</artifactId>
                 <version>1.2</version>
                 <configuration>
-                    <includes>org/apache/james/user/jpa/model/JPAUser.class,org/apache/james/rrt/jpa/model/JPARecipientRewrite.class,org/apache/james/domainlist/jpa/model/JPADomain.class</includes>
+                    <includes>
+                        org/apache/james/user/jpa/model/JPAUser.class,org/apache/james/rrt/jpa/model/JPARecipientRewrite.class,org/apache/james/domainlist/jpa/model/JPADomain.class
+                    </includes>
                     <addDefaultConstructor>true</addDefaultConstructor>
                     <enforcePropertyRestrictions>true</enforcePropertyRestrictions>
                     <toolProperties>
@@ -162,7 +158,9 @@
                         </property>
                         <property>
                             <name>metaDataFactory</name>
-                            <value>jpa(Types=org.apache.james.user.jpa.model.JPAUser;org.apache.james.rrt.jpa.model.JPARecipientRewrite;org.apache.james.domainlist.jpa.model.JPADomain)</value>
+                            <value>
+                                jpa(Types=org.apache.james.user.jpa.model.JPAUser;org.apache.james.rrt.jpa.model.JPARecipientRewrite;org.apache.james.domainlist.jpa.model.JPADomain)
+                            </value>
                         </property>
                     </toolProperties>
                 </configuration>
@@ -176,32 +174,6 @@
                     </execution>
                 </executions>
             </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <executions>
-                    <execution>
-                        <id>bundle-manifest</id>
-                        <phase>process-classes</phase>
-                        <goals>
-                            <goal>manifest</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <excludeDependencies>${james.osgi.exclude.dependencies}</excludeDependencies>
-                    <instructions>
-                        <Bundle-Name>${project.artifactId}</Bundle-Name>
-                        <Export-Package>${james.osgi.export}</Export-Package>
-                        <Import-Package>${james.osgi.import}</Import-Package>
-                        <DynamicImport-Package>${james.osgi.dynamic}</DynamicImport-Package>
-                        <Implementation-Title>Apache James Server</Implementation-Title>
-                        <Implementation-Version>${project.version}</Implementation-Version>
-                        <Meta-Persistence>META-INF/persistence.xml</Meta-Persistence>
-                    </instructions>
-                </configuration>
-            </plugin>
         </plugins>
     </build>
 </project>

Modified: james/server/trunk/data/data-ldap/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/data/data-ldap/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/data/data-ldap/pom.xml (original)
+++ james/server/trunk/data/data-ldap/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,18 +17,20 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
         <artifactId>james-server</artifactId>
         <groupId>org.apache.james</groupId>
         <version>3.0-beta5-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-data-ldap</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server LDAP Data Implementation</name>
 
@@ -79,17 +81,9 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
                 <executions>
                     <execution>
                         <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
                             <goal>test-jar</goal>
                         </goals>
                     </execution>

Modified: james/server/trunk/data/data-library/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/data/data-library/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/data/data-library/pom.xml (original)
+++ james/server/trunk/data/data-library/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,18 +17,20 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
         <artifactId>james-server</artifactId>
         <groupId>org.apache.james</groupId>
         <version>3.0-beta5-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-data-library</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server Data Library</name>
 
@@ -97,17 +99,9 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
                 <executions>
                     <execution>
                         <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
                             <goal>test-jar</goal>
                         </goals>
                     </execution>

Modified: james/server/trunk/dns-service/dnsservice-api/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/dns-service/dnsservice-api/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/dns-service/dnsservice-api/pom.xml (original)
+++ james/server/trunk/dns-service/dnsservice-api/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -24,11 +24,12 @@
         <artifactId>james-server</artifactId>
         <groupId>org.apache.james</groupId>
         <version>3.0-beta5-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-dnsservice-api</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server DNS Server API</name>
 
@@ -55,17 +56,9 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
                 <executions>
                     <execution>
                         <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
                             <goal>test-jar</goal>
                         </goals>
                     </execution>

Modified: james/server/trunk/dns-service/dnsservice-dnsjava/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/dns-service/dnsservice-dnsjava/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/dns-service/dnsservice-dnsjava/pom.xml (original)
+++ james/server/trunk/dns-service/dnsservice-dnsjava/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -24,11 +24,12 @@
         <artifactId>james-server</artifactId>
         <groupId>org.apache.james</groupId>
         <version>3.0-beta5-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-dnsservice-dnsjava</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server DNSService Implementation</name>
 
@@ -76,17 +77,9 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
                 <executions>
                     <execution>
                         <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
                             <goal>test-jar</goal>
                         </goals>
                     </execution>

Modified: james/server/trunk/dns-service/dnsservice-library/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/dns-service/dnsservice-library/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/dns-service/dnsservice-library/pom.xml (original)
+++ james/server/trunk/dns-service/dnsservice-library/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,18 +17,20 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
         <artifactId>james-server</artifactId>
         <groupId>org.apache.james</groupId>
         <version>3.0-beta5-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-dnsservice-library</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server DNSService Library</name>
 
@@ -77,17 +79,9 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
                 <executions>
                     <execution>
                         <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
                             <goal>test-jar</goal>
                         </goals>
                     </execution>

Modified: james/server/trunk/fetchmail/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/fetchmail/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/fetchmail/pom.xml (original)
+++ james/server/trunk/fetchmail/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,7 +17,8 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
@@ -29,19 +30,10 @@
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-fetchmail</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server FetchMail</name>
 
-    <properties>
-        <!-- OSGI stuff -->
-        <james.osgi.export>
-            org.apache.james.fetchmail.*,
-        </james.osgi.export>
-        <james.osgi.import>
-            *
-        </james.osgi.import>
-    </properties>
-
     <dependencies>
         <dependency>
             <groupId>org.apache.james</groupId>
@@ -89,28 +81,4 @@
         </dependency>
     </dependencies>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
-                            <goal>test-jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>

Modified: james/server/trunk/filesystem-api/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/filesystem-api/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/filesystem-api/pom.xml (original)
+++ james/server/trunk/filesystem-api/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,7 +17,8 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <artifactId>james-server</artifactId>
@@ -27,15 +28,8 @@
     </parent>
     <artifactId>james-server-filesystem-api</artifactId>
     <name>Apache James Server Filesystem API</name>
-    <properties>
-        <!-- OSGI stuff -->
-        <james.osgi.export>
-            org.apache.james.*
-        </james.osgi.export>
-        <james.osgi.import>
-            *
-        </james.osgi.import>
-    </properties>
+    <packaging>bundle</packaging>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.james</groupId>
@@ -50,31 +44,7 @@
             <artifactId>junit</artifactId>
         </dependency>
     </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
-                            <goal>test-jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-<!--             TODO Move the SieveFileRepository and SieveFileRepositoryTestCase in other module - See JSIEVE-86 -->
-<!--             Test are exclude (ported from junit 4.x to 3.x) -->
-        </plugins>
-    </build>
+
     <profiles>
         <profile>
             <id>noTest</id>

Modified: james/server/trunk/lifecycle-api/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/lifecycle-api/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/lifecycle-api/pom.xml (original)
+++ james/server/trunk/lifecycle-api/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,7 +17,8 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
@@ -29,19 +30,10 @@
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-lifecycle-api</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server Lifecycle API</name>
 
-    <properties>
-        <!-- OSGI stuff -->
-        <james.osgi.export>
-            org.apache.james.*
-        </james.osgi.export>
-        <james.osgi.import>
-            *
-        </james.osgi.import>
-    </properties>
-
     <dependencies>
         <dependency>
             <groupId>commons-configuration</groupId>
@@ -53,27 +45,4 @@
         </dependency>
     </dependencies>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
-                            <goal>test-jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
 </project>

Modified: james/server/trunk/lifecycle-spring/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/lifecycle-spring/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/lifecycle-spring/pom.xml (original)
+++ james/server/trunk/lifecycle-spring/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,7 +17,8 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
@@ -29,20 +30,10 @@
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-lifecycle-spring</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server Lifecycle Spring</name>
 
-    <properties>
-        <!-- OSGI stuff -->
-        <james.osgi.export>
-            org.apache.james.container.spring.*
-        </james.osgi.export>
-        <!-- exclude spring web support and commons-daemon for now -->
-        <james.osgi.import>
-            *
-        </james.osgi.import>
-    </properties>
-
     <dependencies>
         <dependency>
             <groupId>org.apache.james</groupId>
@@ -98,39 +89,4 @@
         </dependency>
     </dependencies>
 
-    <build>
-        <plugins>
-            <!-- use version 2.4 of the plugin. This is needed as workaround for
-                http://jira.codehaus.org/browse/MAPPASM-96 -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-deploy-plugin</artifactId>
-                <version>2.4</version>
-            </plugin>
-
-            <plugin>
-                <artifactId>maven-jar-plugin</artifactId>
-                <configuration>
-                    <archive>
-                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
-                        <manifest>
-                            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
-                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
-                        </manifest>
-                        <manifestEntries>
-                            <Fragment-Host>org.springframework.osgi.extender</Fragment-Host>
-                        </manifestEntries>
-                    </archive>
-                </configuration>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>jar</goal>
-                            <goal>test-jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
 </project>

Modified: james/server/trunk/mailbox-adapter/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/mailbox-adapter/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/mailbox-adapter/pom.xml (original)
+++ james/server/trunk/mailbox-adapter/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,7 +17,8 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
@@ -29,6 +30,7 @@
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-mailbox-adapter</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server Mailbox Adapter</name>
 
@@ -63,27 +65,4 @@
         </dependency>
     </dependencies>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
-                            <goal>test-jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
 </project>

Modified: james/server/trunk/mailetcontainer-api/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/mailetcontainer-api/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/mailetcontainer-api/pom.xml (original)
+++ james/server/trunk/mailetcontainer-api/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,7 +17,8 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
@@ -29,19 +30,10 @@
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-mailetcontainer-api</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server Mailetcontainer API</name>
 
-    <properties>
-        <!-- OSGI stuff -->
-        <james.osgi.export>
-            org.apache.james.mailetcontainer.api.*
-        </james.osgi.export>
-        <james.osgi.import>
-            *
-        </james.osgi.import>
-    </properties>
-
     <dependencies>
         <dependency>
             <groupId>org.apache.james</groupId>
@@ -53,27 +45,4 @@
         </dependency>
     </dependencies>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
-                            <goal>test-jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
 </project>

Modified: james/server/trunk/mailetcontainer-camel/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/mailetcontainer-camel/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/mailetcontainer-camel/pom.xml (original)
+++ james/server/trunk/mailetcontainer-camel/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,7 +17,8 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
@@ -29,6 +30,7 @@
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-mailetcontainer-camel</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server Mailetcontainer Camel</name>
 
@@ -131,27 +133,4 @@
         </dependency>
     </dependencies>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
-                            <goal>test-jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
 </project>

Modified: james/server/trunk/mailets/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/mailets/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/mailets/pom.xml (original)
+++ james/server/trunk/mailets/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,7 +17,8 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
@@ -29,24 +30,10 @@
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-mailets</artifactId>
-    <packaging>jar</packaging>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server Mailets</name>
 
-    <properties>
-        <!-- OSGI stuff -->
-        <james.osgi.export>
-            org.apache.james.transport.mailets.*,
-            org.apache.james.transport.matchers.*
-        </james.osgi.export>
-        <!-- Exclude JSPF as dnsjnio is not OSGI ready yet -->
-        <!-- TODO: Contribute a patch for this! -->
-        <james.osgi.import>
-            *,
-            !org.apache.james.jspf.*
-        </james.osgi.import>
-    </properties>
-
     <dependencies>
         <dependency>
             <groupId>org.apache.james</groupId>
@@ -88,12 +75,12 @@
         <dependency>
             <groupId>org.apache.james</groupId>
             <artifactId>apache-jsieve-mailet</artifactId>
-<!--             <exclusions> -->
-<!--                 <exclusion> -->
-<!--                     <artifactId>apache-mime4j</artifactId> -->
-<!--                     <groupId>org.apache.james</groupId> -->
-<!--                 </exclusion> -->
-<!--             </exclusions> -->
+            <!--             <exclusions> -->
+            <!--                 <exclusion> -->
+            <!--                     <artifactId>apache-mime4j</artifactId> -->
+            <!--                     <groupId>org.apache.james</groupId> -->
+            <!--                 </exclusion> -->
+            <!--             </exclusions> -->
         </dependency>
         <dependency>
             <groupId>org.apache.james</groupId>
@@ -131,12 +118,12 @@
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-api</artifactId>
         </dependency>
-<!-- 
-        <dependency>
-            <groupId>org.apache.james</groupId>
-            <artifactId>apache-james-imap-processor</artifactId>
-        </dependency>
- -->
+        <!--
+               <dependency>
+                   <groupId>org.apache.james</groupId>
+                   <artifactId>apache-james-imap-processor</artifactId>
+               </dependency>
+        -->
         <dependency>
             <groupId>org.apache.james</groupId>
             <artifactId>apache-james-mailbox-api</artifactId>
@@ -164,25 +151,6 @@
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
-                            <goal>test-jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
                 <groupId>org.apache.james</groupId>
                 <artifactId>maven-mailetdocs-plugin</artifactId>
                 <version>0.1</version>

Modified: james/server/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/pom.xml (original)
+++ james/server/trunk/pom.xml Sun Dec 30 01:54:30 2012
@@ -111,6 +111,40 @@
         <productName>Apache-James Mail Server</productName>
         <protocols.version>1.6.3-SNAPSHOT</protocols.version>
         <spring.version>3.1.0.RELEASE</spring.version>
+        <geronimo-jms-spec.version>1.0</geronimo-jms-spec.version>
+        <h2.version>1.1.102</h2.version>
+        <apache-jspf-resolver.version>1.0.0</apache-jspf-resolver.version>
+        <mail.version>1.4.4</mail.version>
+        <javax-activation.version>1.1.1</javax-activation.version>
+        <geronimo-activation-spec.version>1.1</geronimo-activation-spec.version>
+        <geronimo-javamail.version>1.8.3</geronimo-javamail.version>
+        <commons-daemon.version>1.0.5</commons-daemon.version>
+        <commons-collections.version>3.2.1</commons-collections.version>
+        <commons-lang.version>2.6</commons-lang.version>
+        <commons-codec.version>1.5</commons-codec.version>
+        <slf4j.version>1.6.1</slf4j.version>
+        <commons-cli.version>1.2</commons-cli.version>
+        <servlet-api.version>2.4</servlet-api.version>
+        <commons-pool.version>1.5.5</commons-pool.version>
+        <commons-configuration.version>1.6</commons-configuration.version>
+        <commons-dbcp.version>1.4</commons-dbcp.version>
+        <commons-net.version>3.0</commons-net.version>
+        <dnsjava.version>2.1.1</dnsjava.version>
+        <junit.version>4.10</junit.version>
+        <jmock.version>1.1.0</jmock.version>
+        <concurrent.version>1.3.4</concurrent.version>
+        <commons-beanutils-core.version>1.8.3</commons-beanutils-core.version>
+        <commons-io.version>2.0.1</commons-io.version>
+        <log4j.version>1.2.16</log4j.version>
+        <openjpa.version>2.2.0</openjpa.version>
+        <geronimo-jpa-spec.version>1.0</geronimo-jpa-spec.version>
+        <jcr.version>2.0</jcr.version>
+        <tika-parsers.version>0.8</tika-parsers.version>
+        <xbean-spring.version>3.6</xbean-spring.version>
+        <netty.version>3.3.1.Final</netty.version>
+        <geronimo-annotation_1.1_spec.version>1.0.1</geronimo-annotation_1.1_spec.version>
+        <spring-osgi-extender.version>1.2.1</spring-osgi-extender.version>
+        <org.osgi.core.version>4.2.0</org.osgi.core.version>
     </properties>
 
     <dependencyManagement>
@@ -243,7 +277,7 @@
             <dependency>
                 <groupId>org.apache.geronimo.specs</groupId>
                 <artifactId>geronimo-jms_1.1_spec</artifactId>
-                <version>1.0</version>
+                <version>${geronimo-jms-spec.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.apache.james</groupId>
@@ -583,14 +617,14 @@
             <dependency>
                 <groupId>com.h2database</groupId>
                 <artifactId>h2</artifactId>
-                <version>1.1.102</version>
+                <version>${h2.version}</version>
                 <scope>test</scope>
             </dependency>
 
             <dependency>
                 <groupId>org.apache.james.jspf</groupId>
                 <artifactId>apache-jspf-resolver</artifactId>
-                <version>1.0.0</version>
+                <version>${apache-jspf-resolver.version}</version>
                 <exclusions>
                     <exclusion>
                         <artifactId>log4j</artifactId>
@@ -637,7 +671,7 @@
             <dependency>
                 <groupId>javax.mail</groupId>
                 <artifactId>mail</artifactId>
-                <version>1.4.4</version>
+                <version>${mail.version}</version>
                 <exclusions>
                     <exclusion>
                         <groupId>javax.activation</groupId>
@@ -648,75 +682,75 @@
             <dependency>
                 <groupId>javax.activation</groupId>
                 <artifactId>activation</artifactId>
-                <version>1.1.1</version>
+                <version>${javax-activation.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.apache.geronimo.specs</groupId>
                 <artifactId>geronimo-activation_1.1_spec</artifactId>
-                <version>1.1</version>
+                <version>${geronimo-activation-spec.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.apache.geronimo.javamail</groupId>
                 <artifactId>geronimo-javamail_1.4_mail</artifactId>
-                <version>1.8.3</version>
+                <version>${geronimo-javamail.version}</version>
             </dependency>
             <dependency>
                 <groupId>commons-daemon</groupId>
                 <artifactId>commons-daemon</artifactId>
-                <version>1.0.5</version>
+                <version>${commons-daemon.version}</version>
             </dependency>
             <dependency>
                 <groupId>commons-collections</groupId>
                 <artifactId>commons-collections</artifactId>
-                <version>3.2.1</version>
+                <version>${commons-collections.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.slf4j</groupId>
                 <artifactId>slf4j-api</artifactId>
-                <version>1.6.1</version>
+                <version>${slf4j.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.slf4j</groupId>
                 <artifactId>slf4j-log4j12</artifactId>
-                <version>1.6.1</version>
+                <version>${slf4j.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.slf4j</groupId>
                 <artifactId>jcl-over-slf4j</artifactId>
-                <version>1.6.1</version>
+                <version>${slf4j.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.slf4j</groupId>
                 <artifactId>slf4j-nop</artifactId>
-                <version>1.6.1</version>
+                <version>${slf4j.version}</version>
                 <scope>test</scope>
             </dependency>
             <dependency>
                 <groupId>commons-lang</groupId>
                 <artifactId>commons-lang</artifactId>
-                <version>2.6</version>
+                <version>${commons-lang.version}</version>
             </dependency>
             <dependency>
                 <groupId>commons-codec</groupId>
                 <artifactId>commons-codec</artifactId>
-                <version>1.5</version>
+                <version>${commons-codec.version}</version>
             </dependency>
             <dependency>
                 <groupId>commons-cli</groupId>
                 <artifactId>commons-cli</artifactId>
-                <version>1.2</version>
+                <version>${commons-cli.version}</version>
             </dependency>
 
             <!-- used by spring deployment -->
             <dependency>
                 <groupId>javax.servlet</groupId>
                 <artifactId>servlet-api</artifactId>
-                <version>2.4</version>
+                <version>${servlet-api.version}</version>
             </dependency>
             <dependency>
                 <groupId>commons-pool</groupId>
                 <artifactId>commons-pool</artifactId>
-                <version>1.5.5</version>
+                <version>${commons-pool.version}</version>
                 <exclusions>
                     <exclusion>
                         <groupId>xerces</groupId>
@@ -735,7 +769,7 @@
             <dependency>
                 <groupId>commons-configuration</groupId>
                 <artifactId>commons-configuration</artifactId>
-                <version>1.6</version>
+                <version>${commons-configuration.version}</version>
                 <exclusions>
                     <exclusion>
                         <artifactId>commons-digester</artifactId>
@@ -751,7 +785,7 @@
             <dependency>
                 <groupId>commons-dbcp</groupId>
                 <artifactId>commons-dbcp</artifactId>
-                <version>1.4</version>
+                <version>${commons-dbcp.version}</version>
                 <exclusions>
                     <exclusion>
                         <artifactId>xercesImpl</artifactId>
@@ -762,38 +796,38 @@
             <dependency>
                 <groupId>commons-net</groupId>
                 <artifactId>commons-net</artifactId>
-                <version>3.0</version>
+                <version>${commons-net.version}</version>
                 <scope>test</scope>
             </dependency>
 
             <dependency>
                 <groupId>dnsjava</groupId>
                 <artifactId>dnsjava</artifactId>
-                <version>2.1.1</version>
+                <version>${dnsjava.version}</version>
             </dependency>
 
             <dependency>
                 <groupId>junit</groupId>
                 <artifactId>junit</artifactId>
-                <version>4.10</version>
+                <version>${junit.version}</version>
                 <scope>test</scope>
             </dependency>
             <dependency>
                 <groupId>jmock</groupId>
                 <artifactId>jmock</artifactId>
-                <version>1.1.0</version>
+                <version>${jmock.version}</version>
                 <scope>test</scope>
             </dependency>
 
             <dependency>
                 <groupId>concurrent</groupId>
                 <artifactId>concurrent</artifactId>
-                <version>1.3.4</version>
+                <version>${concurrent.version}</version>
             </dependency>
             <dependency>
                 <groupId>commons-beanutils</groupId>
                 <artifactId>commons-beanutils-core</artifactId>
-                <version>1.8.3</version>
+                <version>${commons-beanutils-core.version}</version>
                 <scope>runtime</scope>
             </dependency>
             <dependency>
@@ -808,13 +842,13 @@
             <dependency>
                 <groupId>commons-io</groupId>
                 <artifactId>commons-io</artifactId>
-                <version>2.0.1</version>
+                <version>${commons-io.version}</version>
             </dependency>
 
             <dependency>
                 <groupId>log4j</groupId>
                 <artifactId>log4j</artifactId>
-                <version>1.2.16</version>
+                <version>${log4j.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.springframework</groupId>
@@ -892,20 +926,20 @@
             <dependency>
                 <groupId>org.apache.openjpa</groupId>
                 <artifactId>openjpa</artifactId>
-                <version>2.2.0</version>
+                <version>${openjpa.version}</version>
                 <scope>runtime</scope>
             </dependency>
             <dependency>
                 <groupId>org.apache.geronimo.specs</groupId>
                 <artifactId>geronimo-jpa_2.0_spec</artifactId>
-                <version>1.0</version>
+                <version>${geronimo-jpa-spec.version}</version>
             </dependency>
 
 
             <dependency>
                 <groupId>javax.jcr</groupId>
                 <artifactId>jcr</artifactId>
-                <version>2.0</version>
+                <version>${jcr.version}</version>
             </dependency>
 
 
@@ -939,7 +973,7 @@
             <dependency>
                 <groupId>org.apache.tika</groupId>
                 <artifactId>tika-parsers</artifactId>
-                <version>0.8</version>
+                <version>${tika-parsers.version}</version>
                 <exclusions>
                     <exclusion>
                         <groupId>org.apache.pdfbox</groupId>
@@ -1003,7 +1037,7 @@
             <dependency>
                 <groupId>org.apache.xbean</groupId>
                 <artifactId>xbean-spring</artifactId>
-                <version>3.6</version>
+                <version>${xbean-spring.version}</version>
                 <scope>runtime</scope>
                 <exclusions>
                     <exclusion>
@@ -1016,26 +1050,26 @@
             <dependency>
                 <groupId>io.netty</groupId>
                 <artifactId>netty</artifactId>
-                <version>3.3.1.Final</version>
+                <version>${netty.version}</version>
                 <scope>compile</scope>
             </dependency>
             <!-- This needed to let the bundle plugin to generate the right import statement -->
             <dependency>
                 <groupId>org.apache.geronimo.specs</groupId>
                 <artifactId>geronimo-annotation_1.1_spec</artifactId>
-                <version>1.0.1</version>
+                <version>${geronimo-annotation_1.1_spec.version}</version>
             </dependency>
 
             <!-- OSGI dependencies -->
             <dependency>
                 <groupId>org.springframework.osgi</groupId>
                 <artifactId>spring-osgi-extender</artifactId>
-                <version>1.2.1</version>
+                <version>${spring-osgi-extender.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.osgi</groupId>
                 <artifactId>org.osgi.core</artifactId>
-                <version>4.2.0</version>
+                <version>${org.osgi.core.version}</version>
             </dependency>
 
             <!-- HBase/Hadoop dependencies -->
@@ -1062,85 +1096,16 @@
                 <scope>test</scope>
                 <version>${hadoop.version}</version>
             </dependency>
-
         </dependencies>
     </dependencyManagement>
 
-    <repositories>
-
-        <!-- needed for javamail -->
-        <repository>
-            <id>maven2-repository.dev.java.net</id>
-            <name>Java.net Repository for Maven</name>
-            <url>http://download.java.net/maven/2/</url>
-            <layout>default</layout>
-        </repository>
-        <repository>
-            <id>hadoop-non-releases</id>
-            <name>Hadoop non-releases</name>
-            <url>http://people.apache.org/~rawson/repo/</url>
-            <snapshots>
-                <enabled>false</enabled>
-            </snapshots>
-            <releases>
-                <enabled>true</enabled>
-            </releases>
-        </repository>
-    </repositories>
-
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-clean-plugin</artifactId>
-                <configuration>
-                    <filesets>
-                        <fileset>
-                            <!-- just delete the bin directory -->
-                            <directory>bin</directory>
-                            <followSymlinks>false</followSymlinks>
-                        </fileset>
-                    </filesets>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <!-- This configuration is used by all goals -->
-                <configuration>
-                    <archive>
-                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
-                        <manifest>
-                            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
-                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
-                        </manifest>
-                    </archive>
-                </configuration>
-            </plugin>
-            <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
+                <version>2.3.7</version>
                 <extensions>true</extensions>
-                <executions>
-                    <execution>
-                        <id>bundle-manifest</id>
-                        <phase>process-classes</phase>
-                        <goals>
-                            <goal>manifest</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <excludeDependencies>${james.osgi.exclude.dependencies}</excludeDependencies>
-                    <instructions>
-                        <Bundle-Name>${project.artifactId}</Bundle-Name>
-                        <Export-Package>${james.osgi.export}</Export-Package>
-                        <Import-Package>${james.osgi.import}</Import-Package>
-                        <DynamicImport-Package>${james.osgi.dynamic}</DynamicImport-Package>
-                        <Implementation-Title>Apache James Server</Implementation-Title>
-                        <Implementation-Version>${project.version}</Implementation-Version>
-                    </instructions>
-                </configuration>
             </plugin>
         </plugins>
     </build>

Modified: james/server/trunk/protocols/protocols-imap4/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/protocols/protocols-imap4/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/protocols/protocols-imap4/pom.xml (original)
+++ james/server/trunk/protocols/protocols-imap4/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,18 +17,20 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
         <artifactId>james-server</artifactId>
         <groupId>org.apache.james</groupId>
         <version>3.0-beta5-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-protocols-imap4</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server IMAP</name>
 
@@ -51,16 +53,16 @@
             <groupId>org.apache.james</groupId>
             <artifactId>james-server-filesystem-api</artifactId>
         </dependency>
-<!-- 
-        <dependency>
-            <groupId>org.apache.james</groupId>
-            <artifactId>apache-james-imap-api</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.james</groupId>
-            <artifactId>apache-james-imap-message</artifactId>
-        </dependency>
- -->
+        <!--
+               <dependency>
+                   <groupId>org.apache.james</groupId>
+                   <artifactId>apache-james-imap-api</artifactId>
+               </dependency>
+               <dependency>
+                   <groupId>org.apache.james</groupId>
+                   <artifactId>apache-james-imap-message</artifactId>
+               </dependency>
+        -->
 
         <dependency>
             <groupId>org.apache.james.protocols</groupId>
@@ -99,17 +101,9 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
                 <executions>
                     <execution>
                         <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
                             <goal>test-jar</goal>
                         </goals>
                     </execution>

Modified: james/server/trunk/protocols/protocols-library/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/protocols/protocols-library/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/protocols/protocols-library/pom.xml (original)
+++ james/server/trunk/protocols/protocols-library/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,18 +17,20 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
         <artifactId>james-server</artifactId>
         <groupId>org.apache.james</groupId>
         <version>3.0-beta5-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-protocols-library</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server Protocols Library</name>
 
@@ -98,17 +100,9 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
                 <executions>
                     <execution>
                         <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
                             <goal>test-jar</goal>
                         </goals>
                     </execution>

Modified: james/server/trunk/protocols/protocols-lmtp/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/protocols/protocols-lmtp/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/protocols/protocols-lmtp/pom.xml (original)
+++ james/server/trunk/protocols/protocols-lmtp/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,14 +17,15 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
         <artifactId>james-server</artifactId>
         <groupId>org.apache.james</groupId>
         <version>3.0-beta5-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <groupId>org.apache.james</groupId>
@@ -132,17 +133,9 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
                 <executions>
                     <execution>
                         <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
                             <goal>test-jar</goal>
                         </goals>
                     </execution>

Modified: james/server/trunk/protocols/protocols-pop3/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/protocols/protocols-pop3/pom.xml?rev=1426883&r1=1426882&r2=1426883&view=diff
==============================================================================
--- james/server/trunk/protocols/protocols-pop3/pom.xml (original)
+++ james/server/trunk/protocols/protocols-pop3/pom.xml Sun Dec 30 01:54:30 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-15"?>
+<?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
@@ -17,18 +17,20 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
         <artifactId>james-server</artifactId>
         <groupId>org.apache.james</groupId>
         <version>3.0-beta5-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <groupId>org.apache.james</groupId>
     <artifactId>james-server-protocols-pop3</artifactId>
+    <packaging>bundle</packaging>
 
     <name>Apache James Server POP3</name>
 
@@ -142,17 +144,9 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <!--
-                    Inherit configuration from parent pom.
-                -->
                 <executions>
                     <execution>
                         <goals>
-                            <goal>jar</goal>
-                            <!--
-                                Allow tests to be used by other modules.
-                                Parent pom build failure prevents inheritance.
-                            -->
                             <goal>test-jar</goal>
                         </goals>
                     </execution>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org