Copying maven2-port to trunk...
[mime4j.git] / pom.xml
blobb6727ead662e3d9cc18de2a1fab9b19abd60e6aa
1 <?xml version="1.0" encoding="ISO-8859-15"?><project>
2   <parent>
3     <artifactId>james-project</artifactId>
4     <groupId>org.apache.james</groupId>
5     <version>1.0-SNAPSHOT</version>
6   </parent>
7   <modelVersion>4.0.0</modelVersion>
8   <groupId>org.apache.james</groupId>
9   <artifactId>james-mime4j</artifactId>
10   <name>Apache James mime4j</name>
11   <version>0.3-SNAPSHOT</version>
12   <description>Java stream based MIME message parser</description>
13   <url>http://james.apache.org/mime4j/index.html</url>
14   <issueManagement>
15     <url>http://sourceforge.net/tracker/?group_id=108895&amp;atid=654176</url>
16   </issueManagement>
17   <inceptionYear>2004</inceptionYear>
18   <developers>
19     <developer>
20       <id>niklas</id>
21       <name>Niklas Therning</name>
22       <email>niklas(at)apache(dot)org</email>
23       <organization>Trillian AB</organization>
24     </developer>
25     <developer>
26       <id>jcheng</id>
27       <name>Joe Cheng</name>
28       <email>code(at)joecheng(dot)com</email>
29       <organization></organization>
30     </developer>
31   </developers>
32   <scm>
33     <connection>scm:svn:http://svn.apache.org/repos/asf/james/mime4j/trunk</connection>
34     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/james/mime4j/trunk</developerConnection>
35     <url>http://svn.apache.org/viewvc/james/mime4j/trunk/</url>
36   </scm>
37   <build>
38     <plugins>
39       <plugin>
40         <groupId>org.codehaus.mojo</groupId>
41         <artifactId>javacc-maven-plugin</artifactId>
42         <executions>
43           <execution>
44             <id>generate-jjtree</id>
45             <phase>generate-sources</phase>
46             <goals>
47               <goal>jjtree</goal>
48             </goals>
49             <configuration>
50               <!-- <nodePackage>org.apache.jsieve.parser.generated</nodePackage> -->
51               <outputDirectory>${project.build.directory}/generated-sources/jjtree/org/mime4j/field/address/parser</outputDirectory>
52             </configuration>
53           </execution>
54           <execution>
55             <id>generate-javacc</id>
56             <phase>generate-sources</phase>
57             <goals>
58               <goal>javacc</goal>
59             </goals>
60             <configuration>
61               <sourceDirectory>${project.build.directory}/generated-sources/jjtree/org/mime4j/field/address/parser</sourceDirectory>
62               <packageName>org.mime4j.field.address.parser</packageName>
63             </configuration>
64           </execution>
65           <execution>
66             <id>generate-javacc2</id>
67             <phase>generate-sources</phase>
68             <goals>
69               <goal>javacc</goal>
70             </goals>
71             <configuration>
72               <sourceDirectory>${basedir}/src/main/javacc/org/mime4j/field/datetime</sourceDirectory>
73               <packageName>org.mime4j.field.datetime.parser</packageName>
74             </configuration>
75           </execution>
76           <execution>
77             <id>generate-javacc3</id>
78             <phase>generate-sources</phase>
79             <goals>
80               <goal>javacc</goal>
81             </goals>
82             <configuration>
83               <sourceDirectory>${basedir}/src/main/javacc/org/mime4j/field/contenttype</sourceDirectory>
84               <packageName>org.mime4j.field.contenttype.parser</packageName>
85             </configuration>
86           </execution>
87         </executions>
88       </plugin>
89       <plugin>
90         <groupId>org.apache.maven.plugins</groupId>
91         <artifactId>maven-compiler-plugin</artifactId>
92         <configuration>
93           <source>1.4</source>
94           <target>1.4</target>
95           <encoding>iso8859-1</encoding>
96         </configuration>
97       </plugin>      
98       <plugin>
99         <artifactId>maven-jar-plugin</artifactId>
100         <configuration>
101           <archive>
102             <manifestEntries>
103               <mode>development</mode>
104               <url>${pom.url}</url>
105             </manifestEntries>
106           </archive>
107         </configuration>
108       </plugin>
109       <plugin>
110         <artifactId>maven-assembly-plugin</artifactId>
111         <configuration>
112           <descriptorRefs>
113             <descriptorRef>bin</descriptorRef>
114             <descriptorRef>src</descriptorRef>
115           </descriptorRefs>
116         </configuration>
117       </plugin>
118     </plugins>
119   </build>
120   <repositories>
121     <repository>
122       <snapshots>
123         <checksumPolicy>ignore</checksumPolicy>
124       </snapshots>
125       <id>bago-dist-m1</id>
126       <name>Temporary Repository</name>
127       <url>http://people.apache.org/~bago/maven/dist-m1</url>
128       <layout>legacy</layout>
129     </repository>
130   </repositories>
131   <dependencies>
132     <dependency>
133       <groupId>commons-logging</groupId>
134       <artifactId>commons-logging</artifactId>
135       <version>1.0.4</version>
136     </dependency>
137     <dependency>
138       <groupId>log4j</groupId>
139       <artifactId>log4j</artifactId>
140       <version>1.2.8</version>
141     </dependency>
142     <dependency>
143       <groupId>junit</groupId>
144       <artifactId>junit</artifactId>
145       <version>3.8.1</version>
146       <scope>test</scope>
147     </dependency>
148     <dependency>
149       <groupId>commons-io</groupId>
150       <artifactId>commons-io</artifactId>
151       <version>1.2</version>
152     </dependency>
153   </dependencies>
154   <reporting>
155     <plugins>
156       <plugin>
157         <artifactId>maven-surefire-plugin</artifactId>
158       </plugin>
159       <plugin>
160         <artifactId>maven-javadoc-plugin</artifactId>
161       </plugin>
162       <plugin>
163         <groupId>org.codehaus.mojo</groupId>
164         <artifactId>jxr-maven-plugin</artifactId>
165       </plugin>
166       <plugin>
167         <artifactId>maven-pmd-plugin</artifactId>
168         <configuration>
169           <targetjdk>1.4</targetjdk>
170           <rulesets>
171             <ruleset>/rulesets/basic.xml</ruleset>
172             <ruleset>/rulesets/controversial.xml</ruleset>
173           </rulesets>
174           <format>xml</format>
175           <linkXref>true</linkXref>
176           <sourceEncoding>utf-8</sourceEncoding>
177           <minimumTokens>100</minimumTokens>
178         </configuration>
179       </plugin>
180       <plugin>
181         <artifactId>maven-site-plugin</artifactId>
182       </plugin>
183     </plugins>
184   </reporting>
185 </project>