You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mime4j-dev@james.apache.org by ol...@apache.org on 2011/01/27 22:55:36 UTC

svn commit: r1064324 - in /james/mime4j/trunk: ./ benchmark/ dom/src/main/java/org/apache/james/mime4j/storage/ dom/src/test/java/org/apache/james/mime4j/storage/ examples/ storage/ storage/src/ storage/src/main/ storage/src/main/java/ storage/src/main...

Author: olegk
Date: Thu Jan 27 21:55:35 2011
New Revision: 1064324

URL: http://svn.apache.org/viewvc?rev=1064324&view=rev
Log:
Moved storage classes to a separate module

Added:
    james/mime4j/trunk/storage/
    james/mime4j/trunk/storage/pom.xml   (with props)
    james/mime4j/trunk/storage/src/
    james/mime4j/trunk/storage/src/main/
    james/mime4j/trunk/storage/src/main/java/
    james/mime4j/trunk/storage/src/main/java/org/
    james/mime4j/trunk/storage/src/main/java/org/apache/
    james/mime4j/trunk/storage/src/main/java/org/apache/james/
    james/mime4j/trunk/storage/src/main/java/org/apache/james/mime4j/
    james/mime4j/trunk/storage/src/main/java/org/apache/james/mime4j/storage/
      - copied from r1064320, james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/storage/
    james/mime4j/trunk/storage/src/test/
    james/mime4j/trunk/storage/src/test/java/
    james/mime4j/trunk/storage/src/test/java/org/
    james/mime4j/trunk/storage/src/test/java/org/apache/
    james/mime4j/trunk/storage/src/test/java/org/apache/james/
    james/mime4j/trunk/storage/src/test/java/org/apache/james/mime4j/
    james/mime4j/trunk/storage/src/test/java/org/apache/james/mime4j/storage/
      - copied from r1064320, james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/storage/
Removed:
    james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/storage/
    james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/storage/
Modified:
    james/mime4j/trunk/benchmark/pom.xml
    james/mime4j/trunk/examples/pom.xml
    james/mime4j/trunk/pom.xml

Modified: james/mime4j/trunk/benchmark/pom.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/benchmark/pom.xml?rev=1064324&r1=1064323&r2=1064324&view=diff
==============================================================================
--- james/mime4j/trunk/benchmark/pom.xml (original)
+++ james/mime4j/trunk/benchmark/pom.xml Thu Jan 27 21:55:35 2011
@@ -8,15 +8,15 @@
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
     with the License.  You may obtain a copy of the License at
-  
+
       http://www.apache.org/licenses/LICENSE-2.0
-  
+
     Unless required by applicable law or agreed to in writing,
     software distributed under the License is distributed on an
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
-    under the License.    
+    under the License.
   -->
   <parent>
     <artifactId>apache-mime4j-project</artifactId>
@@ -39,6 +39,11 @@
       <version>${project.version}</version>
     </dependency>
     <dependency>
+      <groupId>org.apache.james</groupId>
+      <artifactId>apache-mime4j-storage</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
       <groupId>commons-logging</groupId>
       <artifactId>commons-logging</artifactId>
     </dependency>

Modified: james/mime4j/trunk/examples/pom.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/examples/pom.xml?rev=1064324&r1=1064323&r2=1064324&view=diff
==============================================================================
--- james/mime4j/trunk/examples/pom.xml (original)
+++ james/mime4j/trunk/examples/pom.xml Thu Jan 27 21:55:35 2011
@@ -39,6 +39,11 @@
       <version>${project.version}</version>
     </dependency>
     <dependency>
+      <groupId>org.apache.james</groupId>
+      <artifactId>apache-mime4j-storage</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
       <groupId>commons-logging</groupId>
       <artifactId>commons-logging</artifactId>
       <scope>compile</scope>

Modified: james/mime4j/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/pom.xml?rev=1064324&r1=1064323&r2=1064324&view=diff
==============================================================================
--- james/mime4j/trunk/pom.xml (original)
+++ james/mime4j/trunk/pom.xml Thu Jan 27 21:55:35 2011
@@ -8,15 +8,15 @@
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
     with the License.  You may obtain a copy of the License at
-  
+
       http://www.apache.org/licenses/LICENSE-2.0
-  
+
     Unless required by applicable law or agreed to in writing,
     software distributed under the License is distributed on an
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
-    under the License.    
+    under the License.
   -->
   <parent>
     <artifactId>james-project</artifactId>
@@ -29,22 +29,23 @@
   <name>Apache JAMES Mime4j Project</name>
   <version>0.7-SNAPSHOT</version>
   <description>Java stream based MIME message parser</description>
-  
+
   <url>http://james.apache.org/mime4j</url>
   <issueManagement>
     <url>http://issues.apache.org/jira/browse/MIME4J</url>
   </issueManagement>
   <inceptionYear>2004</inceptionYear>
   <packaging>pom</packaging>
-  
+
   <modules>
     <module>core</module>
     <module>dom</module>
+    <module>storage</module>
     <module>benchmark</module>
     <module>examples</module>
     <module>assemble</module>
   </modules>
-    
+
   <distributionManagement>
     <site>
       <id>mime4j-website</id>
@@ -56,7 +57,7 @@
     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/james/mime4j/trunk</developerConnection>
     <url>http://svn.apache.org/viewvc/james/mime4j/trunk/</url>
   </scm>
-  
+
   <build>
     <pluginManagement>
       <plugins>
@@ -78,7 +79,7 @@
          </plugin>
       </plugins>
     </pluginManagement>
-  
+
     <plugins>
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
@@ -103,7 +104,7 @@
           <target>${compileSource}</target>
           <encoding>iso8859-1</encoding>
         </configuration>
-      </plugin>      
+      </plugin>
       <plugin>
         <artifactId>maven-jar-plugin</artifactId>
         <version>2.3</version>
@@ -227,8 +228,8 @@
       </plugin>
     </plugins>
   </build>
-  
-  <dependencyManagement> 
+
+  <dependencyManagement>
     <dependencies>
       <dependency>
         <groupId>commons-logging</groupId>
@@ -258,8 +259,8 @@
         <optional>true</optional>
       </dependency>
     </dependencies>
-  </dependencyManagement> 
-    
+  </dependencyManagement>
+
   <reporting>
     <plugins>
       <plugin>
@@ -306,7 +307,7 @@
         <configuration>
           <aggregate>true</aggregate>
         </configuration>
-      </plugin> 
+      </plugin>
       <plugin>
         <artifactId>maven-javadoc-plugin</artifactId>
         <version>2.6.1</version>
@@ -370,8 +371,8 @@
       </plugin>
     </plugins>
   </reporting>
-  
-  
+
+
   <mailingLists>
     <mailingList>
             <name>Apache Mime4j Lists</name>
@@ -381,10 +382,10 @@
             <archive>http://mail-archives.apache.org/mod_mbox/james-mime4j-dev/</archive>
     </mailingList>
   </mailingLists>
-  
+
   <properties>
     <compileSource>1.5</compileSource>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   </properties>
-  
+
 </project>

Added: james/mime4j/trunk/storage/pom.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/storage/pom.xml?rev=1064324&view=auto
==============================================================================
--- james/mime4j/trunk/storage/pom.xml (added)
+++ james/mime4j/trunk/storage/pom.xml Thu Jan 27 21:55:35 2011
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+  <!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+  -->
+  <parent>
+    <artifactId>apache-mime4j-project</artifactId>
+    <groupId>org.apache.james</groupId>
+    <version>0.7-SNAPSHOT</version>
+    <!-- Inherit from project -->
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.james</groupId>
+  <artifactId>apache-mime4j-storage</artifactId>
+  <name>Apache JAMES Mime4j (Storage)</name>
+  <version>0.7-SNAPSHOT</version>
+  <description>Java MIME Document Object Model Storage</description>
+
+  <build>
+    <plugins>
+     <plugin>
+       <groupId>org.apache.maven.plugins</groupId>
+       <artifactId>maven-jar-plugin</artifactId>
+       <executions>
+         <execution>
+           <goals>
+             <goal>test-jar</goal>
+           </goals>
+         </execution>
+       </executions>
+     </plugin>
+    </plugins>
+  </build>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.james</groupId>
+      <artifactId>apache-mime4j-dom</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <type>jar</type>
+      <!--  Removed as a workaround for an unidentified M2 bug -->
+      <scope>test</scope>
+      <optional>true</optional>
+    </dependency>
+  </dependencies>
+</project>

Propchange: james/mime4j/trunk/storage/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/mime4j/trunk/storage/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: james/mime4j/trunk/storage/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml