Updated bmclickatell pom file
[bm-groupware-server.git] / bmclickatell / pom.xml
blob15e6bd0636a6d27c9bcaaaed470edc2cd2b9dd3a
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3 /*\r
4  * Funambol is a mobile platform developed by Funambol, Inc.\r
5  * Copyright (C) 2006 - 2007 Funambol, Inc.\r
6  *\r
7  * This program is free software; you can redistribute it and/or modify it under\r
8  * the terms of the GNU Affero General Public License version 3 as published by\r
9  * the Free Software Foundation with the addition of the following permission\r
10  * added to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED\r
11  * WORK IN WHICH THE COPYRIGHT IS OWNED BY FUNAMBOL, FUNAMBOL DISCLAIMS THE\r
12  * WARRANTY OF NON INFRINGEMENT  OF THIRD PARTY RIGHTS.\r
13  *\r
14  * This program is distributed in the hope that it will be useful, but WITHOUT\r
15  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
16  * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more\r
17  * details.\r
18  *\r
19  * You should have received a copy of the GNU Affero General Public License\r
20  * along with this program; if not, see http://www.gnu.org/licenses or write to\r
21  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,\r
22  * MA 02110-1301 USA.\r
23  *\r
24  * You can contact Funambol, Inc. headquarters at 643 Bair Island Road, Suite\r
25  * 305, Redwood City, CA 94063, USA, or at email address info@funambol.com.\r
26  *\r
27  * The interactive user interfaces in modified source and object code versions\r
28  * of this program must display Appropriate Legal Notices, as required under\r
29  * Section 5 of the GNU Affero General Public License version 3.\r
30  *\r
31  * In accordance with Section 7(b) of the GNU Affero General Public License\r
32  * version 3, these Appropriate Legal Notices must retain the display of the\r
33  * "Powered by Funambol" logo. If the display of the logo is not reasonably\r
34  * feasible for technical reasons, the Appropriate Legal Notices must display\r
35  * the words "Powered by Funambol".\r
36  */\r
37 -->\r
38 <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
39     <modelVersion>4.0.0</modelVersion>\r
40     <artifactId>bmclickatell</artifactId>\r
41     <groupId>bmessage</groupId>\r
42     <version>1.1-SNAPSHOT</version>\r
43     <name>bmessage bmclickatell Module</name>\r
44     <packaging>jar</packaging>  \r
45     \r
46     <!--\r
47         SITE\r
48     -->\r
49     <distributionManagement>\r
50         <site>\r
51             <id>local</id>\r
52             <url>file:///Users/matt/code/target/deploy/site</url>\r
53         </site>\r
54     </distributionManagement>\r
55     \r
56     <!--\r
57         REPORTING\r
58     -->\r
59     <reporting>\r
60         <plugins>\r
61             <plugin>\r
62                 <groupId>org.apache.maven.plugins</groupId>\r
63                 <artifactId>maven-jxr-plugin</artifactId>\r
64                 <configuration>\r
65                     <aggregate>true</aggregate>\r
66                 </configuration>\r
67             </plugin>\r
68             <plugin>\r
69                 <groupId>org.apache.maven.plugins</groupId>\r
70                 <artifactId>maven-pmd-plugin</artifactId>\r
71             </plugin>\r
72             <plugin>\r
73                 <groupId>org.apache.maven.plugins</groupId>\r
74                 <artifactId>maven-javadoc-plugin</artifactId>\r
75                 <configuration>\r
76                     <aggregate>true</aggregate>\r
77                 </configuration>\r
78             </plugin>\r
79             <plugin>\r
80                 <groupId>org.apache.maven.plugins</groupId>\r
81                 <artifactId>maven-project-info-reports-plugin</artifactId>\r
82                 <reportSets>\r
83                     <reportSet>\r
84                         <reports>\r
85                             <report>dependencies</report>\r
86                             <report>mailing-list</report>\r
87                             <report>issue-tracking</report>\r
88                         </reports>\r
89                     </reportSet>\r
90                 </reportSets>\r
91             </plugin>\r
92         </plugins>\r
93     </reporting>\r
94     \r
95     <!--\r
96         DEPENDENCIES\r
97     -->\r
98     <dependencies>\r
99         <dependency>\r
100             <artifactId>core-framework</artifactId>\r
101             <groupId>funambol</groupId>\r
102             <version>8.5.0-SNAPSHOT</version>\r
103         </dependency>\r
104         <dependency>\r
105             <artifactId>server-framework</artifactId>\r
106             <groupId>funambol</groupId>\r
107             <version>8.5.0-SNAPSHOT</version>\r
108         </dependency>\r
109         <dependency>\r
110             <artifactId>admin-framework</artifactId>\r
111             <groupId>funambol</groupId>\r
112             <version>8.5.0-SNAPSHOT</version>\r
113         </dependency>\r
114         <dependency>\r
115             <artifactId>ds-server</artifactId>\r
116             <groupId>funambol</groupId>\r
117             <version>8.5.0-SNAPSHOT</version>\r
118         </dependency>\r
119         <dependency>\r
120             <groupId>net.java.dev.swing-layout</groupId>\r
121             <artifactId>swing-layout</artifactId>\r
122             <version>1.0.2</version>\r
123         </dependency>\r
124     </dependencies>\r
125     <build>\r
126         <plugins>\r
127             <plugin>\r
128                 <groupId>org.apache.maven.plugins</groupId>\r
129                 <artifactId>maven-jar-plugin</artifactId>\r
130                 <configuration>\r
131                     <archive>\r
132                         <manifest>\r
133                             <addClasspath>true</addClasspath>\r
134                             <addExtensions></addExtensions>\r
135                             <classpathPrefix></classpathPrefix>\r
136                         </manifest>\r
137                     </archive>\r
138                 </configuration>\r
139             </plugin>\r
140             <plugin>\r
141                 <artifactId>maven-antrun-plugin</artifactId>\r
142                 <executions>\r
143                     <execution>\r
144                         <phase>package</phase>\r
145                         <configuration>\r
146                             <tasks>\r
147                                 <copy todir="target/funambol/sql" preservelastmodified="true">\r
148                                     <fileset dir="src/main/sql">\r
149                                     </fileset>\r
150                                 </copy>\r
151                                 <copy todir="target/funambol/config" preservelastmodified="true">\r
152                                     <fileset dir="src/main/config">\r
153                                     </fileset>\r
154                                 </copy>\r
155                                 <copy todir="target/funambol/lib" file="target/bmclickatell-1.1-SNAPSHOT.jar">\r
156                                 </copy>\r
157                                                                 <!-- <copy todir="target/funambol/lib">\r
158                                                                         <fileset dir="target/dependency"></fileset>\r
159                                                                 </copy> -->\r
160                                 <jar jarfile="target/bmclickatell.s4j" compress="true" update="true">\r
161                                     <fileset dir="target/funambol">\r
162                                         <include name="**/*">\r
163                                         </include>\r
164                                     </fileset>\r
165                                 </jar>\r
166                             </tasks>\r
167                         </configuration>\r
168                         <goals>\r
169                             <goal>run</goal>\r
170                         </goals>\r
171                     </execution>\r
172                     <execution>\r
173                         <id>mkdir-s4j-struct</id>\r
174                         <phase>process-resources</phase>\r
175                         <configuration>\r
176                             <tasks>\r
177                                 <mkdir dir="target/funambol">\r
178                                 </mkdir>\r
179                                 <mkdir dir="target/funambol/sql">\r
180                                 </mkdir>\r
181                                 <mkdir dir="target/funambol/lib">\r
182                                 </mkdir>\r
183                                 <mkdir dir="target/funambol/config">\r
184                                 </mkdir>\r
185                             </tasks>\r
186                         </configuration>\r
187                     </execution>\r
188                 </executions>\r
189             </plugin>\r
190             <plugin>\r
191                 <artifactId>maven-compiler-plugin</artifactId>\r
192                 <version>RELEASE</version>\r
193                 <configuration>\r
194                     <source>1.5</source>\r
195                     <target>1.5</target>\r
196                 </configuration>\r
197             </plugin>\r
198         </plugins>\r
199     </build> \r
200     \r
201     <!--\r
202          This is the central Funambol repostiry where all funambol related\r
203          artifacts are stored\r
204     -->\r
205     <repositories>\r
206         <repository>\r
207             <id>artifacts</id>\r
208             <url>http://m2.funambol.org/repositories/artifacts</url>\r
209         </repository>\r
210     </repositories>\r
211     <pluginRepositories>\r
212         <pluginRepository>\r
213             <id>snapshots</id>\r
214             <url>http://m2.funambol.org/repositories/snapshots</url>\r
215         </pluginRepository>\r
216     </pluginRepositories>\r
217 </project>\r