Resolved issue MIME4J-17. Initialization of custom TempStorage using system propertie...
[mime4j.git] / pom.xml
blob7497ab4a5fe39e71c5594ee2e1ef6d862bdca35e
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <!--
4     Licensed to the Apache Software Foundation (ASF) under one
5     or more contributor license agreements.  See the NOTICE file
6     distributed with this work for additional information
7     regarding copyright ownership.  The ASF licenses this file
8     to you under the Apache License, Version 2.0 (the
9     "License"); you may not use this file except in compliance
10     with the License.  You may obtain a copy of the License at
11   
12       http://www.apache.org/licenses/LICENSE-2.0
13   
14     Unless required by applicable law or agreed to in writing,
15     software distributed under the License is distributed on an
16     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17     KIND, either express or implied.  See the License for the
18     specific language governing permissions and limitations
19     under the License.    
20   -->
21   <parent>
22     <artifactId>james-project</artifactId>
23     <groupId>org.apache.james</groupId>
24     <version>1.1</version>
25     <!-- Either this really points to the james-project/pom.xml or you
26          will have to tune the local repository, later, in this file -->
27     <relativePath>../james-project/project/pom.xml</relativePath>
28   </parent>
29   <modelVersion>4.0.0</modelVersion>
30   <groupId>org.apache.james</groupId>
31   <artifactId>apache-mime4j</artifactId>
32   <name>Apache JAMES Mime4j</name>
33   <version>0.4-SNAPSHOT</version>
34   <description>Java stream based MIME message parser</description>
35   <url>http://james.apache.org/mime4j</url>
36   <issueManagement>
37     <url>http://issues.apache.org/jira/browse/MIME4J</url>
38   </issueManagement>
39   <inceptionYear>2004</inceptionYear>
40   <distributionManagement>
41     <site>
42       <id>mime4j-website</id>
43       <url>scp://minotaur.apache.org/www/james.apache.org/mime4j/</url>
44     </site>
45   </distributionManagement>
46   <scm>
47     <connection>scm:svn:http://svn.apache.org/repos/asf/james/mime4j/trunk</connection>
48     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/james/mime4j/trunk</developerConnection>
49     <url>http://svn.apache.org/viewvc/james/mime4j/trunk/</url>
50   </scm>
51   <build>
52     <plugins>
53       <plugin>
54         <groupId>org.codehaus.mojo</groupId>
55         <artifactId>javacc-maven-plugin</artifactId>
56         <version>2.1</version>
57         <executions>
58           <execution>
59             <id>generate-jjtree</id>
60             <phase>generate-sources</phase>
61             <goals>
62               <goal>jjtree</goal>
63             </goals>
64             <configuration>
65               <!-- <nodePackage>org.apache.jsieve.parser.generated</nodePackage> -->
66               <outputDirectory>${project.build.directory}/generated-sources/jjtree/org/apache/james/mime4j/field/address/parser</outputDirectory>
67             </configuration>
68           </execution>
69           <execution>
70             <id>generate-javacc</id>
71             <phase>generate-sources</phase>
72             <goals>
73               <goal>javacc</goal>
74             </goals>
75             <configuration>
76               <sourceDirectory>${project.build.directory}/generated-sources/jjtree/org/apache/james/mime4j/field/address/parser</sourceDirectory>
77               <packageName>org.apache.james.mime4j.field.address.parser</packageName>
78             </configuration>
79           </execution>
80           <execution>
81             <id>generate-javacc2</id>
82             <phase>generate-sources</phase>
83             <goals>
84               <goal>javacc</goal>
85             </goals>
86             <configuration>
87               <sourceDirectory>${basedir}/src/main/javacc/org/apache/james/mime4j/field/datetime</sourceDirectory>
88               <packageName>org.apache.james.mime4j.field.datetime.parser</packageName>
89             </configuration>
90           </execution>
91           <execution>
92             <id>generate-javacc3</id>
93             <phase>generate-sources</phase>
94             <goals>
95               <goal>javacc</goal>
96             </goals>
97             <configuration>
98               <sourceDirectory>${basedir}/src/main/javacc/org/apache/james/mime4j/field/contenttype</sourceDirectory>
99               <packageName>org.apache.james.mime4j.field.contenttype.parser</packageName>
100             </configuration>
101           </execution>
102         </executions>
103       </plugin>
104       <plugin>
105         <groupId>org.apache.maven.plugins</groupId>
106         <artifactId>maven-compiler-plugin</artifactId>
107         <version>2.0.2</version>
108         <configuration>
109           <source>1.4</source>
110           <target>1.4</target>
111           <encoding>iso8859-1</encoding>
112         </configuration>
113       </plugin>      
114       <plugin>
115         <artifactId>maven-jar-plugin</artifactId>
116         <version>2.1</version>
117         <configuration>
118           <archive>
119             <manifestEntries>
120               <Specification-Title>Apache Mime4j</Specification-Title>
121               <Specification-Version>0.3</Specification-Version>
122               <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
123               <Implementation-Title>Apache Mime4j</Implementation-Title>
124               <Implementation-Version>0.3</Implementation-Version>
125               <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
126               <url>${pom.url}</url>
127             </manifestEntries>
128           </archive>
129         </configuration>
130       </plugin>
131       <plugin>
132         <artifactId>maven-javadoc-plugin</artifactId>
133         <version>2.2</version>
134         <executions>
135           <execution>
136             <id>create-javadocs</id> <!-- this is used for inheritance merges -->
137             <phase>package</phase> <!-- append to the packaging phase. -->
138             <goals>
139               <goal>javadoc</goal> <!-- goals == mojos -->
140               <goal>jar</goal> <!-- goals == mojos -->
141             </goals>
142           </execution>
143         </executions>
144       </plugin>
145       <plugin>
146         <artifactId>maven-assembly-plugin</artifactId>
147         <version>2.2-beta-1</version>
148         <configuration>
149           <descriptorSourceDirectory>${basedir}/src/assemble/</descriptorSourceDirectory>
150         </configuration>
151         <executions>
152           <execution>
153             <id>make-assembly</id> <!-- this is used for inheritance merges -->
154             <phase>package</phase> <!-- append to the packaging phase. -->
155             <goals>
156               <goal>attached</goal> <!-- goals == mojos -->
157             </goals>
158           </execution>
159         </executions>
160       </plugin>
161       <!-- Add NOTICE and LICENSE to generated JAR -->
162       <plugin>
163         <artifactId>maven-remote-resources-plugin</artifactId>
164         <version>1.0-alpha-5</version>
165         <executions>
166           <execution>
167             <goals>
168               <goal>process</goal>
169             </goals>
170             <configuration>
171               <resourceBundles>
172                 <resourceBundle>org.apache:apache-jar-resource-bundle:1.2</resourceBundle>
173               </resourceBundles>
174               <properties>
175                       <!--  <preProjectText>PRE PROCESS TEXT</preProjectText>  -->
176                       <!-- Our src distribution includes also the test dependencies and
177                            maven remote resources doen't take this into account, so we
178                            manualy add the junit disclaimer -->
179                       <postProjectText>
180                         This product includes/uses software, JUnit (http://www.junit.org/),
181 developed by Kent Beck, Erich Gamma, and David Saff
182 License: Common Public License Version 1.0  (http://www.opensource.org/licenses/cpl.php) 
184 This file is automatically generated by dependencies declared in pom.xml
185                       </postProjectText>
186                       <addLicense>true</addLicense>
187               </properties>
188             </configuration>
189           </execution>
190         </executions>
191       </plugin>
192       <!-- Use the assembly or we won't have the LICENSE/NOTICE
193       <plugin>
194         <groupId>org.apache.maven.plugins</groupId>
195         <artifactId>maven-source-plugin</artifactId>
196       </plugin>
197        -->
198       <!--
199       <plugin>
200         <groupId>org.apache.maven.plugins</groupId>
201         <artifactId>maven-javadoc-plugin</artifactId>
202       </plugin>
203       -->
204     </plugins>
205   </build>
206   <repositories>
207     <repository>
208       <id>local-mime4j-stage-repository</id>
209       <name>Local mime4j stage repository</name>
210       <!-- Please note that due to http://jira.codehaus.org/browse/MNG-2896 -->
211       <!-- If you don't have james-project checked out in ../james-project -->
212       <!-- you will have to place your absolute path to the project instead -->
213       <!-- of ${basedir}, or, otherwise, manually install the parent poms -->
214       <!--
215            mvn -fignorepom.xml install:install-file 
216               -Dfile=stage\org.apache.james\poms\james-parent-1.1.pom 
217               -Dpackaging=pom 
218               -DgroupId=org.apache.james 
219               -DartifactId=james-parent 
220               -Dversion=1.1
221            mvn -fignorepom.xml install:install-file 
222               -Dfile=stage\org.apache.james\poms\james-project-1.1.pom 
223               -Dpackaging=pom 
224               -DgroupId=org.apache.james 
225               -DartifactId=james-project 
226               -Dversion=1.1
227        -->
228       <url>file://${basedir}/stage</url>
229       <layout>legacy</layout>
230       <snapshots>
231         <enabled>true</enabled>
232         <checksumPolicy>ignore</checksumPolicy>
233       </snapshots>
234       <releases>
235         <enabled>true</enabled>
236         <checksumPolicy>ignore</checksumPolicy>
237       </releases>
238     </repository>
239   </repositories>
240   <dependencies>
241     <dependency>
242       <groupId>commons-logging</groupId>
243       <artifactId>commons-logging</artifactId>
244       <version>1.1</version>
245       <exclusions>
246         <exclusion>
247           <groupId>javax.servlet</groupId>
248           <artifactId>servlet-api</artifactId>
249         </exclusion>
250         <exclusion>
251           <groupId>logkit</groupId>
252           <artifactId>logkit</artifactId>
253         </exclusion>
254         <exclusion>
255           <groupId>avalon-framework</groupId>
256           <artifactId>avalon-framework</artifactId>
257         </exclusion>
258         <exclusion>
259           <groupId>log4j</groupId>
260           <artifactId>log4j</artifactId>
261         </exclusion>
262       </exclusions>
263     </dependency>
264     <dependency>
265       <groupId>log4j</groupId>
266       <artifactId>log4j</artifactId>
267       <version>1.2.14</version>
268     </dependency>
269     <dependency>
270       <groupId>junit</groupId>
271       <artifactId>junit</artifactId>
272       <version>3.8.1</version>
273       <type>jar</type>
274       <!--  Removed as a workaround for an unidentified M2 bug -->
275       <scope>test</scope>
276       <optional>true</optional>
277     </dependency>
278     <dependency>
279       <groupId>commons-io</groupId>
280       <artifactId>commons-io</artifactId>
281       <version>1.2</version>
282     </dependency>
283   </dependencies>
285   <reporting>
286     <plugins>
287       <plugin>
288         <artifactId>maven-javadoc-plugin</artifactId>
289       </plugin>
290       <plugin>
291         <groupId>org.codehaus.mojo</groupId>
292         <artifactId>jxr-maven-plugin</artifactId>
293       </plugin>
294     </plugins>
295   </reporting>
297 </project>