Upstream changes
[ical4j.git] / pom.xml
blob19d3b185bc2fd16fbc5c743e71aa40caeb5ad101
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         <parent>
4                 <artifactId>modularity-parent</artifactId>
5                 <groupId>net.modularity</groupId>
6                 <version>1.0.8-SNAPSHOT</version>
7         </parent>
8         <modelVersion>4.0.0</modelVersion>
9         <groupId>net.fortuna.ical4j</groupId>
10         <artifactId>ical4j</artifactId>
11         <packaging>bundle</packaging>
12         <name>iCal4j</name>
13         <version>1.0-rc3-SNAPSHOT</version>
14         <description>
15                 A Java library for reading and writing iCalendar (*.ics) files
16         </description>
17         <url>http://ical4j.sourceforge.net</url>
19         <issueManagement>
20                 <system>SourceForge.net</system>
21                 <url>https://sourceforge.net/tracker/?group_id=107024</url>
22         </issueManagement>
23         <inceptionYear>2004</inceptionYear>
24         <licenses>
25                 <license>
26                         <name>iCal4j - License</name>
27                         <url>LICENSE</url>
28                 </license>
29         </licenses>
31         <scm>
32                 <connection>scm:cvs:pserver:anonymous:@ical4j.cvs.sourceforge.net:/cvsroot/ical4j:iCal4j</connection>
33                 <developerConnection>scm:cvs:ext:fortuna@ical4j.cvs.sourceforge.net:/cvsroot/ical4j:iCal4j</developerConnection>
34                 <url>http://ical4j.cvs.sourceforge.net/ical4j/iCal4j</url>
35   </scm>
37         <contributors>
38                 <contributor>
39                         <name>Mike Douglass</name>
40                         <organization>
41                                 Rensselaer Polytechnic Institute
42                         </organization>
43                         <organizationUrl>http://www.rpi.edu</organizationUrl>
44                 </contributor>
45                 <contributor>
46                         <name>Randy Letness</name>
47                         <organization>
48                                 Open Source Applications Foundation
49                         </organization>
50                         <organizationUrl>
51                                 http://www.osafoundation.org
52                         </organizationUrl>
53                 </contributor>
54         </contributors>
56 <!-- 
57         <distributionManagement>
58                 <relocation>
59                         <groupId>net.fortuna.ical4j</groupId>
60                         <artifactId>ical4j</artifactId>
61                         <version>1.0-beta5</version>
62                         <message>
63                                 Updated group id to conform with maven standards
64                         </message>
65                 </relocation>
66         </distributionManagement>
67  -->
69         <build>
70                 <sourceDirectory>source</sourceDirectory>
71                 <resources>
72                         <resource>
73                                 <directory>source</directory>
74                                 <includes>
75                                         <include>**/tz.alias</include>
76                                 </includes>
77                         </resource>
78                         <resource>
79                                 <directory>etc</directory>
80                                 <includes>
81                                         <include>zoneinfo/**</include>
82                                 </includes>
83                                 <excludes>
84                                         <exclude>zoneinfo/zones.h</exclude>
85                                         <exclude>zoneinfo/zones.tab</exclude>
86                                 </excludes>
87                         </resource>
88                         <resource>
89                                 <directory>src/main/resources</directory>
90                                 <filtering>true</filtering>
91                         </resource>
92                 </resources>
94                 <testSourceDirectory>test</testSourceDirectory>
95                 <testResources>
96                         <testResource>
97                                 <directory>test</directory>
98                                 <includes>
99                                         <include>log4j.properties</include>
100                                 </includes>
101                         </testResource>
102                 </testResources>
104                 <plugins>
105                         <plugin>
106                                 <artifactId>maven-compiler-plugin</artifactId>
107                                 <configuration>
108                                         <source>1.4</source>
109                                         <target>1.4</target>
110                                         <testExcludes>
111                                                 <exclude>**/RegexTestHarness.java</exclude>
112                                         </testExcludes>
113                                 </configuration>
114                         </plugin>
116                         <plugin>
117                                 <artifactId>maven-surefire-plugin</artifactId>
118                                 <configuration>
119                                         <!-- 
120                                                 <systemProperties>
121                                                 <property>
122                                                 <name>ical4j.unfolding.relaxed</name>
123                                                 <value>true</value>
124                                                 </property>
125                                                 <property>
126                                                 <name>ical4j.parsing.relaxed</name>
127                                                 <value>true</value>
128                                                 </property>
129                                                 </systemProperties>
130                                         <forkMode>pertest</forkMode>
131                                         -->
132                                         <excludes>
133                                                 <exclude>**/CalendarOutputterTest.java</exclude>
134                                                 <exclude>**/Abstract*.java</exclude>
135                                         </excludes>
136                                 </configuration>
137                         </plugin>
138                         
139                         <plugin>   
140                                 <groupId>org.apache.felix</groupId>
141                                 <artifactId>maven-bundle-plugin</artifactId>
142                                 <extensions>true</extensions>
143                                 <configuration>
144                                         <instructions>
145                                                 <Export-Package>net.fortuna.ical4j.*</Export-Package>
146                                                 <Import-Package>net.fortuna.ical4j.*,org.apache.commons.lang.*,org.apache.commons.logging,*;resolution:=optional</Import-Package>
147                                         </instructions>
148                                 </configuration>
149                         </plugin>
151                         <plugin>
152                                 <groupId>org.apache.maven.plugins</groupId>
153                                 <artifactId>maven-clover-plugin</artifactId>
154                                 <configuration>
155                                         <jdk>1.4</jdk>
156                                 </configuration>
157                                 <executions>
158                                         <execution>
159                                                 <phase>pre-site</phase>
160                                                 <goals>
161                                                         <goal>instrument</goal>
162                                                 </goals>
163                                         </execution>
164                                 </executions>
165                         </plugin>
167                         <plugin>
168                                 <artifactId>maven-assembly-plugin</artifactId>
169                                 <configuration>
170                                         <descriptors>
171                                                 <descriptor>etc/bin-assembly.xml</descriptor>
172                                                 <descriptor>etc/src-assembly.xml</descriptor>
173                                         </descriptors>
174                                 </configuration>
175                                 <executions>
176                                         <execution>
177                                                 <id>make-assembly</id>
178                                                 <phase>site-deploy</phase>
179                                                 <goals>
180                                                         <goal>attached</goal>
181                                                 </goals>
182                                         </execution>
183                                 </executions>
184                         </plugin>
186             <plugin>
187                 <groupId>org.codehaus.groovy.maven</groupId>
188                 <artifactId>gmaven-plugin</artifactId>
189                 <executions>
190                     <execution>
191                         <goals>
192                             <goal>generateStubs</goal>
193                             <goal>compile</goal>
194                             <goal>generateTestStubs</goal>
195                             <goal>testCompile</goal>
196                         </goals>
197                     </execution>
198                 </executions>
199             </plugin>
200                 </plugins>
201         </build>
203         <dependencies>
204                 <dependency>
205                         <groupId>commons-logging</groupId>
206                         <artifactId>commons-logging</artifactId>
207                         <version>1.1.1</version>
208                 </dependency>
209                 <dependency>
210                         <groupId>commons-codec</groupId>
211                         <artifactId>commons-codec</artifactId>
212                         <version>1.3</version>
213                 </dependency>
214                 <dependency>
215                         <groupId>commons-lang</groupId>
216                         <artifactId>commons-lang</artifactId>
217                         <version>2.4</version>
218                 </dependency>
219                 <dependency>
220                         <groupId>junit</groupId>
221                         <artifactId>junit</artifactId>
222                         <version>4.5</version>
223                         <scope>test</scope>
224                 </dependency>
225                 <dependency>
226                         <groupId>commons-io</groupId>
227                         <artifactId>commons-io</artifactId>
228                         <version>1.4</version>
229                         <scope>test</scope>
230                 </dependency>
231         <dependency>
232             <groupId>org.codehaus.groovy.maven.runtime</groupId>
233             <artifactId>gmaven-runtime-1.6</artifactId>
234             <version>1.0-rc-5</version>
235             <scope>provided</scope>
236         </dependency>
237         <dependency>
238                 <groupId>backport-util-concurrent</groupId>
239                 <artifactId>backport-util-concurrent</artifactId>
240                 <version>3.1</version>
241         </dependency>
242         </dependencies>
244         <repositories>
245                 <repository>
246                         <id>modularity-releases</id>
247                         <name>Modularity Maven Repository</name>
248                         <url>http://m2.modularity.net.au/releases</url>
249                         <releases>
250                                 <enabled>true</enabled>
251                         </releases>
252                         <snapshots>
253                                 <enabled>false</enabled>
254                         </snapshots>
255                 </repository>
256                 <repository>
257                         <id>modularity-snapshots</id>
258                         <name>Modularity Snapshot Repository</name>
259                         <url>http://m2.modularity.net.au/snapshots</url>
260                         <releases>
261                                 <enabled>false</enabled>
262                         </releases>
263                         <snapshots>
264                                 <enabled>true</enabled>
265                         </snapshots>
266                 </repository>
267         </repositories>
269         <reporting>
270                 <plugins>
271                         <plugin>
272                                 <groupId>org.apache.maven.plugins</groupId>
273                                 <artifactId>maven-pmd-plugin</artifactId>
274                                 <configuration>
275                                         <linkXref>true</linkXref>
276                                         <targetJdk>1.4</targetJdk>
277                     <rulesets>
278                         <ruleset>http://svn.mnode.org/tools/pmd/mnode_ruleset.xml</ruleset>
279                     </rulesets>
280                                 </configuration>
281                         </plugin>
283             <!-- Override default suppressions.. -->        
284             <plugin>
285                 <groupId>org.apache.maven.plugins</groupId>
286                 <artifactId>maven-checkstyle-plugin</artifactId>
287                 <configuration>
288                    <configLocation>http://svn.mnode.org/tools/checkstyle/mnode_checks.xml</configLocation>
289                    <suppressionsFile>etc/checkstyle-suppressions.xml</suppressionsFile>
290                 </configuration>
291             </plugin>
292                         
293                         <plugin>
294                                 <artifactId>maven-clover-plugin</artifactId>
295                                 <configuration>
296                                         <licenseLocation>
297                                                 etc/clover.license
298                                         </licenseLocation>
299                                 </configuration>
300                         </plugin>
301                         
302                         <plugin>
303                                 <groupId>org.codehaus.mojo</groupId>
304                                 <artifactId>clirr-maven-plugin</artifactId>
305                                 <configuration>
306                                         <minSeverity>info</minSeverity>
307                                         <comparisonVersion>1.0-rc2</comparisonVersion>
308                                 </configuration>
309                         </plugin>
310                         <plugin>
311                                 <groupId>org.apache.maven.plugins</groupId>
312                                 <artifactId>maven-changelog-plugin</artifactId>
313                                 <reportSets>
314                                         <reportSet>
315                                                 <id>changelog</id>
316                                                 <configuration>
317                                                         <type>tag</type>
318                                                         <tags>
319                                                                 <tag implementation="java.lang.String">
320                                                                         ical4j-1_0-rc1
321                                                                 </tag>
322                                                                 <tag implementation="java.lang.String">
323                                                                         ical4j-1_0-rc2
324                                                                 </tag>
325                                                         </tags>
326                                                 </configuration>
327                                                 <reports>
328                                                         <report>changelog</report>
329                                                 </reports>
330                                         </reportSet>
331                                 </reportSets>
332                         </plugin>
333                 </plugins>
334         </reporting>
335 </project>