source: contrib/MailArchiver/sources/vendor/mime4j/custom/pom.xml @ 6785

Revision 6785, 22.9 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>true</inherited>
167        <executions>
168          <execution>
169            <phase>verify</phase>
170            <goals>
171              <goal>check</goal>
172            </goals>
173            <configuration>
174              <excludes>
175                <exclude>NOTICE.*</exclude>
176                <exclude>LICENSE.*</exclude>
177                <exclude>**/main/resources/long-multipart.msg</exclude>
178                <exclude>**/main/resources/META-INF/services/org.apache.james.mime4j.dom.MessageServiceFactory</exclude>
179                <exclude>**/test/resources/testmsgs/*</exclude>
180                <exclude>**/test/resources/mimetools-testmsgs/*</exclude>
181                <!-- Generated by Maven -->
182                <exclude>release.properties</exclude>
183                <exclude>dist/**/*</exclude>
184                <!-- Eclipse -->
185                <exclude>**/.*</exclude>
186                <exclude>.*/**/*</exclude>
187              </excludes>
188            </configuration>
189          </execution>
190        </executions>
191      </plugin>
192      <plugin>
193        <groupId>org.apache.maven.plugins</groupId>
194        <artifactId>maven-compiler-plugin</artifactId>
195        <configuration>
196          <source>${target.jdk}</source>
197          <target>${target.jdk}</target>
198          <encoding>iso8859-1</encoding>
199        </configuration>
200      </plugin>
201      <plugin>
202        <groupId>org.apache.maven.plugins</groupId>
203        <artifactId>maven-jar-plugin</artifactId>
204        <configuration>
205          <archive>
206          <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
207            <manifestEntries>
208              <Specification-Title>Apache Mime4j</Specification-Title>
209              <Specification-Version>${project.version}</Specification-Version>
210              <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
211              <Implementation-Title>Apache Mime4j</Implementation-Title>
212              <Implementation-Version>${project.version}</Implementation-Version>
213              <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
214              <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
215              <url>${project.url}</url>
216            </manifestEntries>
217          </archive>
218        </configuration>
219      </plugin>
220      <plugin>
221        <groupId>org.apache.maven.plugins</groupId>
222        <artifactId>maven-javadoc-plugin</artifactId>
223        <executions>
224          <execution>
225            <id>aggregate</id>
226            <goals>
227              <goal>aggregate</goal>
228            </goals>
229            <phase>site</phase>
230          </execution>
231          <execution>
232            <id>javadoc-jar</id>
233            <phase>package</phase>
234            <goals>
235              <goal>jar</goal>
236            </goals>
237          </execution>
238        </executions>
239        <configuration>
240          <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>
241        </configuration>
242      </plugin>
243      <!-- Add NOTICE and LICENSE to generated JAR -->
244      <plugin>
245        <groupId>org.apache.maven.plugins</groupId>
246        <artifactId>maven-remote-resources-plugin</artifactId>
247        <executions>
248          <execution>
249            <goals>
250              <goal>process</goal>
251            </goals>
252            <configuration>
253              <resourceBundles>
254                <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
255              </resourceBundles>
256              <properties>
257                 <addLicense>true</addLicense>
258              </properties>
259            </configuration>
260          </execution>
261        </executions>
262      </plugin>
263      <plugin>
264         <groupId>org.apache.maven.plugins</groupId>
265         <artifactId>maven-source-plugin</artifactId>
266         <executions>
267            <execution>
268               <id>attach-sources</id>
269               <goals>
270                  <goal>jar</goal>
271               </goals>
272            </execution>
273         </executions>
274      </plugin>
275
276      <plugin>
277         <groupId>org.apache.felix</groupId>
278         <artifactId>maven-bundle-plugin</artifactId>
279         <executions>
280            <execution>
281               <id>bundle-manifest</id>
282               <phase>process-classes</phase>
283               <goals>
284                  <goal>manifest</goal>
285               </goals>
286            </execution>
287         </executions>
288         <extensions>true</extensions>
289         <configuration>
290            <instructions>
291               <Export-Package>org.apache.james.mime4j.*</Export-Package>
292               <Embed-Dependency>*;scope=runtime</Embed-Dependency>
293            </instructions>
294         </configuration>
295      </plugin>
296      <!--
297      <plugin>
298        <groupId>org.apache.maven.plugins</groupId>
299        <artifactId>maven-doap-plugin</artifactId>
300        <configuration>
301         <doapOptions>
302           <programmingLanguage>java</programmingLanguage>
303           <category>mail</category>
304         </doapOptions>
305         <asfExtOptions>
306           <included>true</included>
307           <charter>The mission of the Apache JAMES mime4j project is to create and maintain software libraries related to MIME handling</charter>
308         </asfExtOptions>
309        </configuration>
310        <executions>
311          <execution>
312            <id>package</id>
313            <phase>package</phase>
314            <goals>
315              <goal>generate</goal>
316            </goals>
317          </execution>
318        </executions>
319      </plugin>
320      -->
321
322      <!-- Site generation -->
323      <plugin>
324        <groupId>org.apache.maven.plugins</groupId>
325        <artifactId>maven-site-plugin</artifactId>
326        <executions>
327          <execution>
328            <id>attach-descriptor</id>
329            <goals>
330              <goal>attach-descriptor</goal>
331            </goals>
332            <configuration>
333              <siteDirectory>${basedir}/src/site</siteDirectory>
334              <generateReports>false</generateReports>
335            </configuration>
336          </execution>
337        </executions>
338        <configuration>
339          <siteDirectory>${maven-site-plugin.siteDirectory}</siteDirectory>
340          <generateReports>${maven-site-plugin.generateReports}</generateReports>
341          <reportPlugins>
342            <!-- Order matters. First project-info-reports, second jxr. -->
343            <plugin>
344              <groupId>org.apache.maven.plugins</groupId>
345              <artifactId>maven-project-info-reports-plugin</artifactId>
346              <reports>
347                <report>dependencies</report>
348                <report>dependency-management</report>
349                <report>dependency-convergence</report>
350                <report>distribution-management</report>
351                <report>index</report>
352                <report>license</report>
353                <report>mailing-list</report>
354                <report>modules</report>
355                <report>plugin-management</report>
356                <report>plugins</report>
357                <report>project-team</report>
358                <report>scm</report>
359                <report>summary</report>
360              </reports>
361            </plugin>
362            <plugin>
363              <groupId>org.apache.maven.plugins</groupId>
364              <artifactId>maven-jxr-plugin</artifactId>
365              <configuration>
366                <aggregate>true</aggregate>
367              </configuration>
368            </plugin>
369            <plugin>
370              <groupId>org.apache.maven.plugins</groupId>
371              <artifactId>maven-surefire-report-plugin</artifactId>
372              <configuration>
373                <aggregate>true</aggregate>
374              </configuration>
375            </plugin>
376            <plugin>
377              <groupId>org.apache.rat</groupId>
378              <artifactId>apache-rat-plugin</artifactId>
379              <configuration>
380                <excludes>
381                  <exclude>NOTICE.*</exclude>
382                  <exclude>LICENSE.*</exclude>
383                  <exclude>**/main/resources/long-multipart.msg</exclude>
384                  <exclude>**/main/resources/META-INF/services/org.apache.james.mime4j.dom.MessageServiceFactory</exclude>
385                  <exclude>**/test/resources/testmsgs/*</exclude>
386                  <exclude>**/test/resources/mimetools-testmsgs/*</exclude>
387                  <!-- Generated by Maven -->
388                  <exclude>release.properties</exclude>
389                  <exclude>dist/**/*</exclude>
390                  <!-- Eclipse -->
391                  <exclude>**/.*</exclude>
392                  <exclude>.*/**/*</exclude>
393                </excludes>
394              </configuration>
395            </plugin>
396            <plugin>
397              <groupId>org.apache.maven.plugins</groupId>
398              <artifactId>maven-pmd-plugin</artifactId>
399              <configuration>
400                <aggregate>true</aggregate>
401                <targetJdk>${target.jdk}</targetJdk>
402                <rulesets>
403                  <ruleset>/rulesets/basic.xml</ruleset>
404                  <ruleset>/rulesets/unusedcode.xml</ruleset>
405                  <ruleset>/rulesets/imports.xml</ruleset>
406                </rulesets>
407                <format>xml</format>
408                <linkXref>true</linkXref>
409                <sourceEncoding>utf-8</sourceEncoding>
410                <minimumTokens>100</minimumTokens>
411              </configuration>
412            </plugin>
413            <plugin>
414              <groupId>org.apache.maven.plugins</groupId>
415              <artifactId>maven-javadoc-plugin</artifactId>
416              <configuration>
417                <minmemory>256m</minmemory>
418                <maxmemory>1g</maxmemory>
419                <linksource>true</linksource>
420                <tags>
421                  <tag>
422                    <name>note</name>
423                    <placement>a</placement>
424                    <head>NOTE</head>
425                  </tag>
426                  <tag>
427                    <name>todo</name>
428                    <placement>a</placement>
429                    <head>TODO</head>
430                  </tag>
431                  <tag>
432                    <name>warning</name>
433                    <placement>a</placement>
434                    <head>WARNING</head>
435                  </tag>
436                </tags>
437                <source>1.5</source>
438              </configuration>
439              <reportSets>
440                <reportSet>
441                  <reports>
442                    <report>aggregate</report>
443                    <report>test-aggregate</report>
444                  </reports>
445                </reportSet>
446              </reportSets>
447            </plugin>
448            <plugin>
449              <groupId>org.codehaus.mojo</groupId>
450              <artifactId>findbugs-maven-plugin</artifactId>
451              <configuration>
452                <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
453                <xrefTestLocation>${project.reporting.outputDirectory}/../xref-test</xrefTestLocation>
454                <!-- required by dashboard plugin and hudson -->
455                <xmlOutput>true</xmlOutput>
456                <effort>Max</effort>
457                <findbugsXmlOutput>true</findbugsXmlOutput>
458                <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
459              </configuration>
460            </plugin>
461            <!--
462            <plugin>
463              <groupId>org.apache.maven.plugins</groupId>
464              <artifactId>maven-changes-plugin</artifactId>
465              <configuration>
466                <onlyCurrentVersion>true</onlyCurrentVersion>
467                <resolutionIds>Fixed</resolutionIds>
468                <statusIds>Resolved,Closed</statusIds>
469                <columnNames>Type,Key,Summary,Status,Resolution,Fix Version</columnNames>
470              </configuration>
471              <reportSets>
472                <reportSet>
473                  <reports>
474                    <report>jira-report</report>
475                  </reports>
476                </reportSet>
477              </reportSets>
478            </plugin>
479            -->
480          </reportPlugins>
481        </configuration>
482      </plugin>
483    </plugins>
484  </build>
485
486  <dependencyManagement>
487    <dependencies>
488      <dependency>
489        <groupId>commons-logging</groupId>
490        <artifactId>commons-logging</artifactId>
491        <version>1.1.1</version>
492      </dependency>
493      <dependency>
494        <groupId>log4j</groupId>
495        <artifactId>log4j</artifactId>
496        <version>1.2.14</version>
497        <scope>test</scope>
498      </dependency>
499      <dependency>
500        <groupId>junit</groupId>
501        <artifactId>junit</artifactId>
502        <version>3.8.2</version>
503        <type>jar</type>
504        <!--  Removed as a workaround for an unidentified M2 bug -->
505        <scope>test</scope>
506        <optional>true</optional>
507      </dependency>
508      <dependency>
509        <groupId>commons-io</groupId>
510        <artifactId>commons-io</artifactId>
511        <version>1.4</version>
512        <scope>test</scope>
513        <optional>true</optional>
514      </dependency>
515    </dependencies>
516  </dependencyManagement>
517
518<!--
519  <reporting>
520    <plugins>
521      <plugin>
522        <groupId>org.codehaus.mojo</groupId>
523        <artifactId>rat-maven-plugin</artifactId>
524        <version>1.0-alpha-3</version>
525        <inherited>false</inherited>
526        <configuration>
527          <excludes>
528            <!- test resources created by JAMES committers / we can't include ALv2 headers there ->
529            <exclude>core/src/test/resources/testmsgs/*</exclude>
530            <exclude>core/src/test/resources/mimetools-testmsgs/*</exclude>
531            <exclude>core/benchmarks/resources/*.msg</exclude>
532            <exclude>release.properties</exclude>
533            <exclude>**/.*/**/*</exclude>
534          </excludes>
535        </configuration>
536      </plugin>
537      <plugin>
538        <groupId>org.apache.maven.plugins</groupId>
539        <artifactId>maven-changes-plugin</artifactId>
540        <version>2.3</version>
541        <configuration>
542            <onlyCurrentVersion>true</onlyCurrentVersion>
543            <resolutionIds>Closed</resolutionIds>
544        </configuration>
545        <reportSets>
546            <reportSet>
547                <reports>
548                    <report>jira-report</report>
549                </reports>
550            </reportSet>
551        </reportSets>
552      </plugin>
553      <plugin>
554        <artifactId>maven-surefire-plugin</artifactId>
555        <version>2.5</version>
556        <configuration>
557          <aggregate>true</aggregate>
558        </configuration>
559      </plugin>
560      <plugin>
561        <artifactId>maven-surefire-report-plugin</artifactId>
562        <version>2.5</version>
563        <configuration>
564          <aggregate>true</aggregate>
565        </configuration>
566      </plugin>
567      <plugin>
568        <artifactId>maven-javadoc-plugin</artifactId>
569        <version>2.6.1</version>
570        <reportSets>
571          <reportSet>
572            <id>non-aggregate</id>
573            <reports>
574              <report>javadoc</report>
575            </reports>
576          </reportSet>
577          <reportSet>
578            <id>aggregate</id>
579            <reports>
580              <report>aggregate</report>
581            </reports>
582          </reportSet>
583        </reportSets>
584      </plugin>
585      <plugin>
586        <groupId>org.apache.maven.plugins</groupId>
587        <artifactId>maven-jxr-plugin</artifactId>
588        <version>2.1</version>
589        <configuration>
590          <aggregate>true</aggregate>
591        </configuration>
592      </plugin>
593      <plugin>
594        <groupId>org.apache.maven.plugins</groupId>
595        <artifactId>maven-pmd-plugin</artifactId>
596        <version>2.4</version>
597        <configuration>
598          <targetJdk>${target.jdk}</targetJdk>
599          <rulesets>
600            <ruleset>/rulesets/basic.xml</ruleset>
601            <ruleset>/rulesets/controversial.xml</ruleset>
602          </rulesets>
603          <format>xml</format>
604          <linkXref>true</linkXref>
605          <sourceEncoding>utf-8</sourceEncoding>
606          <minimumTokens>100</minimumTokens>
607          <aggregate>true</aggregate>
608        </configuration>
609      </plugin>
610      <plugin>
611        <groupId>org.apache.maven.plugins</groupId>
612        <artifactId>maven-site-plugin</artifactId>
613        <version>2.1</version>
614      </plugin>
615      <plugin>
616        <groupId>org.codehaus.mojo</groupId>
617        <artifactId>taglist-maven-plugin</artifactId>
618        <version>2.2</version>
619        <configuration>
620          <aggregate>true</aggregate>
621        </configuration>
622      </plugin>
623      <plugin>
624        <groupId>org.codehaus.mojo</groupId>
625        <artifactId>javacc-maven-plugin</artifactId>
626        <version>2.6</version>
627      </plugin>
628    </plugins>
629  </reporting>
630-->
631
632  <mailingLists>
633    <mailingList>
634            <name>Apache Mime4j Lists</name>
635            <subscribe>mime4j-dev-subscribe@james.apache.org</subscribe>
636            <unsubscribe>mime4j-dev-unsubscribe@james.apache.org</unsubscribe>
637            <post>mime4j-dev@james.apache.org</post>
638            <archive>http://mail-archives.apache.org/mod_mbox/james-mime4j-dev/</archive>
639    </mailingList>
640  </mailingLists>
641
642  <properties>
643    <target.jdk>1.5</target.jdk>
644    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
645  </properties>
646
647</project>
Note: See TracBrowser for help on using the repository browser.