source: contrib/MailArchiver/sources/vendor/mime4j/apache-mime4j-0.7-SNAPSHOT-20110327.010440-17/pom.xml @ 6785

Revision 6785, 21.7 KB checked in by rafaelraymundo, 12 years ago (diff)

Ticket #2946 - Liberado codigo do MailArchiver?. Documentação na subpasta DOCS.

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3  Licensed to the Apache Software Foundation (ASF) under one
4  or more contributor license agreements.  See the NOTICE file
5  distributed with this work for additional information
6  regarding copyright ownership.  The ASF licenses this file
7  to you under the Apache License, Version 2.0 (the
8  "License"); you may not use this file except in compliance
9  with the License.  You may obtain a copy of the License at
10
11    http://www.apache.org/licenses/LICENSE-2.0
12
13  Unless required by applicable law or agreed to in writing,
14  software distributed under the License is distributed on an
15  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  KIND, either express or implied.  See the License for the
17  specific language governing permissions and limitations
18  under the License.
19-->
20<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">
21  <parent>
22    <artifactId>james-project</artifactId>
23    <groupId>org.apache.james</groupId>
24    <version>1.6</version>
25  </parent>
26  <modelVersion>4.0.0</modelVersion>
27  <groupId>org.apache.james</groupId>
28  <artifactId>apache-mime4j-project</artifactId>
29  <name>Apache JAMES Mime4j Project</name>
30  <version>0.7-SNAPSHOT</version>
31  <description>Java stream based MIME message parser</description>
32
33  <url>http://james.apache.org/mime4j</url>
34  <issueManagement>
35    <url>http://issues.apache.org/jira/browse/MIME4J</url>
36  </issueManagement>
37  <inceptionYear>2004</inceptionYear>
38  <packaging>pom</packaging>
39
40  <prerequisites>
41    <maven>3.0.2</maven>
42  </prerequisites>
43
44  <modules>
45    <module>core</module>
46    <module>dom</module>
47    <module>storage</module>
48    <module>benchmark</module>
49    <module>examples</module>
50    <module>assemble</module>
51  </modules>
52
53  <distributionManagement>
54    <site>
55      <id>mime4j-website</id>
56      <url>scp://people.apache.org/www/james.apache.org/mime4j/</url>
57    </site>
58  </distributionManagement>
59
60  <scm>
61    <connection>scm:svn:http://svn.apache.org/repos/asf/james/mime4j/trunk</connection>
62    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/james/mime4j/trunk</developerConnection>
63    <url>http://svn.apache.org/viewvc/james/mime4j/trunk/</url>
64  </scm>
65
66  <build>
67    <pluginManagement>
68      <plugins>
69         <plugin>
70           <groupId>org.apache.maven.plugins</groupId>
71           <artifactId>maven-clean-plugin</artifactId>
72           <version>2.4.1</version>
73         </plugin>
74         <plugin>
75           <groupId>org.apache.maven.plugins</groupId>
76           <artifactId>maven-resources-plugin</artifactId>
77           <version>2.5</version>
78         </plugin>
79         <plugin>
80           <groupId>org.apache.maven.plugins</groupId>
81           <artifactId>maven-site-plugin</artifactId>
82           <version>3.0-beta-3</version>
83         </plugin>
84         <plugin>
85           <groupId>org.apache.maven.plugins</groupId>
86           <artifactId>maven-surfire-plugin</artifactId>
87           <version>2.7.2</version>
88         </plugin>
89         <plugin>
90           <groupId>org.apache.maven.plugins</groupId>
91           <artifactId>maven-surfire-report-plugin</artifactId>
92           <version>2.7.2</version>
93         </plugin>
94         <plugin>
95           <groupId>org.apache.maven.plugins</groupId>
96           <artifactId>maven-project-info-reports-plugin</artifactId>
97           <version>2.3.1</version>
98         </plugin>
99         <plugin>
100           <groupId>org.apache.rat</groupId>
101           <artifactId>apache-rat-plugin</artifactId>
102           <version>0.7</version>
103         </plugin>
104        <plugin>
105          <groupId>org.apache.maven.plugins</groupId>
106          <artifactId>maven-compiler-plugin</artifactId>
107          <version>2.3.2</version>
108        </plugin>
109        <plugin>
110          <groupId>org.apache.maven.plugins</groupId>
111          <artifactId>maven-jar-plugin</artifactId>
112          <version>2.3.1</version>
113        </plugin>
114        <plugin>
115          <groupId>org.apache.maven.plugins</groupId>
116          <artifactId>maven-javadoc-plugin</artifactId>
117          <version>2.7</version>
118        </plugin>
119        <plugin>
120          <groupId>org.apache.maven.plugins</groupId>
121          <artifactId>maven-remote-resources-plugin</artifactId>
122          <version>1.2</version>
123        </plugin>
124        <plugin>
125          <groupId>org.apache.maven.plugins</groupId>
126          <artifactId>maven-source-plugin</artifactId>
127          <version>2.1.2</version>
128        </plugin>
129        <plugin>
130          <groupId>org.apache.felix</groupId>
131          <artifactId>maven-bundle-plugin</artifactId>
132          <version>2.2.0</version>
133        </plugin>
134        <plugin>
135          <groupId>org.apache.maven.plugins</groupId>
136          <artifactId>maven-doap-plugin</artifactId>
137          <version>1.1</version>
138        </plugin>
139        <plugin>
140          <groupId>org.apache.maven.plugins</groupId>
141          <artifactId>maven-jxr-plugin</artifactId>
142          <version>2.2</version>
143        </plugin>
144        <plugin>
145          <groupId>org.apache.maven.plugins</groupId>
146          <artifactId>maven-surefire-report-plugin</artifactId>
147          <version>2.8</version>
148        </plugin>
149        <plugin>
150          <groupId>org.apache.maven.plugins</groupId>
151          <artifactId>maven-pmd-plugin</artifactId>
152          <version>2.5</version>
153        </plugin>
154        <plugin>
155          <groupId>org.codehaus.mojo</groupId>
156          <artifactId>findbugs-maven-plugin</artifactId>
157          <version>2.3.2</version>
158        </plugin>
159      </plugins>
160    </pluginManagement>
161
162    <plugins>
163      <plugin>
164        <groupId>org.apache.rat</groupId>
165        <artifactId>apache-rat-plugin</artifactId>
166        <inherited>false</inherited>
167        <executions>
168          <execution>
169            <phase>verify</phase>
170            <goals>
171              <goal>check</goal>
172            </goals>
173          </execution>
174        </executions>
175      </plugin>
176      <plugin>
177        <groupId>org.apache.maven.plugins</groupId>
178        <artifactId>maven-compiler-plugin</artifactId>
179        <configuration>
180          <source>${target.jdk}</source>
181          <target>${target.jdk}</target>
182          <encoding>iso8859-1</encoding>
183        </configuration>
184      </plugin>
185      <plugin>
186        <groupId>org.apache.maven.plugins</groupId>
187        <artifactId>maven-jar-plugin</artifactId>
188        <configuration>
189          <archive>
190          <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
191            <manifestEntries>
192              <Specification-Title>Apache Mime4j</Specification-Title>
193              <Specification-Version>${project.version}</Specification-Version>
194              <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
195              <Implementation-Title>Apache Mime4j</Implementation-Title>
196              <Implementation-Version>${project.version}</Implementation-Version>
197              <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
198              <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
199              <url>${project.url}</url>
200            </manifestEntries>
201          </archive>
202        </configuration>
203      </plugin>
204      <plugin>
205        <groupId>org.apache.maven.plugins</groupId>
206        <artifactId>maven-javadoc-plugin</artifactId>
207        <executions>
208          <execution>
209            <id>aggregate</id>
210            <goals>
211              <goal>aggregate</goal>
212            </goals>
213            <phase>site</phase>
214          </execution>
215          <execution>
216            <id>javadoc-jar</id>
217            <phase>package</phase>
218            <goals>
219              <goal>jar</goal>
220            </goals>
221          </execution>
222        </executions>
223        <configuration>
224          <excludePackageNames>org.apache.james.mime4j.field.address.parser:org.apache.james.mime4j.field.contentdisposition.parser:org.apache.james.mime4j.field.contenttype.parser:org.apache.james.mime4j.field.datetime.parser:org.apache.james.mime4j.field.language.parser:org.apache.james.mime4j.field.mimeversion.parser:org.apache.james.mime4j.field.structured.parser</excludePackageNames>
225        </configuration>
226      </plugin>
227      <!-- Add NOTICE and LICENSE to generated JAR -->
228      <plugin>
229        <groupId>org.apache.maven.plugins</groupId>
230        <artifactId>maven-remote-resources-plugin</artifactId>
231        <executions>
232          <execution>
233            <goals>
234              <goal>process</goal>
235            </goals>
236            <configuration>
237              <resourceBundles>
238                <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
239              </resourceBundles>
240              <properties>
241                 <addLicense>true</addLicense>
242              </properties>
243            </configuration>
244          </execution>
245        </executions>
246      </plugin>
247      <plugin>
248         <groupId>org.apache.maven.plugins</groupId>
249         <artifactId>maven-source-plugin</artifactId>
250         <executions>
251            <execution>
252               <id>attach-sources</id>
253               <goals>
254                  <goal>jar</goal>
255               </goals>
256            </execution>
257         </executions>
258      </plugin>
259
260      <plugin>
261         <groupId>org.apache.felix</groupId>
262         <artifactId>maven-bundle-plugin</artifactId>
263         <executions>
264            <execution>
265               <id>bundle-manifest</id>
266               <phase>process-classes</phase>
267               <goals>
268                  <goal>manifest</goal>
269               </goals>
270            </execution>
271         </executions>
272         <extensions>true</extensions>
273         <configuration>
274            <instructions>
275               <Export-Package>org.apache.james.mime4j.*</Export-Package>
276               <Embed-Dependency>*;scope=runtime</Embed-Dependency>
277            </instructions>
278         </configuration>
279      </plugin>
280      <!--
281      <plugin>
282        <groupId>org.apache.maven.plugins</groupId>
283        <artifactId>maven-doap-plugin</artifactId>
284        <configuration>
285         <doapOptions>
286           <programmingLanguage>java</programmingLanguage>
287           <category>mail</category>
288         </doapOptions>
289         <asfExtOptions>
290           <included>true</included>
291           <charter>The mission of the Apache JAMES mime4j project is to create and maintain software libraries related to MIME handling</charter>
292         </asfExtOptions>
293        </configuration>
294        <executions>
295          <execution>
296            <id>package</id>
297            <phase>package</phase>
298            <goals>
299              <goal>generate</goal>
300            </goals>
301          </execution>
302        </executions>
303      </plugin>
304      -->
305
306      <!-- Site generation -->
307      <plugin>
308        <groupId>org.apache.maven.plugins</groupId>
309        <artifactId>maven-site-plugin</artifactId>
310        <executions>
311          <execution>
312            <id>attach-descriptor</id>
313            <goals>
314              <goal>attach-descriptor</goal>
315            </goals>
316            <configuration>
317              <siteDirectory>${basedir}/src/site</siteDirectory>
318              <generateReports>false</generateReports>
319            </configuration>
320          </execution>
321        </executions>
322        <configuration>
323          <siteDirectory>${maven-site-plugin.siteDirectory}</siteDirectory>
324          <generateReports>${maven-site-plugin.generateReports}</generateReports>
325          <reportPlugins>
326            <!-- Order matters. First project-info-reports, second jxr. -->
327            <plugin>
328              <groupId>org.apache.maven.plugins</groupId>
329              <artifactId>maven-project-info-reports-plugin</artifactId>
330              <reports>
331                <report>dependencies</report>
332                <report>dependency-management</report>
333                <report>dependency-convergence</report>
334                <report>distribution-management</report>
335                <report>index</report>
336                <report>license</report>
337                <report>mailing-list</report>
338                <report>modules</report>
339                <report>plugin-management</report>
340                <report>plugins</report>
341                <report>project-team</report>
342                <report>scm</report>
343                <report>summary</report>
344              </reports>
345            </plugin>
346            <plugin>
347              <groupId>org.apache.maven.plugins</groupId>
348              <artifactId>maven-jxr-plugin</artifactId>
349              <configuration>
350                <aggregate>true</aggregate>
351              </configuration>
352            </plugin>
353            <plugin>
354              <groupId>org.apache.maven.plugins</groupId>
355              <artifactId>maven-surefire-report-plugin</artifactId>
356              <configuration>
357                <aggregate>true</aggregate>
358              </configuration>
359            </plugin>
360            <plugin>
361              <groupId>org.apache.rat</groupId>
362              <artifactId>apache-rat-plugin</artifactId>
363              <configuration>
364                <excludes>
365                  <exclude>NOTICE.*</exclude>
366                  <exclude>LICENSE.*</exclude>
367                  <!-- Generated by Maven -->
368                  <exclude>release.properties</exclude>
369                  <exclude>dist/**/*</exclude>
370                  <!-- Eclipse -->
371                  <exclude>**/.*</exclude>
372                  <exclude>.*/**/*</exclude>
373                </excludes>
374              </configuration>
375            </plugin>
376            <plugin>
377              <groupId>org.apache.maven.plugins</groupId>
378              <artifactId>maven-pmd-plugin</artifactId>
379              <configuration>
380                <aggregate>true</aggregate>
381                <targetJdk>${target.jdk}</targetJdk>
382                <rulesets>
383                  <ruleset>/rulesets/basic.xml</ruleset>
384                  <ruleset>/rulesets/unusedcode.xml</ruleset>
385                  <ruleset>/rulesets/imports.xml</ruleset>
386                </rulesets>
387                <format>xml</format>
388                <linkXref>true</linkXref>
389                <sourceEncoding>utf-8</sourceEncoding>
390                <minimumTokens>100</minimumTokens>
391              </configuration>
392            </plugin>
393            <plugin>
394              <groupId>org.apache.maven.plugins</groupId>
395              <artifactId>maven-javadoc-plugin</artifactId>
396              <configuration>
397                <minmemory>256m</minmemory>
398                <maxmemory>1g</maxmemory>
399                <linksource>true</linksource>
400                <tags>
401                  <tag>
402                    <name>note</name>
403                    <placement>a</placement>
404                    <head>NOTE</head>
405                  </tag>
406                  <tag>
407                    <name>todo</name>
408                    <placement>a</placement>
409                    <head>TODO</head>
410                  </tag>
411                  <tag>
412                    <name>warning</name>
413                    <placement>a</placement>
414                    <head>WARNING</head>
415                  </tag>
416                </tags>
417                <source>1.5</source>
418              </configuration>
419              <reportSets>
420                <reportSet>
421                  <reports>
422                    <report>aggregate</report>
423                    <report>test-aggregate</report>
424                  </reports>
425                </reportSet>
426              </reportSets>
427            </plugin>
428            <plugin>
429              <groupId>org.codehaus.mojo</groupId>
430              <artifactId>findbugs-maven-plugin</artifactId>
431              <configuration>
432                <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
433                <xrefTestLocation>${project.reporting.outputDirectory}/../xref-test</xrefTestLocation>
434                <!-- required by dashboard plugin and hudson -->
435                <xmlOutput>true</xmlOutput>
436                <effort>Max</effort>
437                <findbugsXmlOutput>true</findbugsXmlOutput>
438                <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
439              </configuration>
440            </plugin>
441            <!--
442            <plugin>
443              <groupId>org.apache.maven.plugins</groupId>
444              <artifactId>maven-changes-plugin</artifactId>
445              <configuration>
446                <onlyCurrentVersion>true</onlyCurrentVersion>
447                <resolutionIds>Fixed</resolutionIds>
448                <statusIds>Resolved,Closed</statusIds>
449                <columnNames>Type,Key,Summary,Status,Resolution,Fix Version</columnNames>
450              </configuration>
451              <reportSets>
452                <reportSet>
453                  <reports>
454                    <report>jira-report</report>
455                  </reports>
456                </reportSet>
457              </reportSets>
458            </plugin>
459            -->
460          </reportPlugins>
461        </configuration>
462      </plugin>
463    </plugins>
464  </build>
465
466  <dependencyManagement>
467    <dependencies>
468      <dependency>
469        <groupId>commons-logging</groupId>
470        <artifactId>commons-logging</artifactId>
471        <version>1.1.1</version>
472      </dependency>
473      <dependency>
474        <groupId>log4j</groupId>
475        <artifactId>log4j</artifactId>
476        <version>1.2.14</version>
477        <scope>test</scope>
478      </dependency>
479      <dependency>
480        <groupId>junit</groupId>
481        <artifactId>junit</artifactId>
482        <version>3.8.2</version>
483        <type>jar</type>
484        <!--  Removed as a workaround for an unidentified M2 bug -->
485        <scope>test</scope>
486        <optional>true</optional>
487      </dependency>
488      <dependency>
489        <groupId>commons-io</groupId>
490        <artifactId>commons-io</artifactId>
491        <version>1.4</version>
492        <scope>test</scope>
493        <optional>true</optional>
494      </dependency>
495    </dependencies>
496  </dependencyManagement>
497
498<!--
499  <reporting>
500    <plugins>
501      <plugin>
502        <groupId>org.codehaus.mojo</groupId>
503        <artifactId>rat-maven-plugin</artifactId>
504        <version>1.0-alpha-3</version>
505        <inherited>false</inherited>
506        <configuration>
507          <excludes>
508            <!- test resources created by JAMES committers / we can't include ALv2 headers there ->
509            <exclude>core/src/test/resources/testmsgs/*</exclude>
510            <exclude>core/benchmarks/resources/*.msg</exclude>
511            <exclude>release.properties</exclude>
512            <exclude>**/.*/**/*</exclude>
513          </excludes>
514        </configuration>
515      </plugin>
516      <plugin>
517        <groupId>org.apache.maven.plugins</groupId>
518        <artifactId>maven-changes-plugin</artifactId>
519        <version>2.3</version>
520        <configuration>
521            <onlyCurrentVersion>true</onlyCurrentVersion>
522            <resolutionIds>Closed</resolutionIds>
523        </configuration>
524        <reportSets>
525            <reportSet>
526                <reports>
527                    <report>jira-report</report>
528                </reports>
529            </reportSet>
530        </reportSets>
531      </plugin>
532      <plugin>
533        <artifactId>maven-surefire-plugin</artifactId>
534        <version>2.5</version>
535        <configuration>
536          <aggregate>true</aggregate>
537        </configuration>
538      </plugin>
539      <plugin>
540        <artifactId>maven-surefire-report-plugin</artifactId>
541        <version>2.5</version>
542        <configuration>
543          <aggregate>true</aggregate>
544        </configuration>
545      </plugin>
546      <plugin>
547        <artifactId>maven-javadoc-plugin</artifactId>
548        <version>2.6.1</version>
549        <reportSets>
550          <reportSet>
551            <id>non-aggregate</id>
552            <reports>
553              <report>javadoc</report>
554            </reports>
555          </reportSet>
556          <reportSet>
557            <id>aggregate</id>
558            <reports>
559              <report>aggregate</report>
560            </reports>
561          </reportSet>
562        </reportSets>
563      </plugin>
564      <plugin>
565        <groupId>org.apache.maven.plugins</groupId>
566        <artifactId>maven-jxr-plugin</artifactId>
567        <version>2.1</version>
568        <configuration>
569          <aggregate>true</aggregate>
570        </configuration>
571      </plugin>
572      <plugin>
573        <groupId>org.apache.maven.plugins</groupId>
574        <artifactId>maven-pmd-plugin</artifactId>
575        <version>2.4</version>
576        <configuration>
577          <targetJdk>${target.jdk}</targetJdk>
578          <rulesets>
579            <ruleset>/rulesets/basic.xml</ruleset>
580            <ruleset>/rulesets/controversial.xml</ruleset>
581          </rulesets>
582          <format>xml</format>
583          <linkXref>true</linkXref>
584          <sourceEncoding>utf-8</sourceEncoding>
585          <minimumTokens>100</minimumTokens>
586          <aggregate>true</aggregate>
587        </configuration>
588      </plugin>
589      <plugin>
590        <groupId>org.apache.maven.plugins</groupId>
591        <artifactId>maven-site-plugin</artifactId>
592        <version>2.1</version>
593      </plugin>
594      <plugin>
595        <groupId>org.codehaus.mojo</groupId>
596        <artifactId>taglist-maven-plugin</artifactId>
597        <version>2.2</version>
598        <configuration>
599          <aggregate>true</aggregate>
600        </configuration>
601      </plugin>
602      <plugin>
603        <groupId>org.codehaus.mojo</groupId>
604        <artifactId>javacc-maven-plugin</artifactId>
605        <version>2.6</version>
606      </plugin>
607    </plugins>
608  </reporting>
609-->
610
611  <mailingLists>
612    <mailingList>
613            <name>Apache Mime4j Lists</name>
614            <subscribe>mime4j-dev-subscribe@james.apache.org</subscribe>
615            <unsubscribe>mime4j-dev-unsubscribe@james.apache.org</unsubscribe>
616            <post>mime4j-dev@james.apache.org</post>
617            <archive>http://mail-archives.apache.org/mod_mbox/james-mime4j-dev/</archive>
618    </mailingList>
619  </mailingLists>
620
621  <properties>
622    <target.jdk>1.5</target.jdk>
623    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
624  </properties>
625
626</project>
Note: See TracBrowser for help on using the repository browser.