Check if photo is null
[funambol-groupdav-connector.git] / pom.xml
bloba5eec2ef892d28407165dae091066b0f917a9cf3
1 <?xml version="1.0" encoding="UTF-8"?>\r
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">\r
3     <modelVersion>4.0.0</modelVersion>\r
4     <groupId>bmessage</groupId>\r
5     <artifactId>funambol-groupdav-connector</artifactId>\r
6     <packaging>jar</packaging>\r
7     <version>2.5</version>\r
8     <name>Funambol GroupDAV Connector</name>\r
9     <url>http://bionicmessage.net</url>\r
10     <repositories>\r
11         <repository>\r
12             <id>modularity-snapshots</id>\r
13             <name>Modularity Snapshots Repository</name>\r
14             <url>http://m2.modularity.net.au/snapshots</url>\r
15             <releases>\r
16               <enabled>false</enabled>\r
17             </releases>\r
18             <snapshots>\r
19             </snapshots>\r
20         </repository>\r
21                 <!-- TODO: Merge the two below into one. Note that the releases\r
22                         contains dependency artifacts so we can't just bunch them right now -->\r
23         <repository>\r
24             <id>bionicmessage</id>\r
25             <name>bionicmessage releases and dependencies</name>\r
26             <url>http://latest.bionicmessage.net/maven-repo</url>\r
27             <releases>\r
28             </releases>\r
29             <snapshots>\r
30             </snapshots>\r
31         </repository>\r
32         <repository>\r
33             <id>bmessage-snapshots</id>\r
34             <name>bionicmessage snapshots</name>\r
35             <url>http://latest.bionicmessage.net/maven-snapshots-repo/</url>\r
36             <releases />\r
37             <snapshots />\r
38         </repository>\r
39         <repository>\r
40             <id>funambol</id>\r
41             <name>Funambol releases and snapshots</name>\r
42             <url>http://m2.funambol.org/repositories/artifacts/</url>\r
43             <releases>\r
44             </releases>\r
45             <snapshots />\r
46         </repository>\r
47     </repositories>\r
48     <dependencies>\r
49         <dependency>\r
50             <groupId>junit</groupId>\r
51             <artifactId>junit</artifactId>\r
52             <version>4.4</version>\r
53             <scope>test</scope>\r
54         </dependency>\r
55         <dependency>\r
56             <groupId>net.fortuna.ical4j</groupId>\r
57             <artifactId>ical4j</artifactId>\r
58             <version>1.0-rc1-SNAPSHOT</version>\r
59         </dependency>\r
60         <dependency>\r
61             <groupId>bmessage</groupId>\r
62             <artifactId>jgroupdav</artifactId>\r
63             <version>2.0-SNAPSHOT</version>\r
64         </dependency>\r
65         <!-- <dependency>\r
66             <groupId>com.h2database</groupId>\r
67             <artifactId>h2</artifactId>\r
68             <version>1.1.100</version>\r
69         </dependency> -->\r
70         <dependency>\r
71             <groupId>log4j</groupId>\r
72             <artifactId>log4j</artifactId>\r
73             <version>1.2.5</version>\r
74             <scope>compile</scope>\r
75         </dependency>\r
76         <dependency>\r
77             <groupId>funambol</groupId>\r
78             <artifactId>core-framework</artifactId>\r
79             <version>8.5.0</version>\r
80         </dependency>\r
81         <dependency>\r
82             <groupId>funambol</groupId>\r
83             <artifactId>pim-framework</artifactId>\r
84             <version>8.5.1</version>\r
85         </dependency>\r
86         <dependency>\r
87             <groupId>funambol</groupId>\r
88             <artifactId>server-framework</artifactId>\r
89             <version>8.5.1</version>\r
90         </dependency>\r
91         <dependency>\r
92             <groupId>funambol</groupId>\r
93             <artifactId>admin-framework</artifactId>\r
94             <version>8.5.1</version>\r
95         </dependency>\r
96     </dependencies>\r
97     <build>\r
98         <plugins>\r
99             <plugin>\r
100                 <groupId>org.apache.maven.plugins</groupId>\r
101                 <artifactId>maven-compiler-plugin</artifactId>\r
102                 <configuration>\r
103                     <source>1.5</source>\r
104                     <target>1.5</target>\r
105                 </configuration>\r
106             </plugin>\r
107             <plugin>\r
108                 <artifactId>maven-antrun-plugin</artifactId>\r
109                 <executions>\r
110                     <execution>\r
111                         <phase>package</phase>\r
112                         <configuration>\r
113                             <tasks>\r
114                               <copy todir="target/funambol/config" preservelastmodified="true">\r
115                                 <fileset dir="src/config"></fileset>\r
116                               </copy>\r
117                                 <copy todir="target/funambol/sql" preservelastmodified="true">\r
118                                     <fileset dir="src/sql"></fileset>\r
119                                 </copy>\r
120                                 <copy todir="target/funambol/lib" file="target/funambol-groupdav-connector-2.5.jar"></copy>\r
121                                 <copy todir="target/funambol/lib">\r
122                                     <fileset dir="target/dependency"></fileset>\r
123                                 </copy>\r
124                                 <jar jarfile="target/groupdav-2.5.s4j" compress="true" update="true">\r
125                                     <fileset dir="target/funambol">\r
126                                         <include name="**/*"></include>\r
127                                     </fileset>\r
128                                 </jar>\r
129                                 <copy todir="target/funambol/install">\r
130                                     <fileset dir="src/install"></fileset>\r
131                                 </copy>\r
132                             </tasks>\r
133                         </configuration>\r
134                         <goals>\r
135                             <goal>run</goal>\r
136                         </goals>\r
137                     </execution>\r
138                     <execution>\r
139                         <id>mkdir-s4j-struct</id>\r
140                         <phase>process-resources</phase>\r
141                         <configuration>\r
142                             <tasks>\r
143                                 <mkdir dir="target/funambol"></mkdir>\r
144                                 <mkdir dir="target/funambol/sql"></mkdir>\r
145                                 <mkdir dir="target/funambol/lib"></mkdir>\r
146                                 <mkdir dir="target/funambol/config"></mkdir>\r
147                                 <mkdir dir="target/funambol/install"></mkdir>\r
148                             </tasks>\r
149                         </configuration>\r
150                     </execution>\r
151                 </executions>\r
152             </plugin>\r
153             <plugin>\r
154                 <groupId>org.apache.maven.plugins</groupId>\r
155                 <artifactId>maven-dependency-plugin</artifactId>\r
156                 <executions>\r
157                     <execution>\r
158                         <id>copy</id>\r
159                         <phase>process-resources</phase>\r
160                         <goals>\r
161                             <goal>copy</goal>\r
162                         </goals>\r
163                         <configuration>\r
164                             <artifactItems>\r
165                                 <artifactItem>\r
166                                     <groupId>net.fortuna.ical4j</groupId>\r
167                                     <artifactId>ical4j</artifactId>\r
168                                     <version>1.0-rc1-SNAPSHOT</version>\r
169                                     <type>jar</type>\r
170                                     <overWrite>false</overWrite>\r
171                                 </artifactItem>\r
172                                 <artifactItem>\r
173                                     <groupId>bmessage</groupId>\r
174                                     <artifactId>jgroupdav</artifactId>\r
175                                     <version>2.0-SNAPSHOT</version>\r
176                                 </artifactItem>\r
177                                 <artifactItem>\r
178                                     <groupId>com.h2database</groupId>\r
179                                     <artifactId>h2</artifactId>\r
180                                     <version>1.2.127</version>\r
181                                 </artifactItem>\r
182                                 <artifactItem>\r
183                                     <groupId>org.apache.httpcomponents</groupId>\r
184                                     <artifactId>httpcore</artifactId>\r
185                                     <version>4.1-alpha1</version>\r
186                                 </artifactItem>\r
187                                 <artifactItem>\r
188                                     <groupId>org.apache.httpcomponents</groupId>\r
189                                     <artifactId>httpclient</artifactId>\r
190                                     <version>4.1-alpha1</version>\r
191                                 </artifactItem>\r
192                             </artifactItems>\r
193                             <overWriteReleases>false</overWriteReleases>\r
194                             <overWriteSnapshots>true</overWriteSnapshots>\r
195                         </configuration>\r
196                     </execution>\r
197                 </executions>\r
198             </plugin>\r
199             <plugin>\r
200                 <groupId>org.apache.maven.plugins</groupId>\r
201                 <artifactId>maven-deploy-plugin</artifactId>\r
202                 <!-- <executions>\r
203                         <execution>\r
204                         <goals>\r
205                                 <goal>deploy-file</goal>\r
206                         </goals> -->\r
207                         <configuration>\r
208                         <file>target/groupdav-2.5.s4j</file>\r
209                         <respositoryId>bioicmessage-snapshots</respositoryId>\r
210                         <url>ftp://bionicmessage.net/www/latest/maven-snapshots-repo/</url>\r
211                         <generatePom>false</generatePom>\r
212                         </configuration>\r
213                         <!-- </execution>\r
214                 </executions> -->\r
215                         </plugin>\r
216         </plugins>\r
217     </build>\r
218     <distributionManagement>\r
219         <snapshotRepository>\r
220             <id>bmessage-snapshots</id>\r
221             <name>bionicmessage snapshots</name>\r
222             <url>ftp://bionicmessage.net/www/latest/maven-snapshots-repo/</url>\r
223             <uniqueVersion>false</uniqueVersion>\r
224         </snapshotRepository>\r
225     </distributionManagement>\r
226 </project>\r