Fix FindBug reported bugs as appropriate for the smart-exim module
[smart-dao.git] / docs / pom.xml
blobb87a93ef9abb0ece554f0e71a0f26d82d1351ac0
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  *   
4  * This is a common dao with basic CRUD operations and is not limited to any 
5  * persistent layer implementation
6  * 
7  * Copyright (C) 2008  Imran M Yousuf (imyousuf@smartitengineering.com)
8  * 
9  * This library is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation; either
12  * version 3 of the License, or (at your option) any later version.
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
20 -->
21 <project>
22     <parent>
23         <artifactId>smart-dao</artifactId>
24         <groupId>com.smartitengineering</groupId>
25         <version>0.4-SNAPSHOT</version>
26     </parent>
27     <modelVersion>4.0.0</modelVersion>
28     <groupId>com.smartitengineering.smart-dao</groupId>
29     <artifactId>docs</artifactId>
30     <name>docs</name>
31     <version>0.4-SNAPSHOT</version>
32     <packaging>pom</packaging>
33     <build>
34         <plugins>
35             <plugin>
36                 <groupId>org.apache.maven.plugins</groupId>
37                 <artifactId>maven-assembly-plugin</artifactId>
38                 <version>${assembly.version}</version>
39             </plugin>
40         </plugins>
41     </build>
42     <dependencies>
43         <dependency>
44             <groupId>com.smartitengineering</groupId>
45             <version>${project.version}</version>
46             <artifactId>smart-domain</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>com.smartitengineering</groupId>
50             <version>${project.version}</version>
51             <artifactId>smart-abstract-dao</artifactId>
52         </dependency>
53         <dependency>
54             <groupId>com.smartitengineering</groupId>
55             <version>${project.version}</version>
56             <artifactId>smart-dao-queryparam</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>com.smartitengineering</groupId>
60             <version>${project.version}</version>
61             <artifactId>smart-hibernate-abstract-dao</artifactId>
62             <exclusions>
63                 <exclusion>
64                     <groupId>asm</groupId>
65                     <artifactId>asm</artifactId>
66                 </exclusion>
67                 <exclusion>
68                     <groupId>asm</groupId>
69                     <artifactId>asm-attrs</artifactId>
70                 </exclusion>
71                 <exclusion>
72                     <groupId>cglib</groupId>
73                     <artifactId>cglib</artifactId>
74                 </exclusion>
75             </exclusions>
76         </dependency>
77         <dependency>
78             <groupId>com.smartitengineering</groupId>
79             <version>${project.version}</version>
80             <artifactId>smart-cache</artifactId>
81         </dependency>
82         <dependency>
83             <groupId>com.smartitengineering</groupId>
84             <version>${project.version}</version>
85             <artifactId>smart-dao-search</artifactId>
86         </dependency>
87         <dependency>
88             <groupId>com.smartitengineering</groupId>
89             <version>${project.version}</version>
90             <artifactId>smart-rs</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>com.smartitengineering.smart-version</groupId>
94             <version>${project.version}</version>
95             <artifactId>smart-version-api</artifactId>
96         </dependency>
97         <dependency>
98             <groupId>com.smartitengineering.smart-version</groupId>
99             <version>${project.version}</version>
100             <artifactId>smart-dao-version</artifactId>
101         </dependency>
102         <dependency>
103             <groupId>com.smartitengineering.smart-version</groupId>
104             <version>${project.version}</version>
105             <artifactId>smart-version-jgit-impl</artifactId>
106         </dependency>
107         <dependency>
108             <groupId>com.smartitengineering.smart-exim</groupId>
109             <version>${project.version}</version>
110             <artifactId>smart-exim-api</artifactId>
111         </dependency>
112         <dependency>
113             <groupId>com.smartitengineering.smart-exim</groupId>
114             <version>${project.version}</version>
115             <artifactId>smart-exim-xml-impl</artifactId>
116         </dependency>
117     </dependencies>
118     <profiles>
119         <profile>
120             <id>assemble-simple-dist</id>
121             <activation>
122                 <property>
123                     <name>build.complete</name>
124                     <value>true</value>
125                 </property>
126             </activation>
127             <build>
128                 <plugins>
129                     <plugin>
130                         <groupId>org.apache.maven.plugins</groupId>
131                         <artifactId>maven-assembly-plugin</artifactId>
132                         <version>${assembly.version}</version>
133                         <inherited>false</inherited>
134                         <executions>
135                             <!-- Assembly execution for aggregating site -->
136                             <execution>
137                                 <id>assemble-site</id>
138                                 <phase>package</phase>
139                                 <goals>
140                                     <goal>single</goal>
141                                 </goals>
142                                 <configuration>
143                                     <descriptors>
144                                         <descriptor>src/main/assembly/assemble-site.xml</descriptor>
145                                     </descriptors>
146                                 </configuration>
147                             </execution>
148                         </executions>
149                     </plugin>
150                 </plugins>
151             </build>
152         </profile>
153         <profile>
154             <id>assemble-with-dep</id>
155             <activation>
156                 <property>
157                     <name>build.complete.dist</name>
158                     <value>true</value>
159                 </property>
160             </activation>
161             <build>
162                 <plugins>
163                     <plugin>
164                         <groupId>org.apache.maven.plugins</groupId>
165                         <artifactId>maven-assembly-plugin</artifactId>
166                         <version>${assembly.version}</version>
167                         <inherited>true</inherited>
168                         <executions>
169                             <!-- Assembly execution for building distribution -->
170                             <execution>
171                                 <id>assemble-dist</id>
172                                 <inherited>false</inherited>
173                                 <phase>integration-test</phase>
174                                 <goals>
175                                     <goal>single</goal>
176                                 </goals>
177                                 <configuration>
178                                     <finalName>smart-dao-${project.version}</finalName>
179                                     <descriptors>
180                                         <descriptor>src/main/assembly/assemble-bin.xml</descriptor>
181                                     </descriptors>
182                                     <attach>false</attach>
183                                 </configuration>
184                             </execution>
185                             <!-- 
186                             Assembly execution for building distribution with
187                             dependency
188                             -->
189                             <execution>
190                                 <id>assemble-dist-with-dep</id>
191                                 <inherited>false</inherited>
192                                 <phase>integration-test</phase>
193                                 <goals>
194                                     <goal>single</goal>
195                                 </goals>
196                                 <configuration>
197                                     <finalName>smart-dao-${project.version}</finalName>
198                                     <descriptors>
199                                         <descriptor>src/main/assembly/assemble-bin-with-dependency.xml</descriptor>
200                                     </descriptors>
201                                     <attach>false</attach>
202                                 </configuration>
203                             </execution>
204                         </executions>
205                     </plugin>
206                 </plugins>
207             </build>
208         </profile>
209         <profile>
210             <id>push-gh-pages</id>
211             <activation>
212                 <os>
213                     <family>unix</family>
214                 </os>
215             </activation>
216             <build>
217                 <plugins>
218                     <plugin>
219                         <groupId>org.apache.maven.plugins</groupId>
220                         <artifactId>maven-antrun-plugin</artifactId>
221                         <version>${antrun.version}</version>
222                         <inherited>false</inherited>
223                         <executions>
224                             <execution>
225                                 <id>copy-n-push-gh-pages</id>
226                                 <phase>install</phase>
227                                 <goals>
228                                     <goal>run</goal>
229                                 </goals>
230                                 <configuration>
231                                     <tasks>
232                                         <taskdef name="if" classname="net.sf.antcontrib.logic.IfTask" classpathref="maven.plugin.classpath"/>
233                                         <property name="ghpages_branch" value="${gh-pages.branch}" />
234                                         <property name="ghpages_path" value="${gh-pages.path}" />
235                                         <property name="ghpages_src_path" value="${project.build.directory}/${project.artifactId}-${project.version}-total-site.dir/${project.artifactId}-${project.version}/" />
236                                         <ant antfile="${basedir}/src/main/ant/gh-pages-build.xml">
237                                             <target name="copy_n_push"/>
238                                         </ant>
239                                     </tasks>
240                                 </configuration>
241                             </execution>
242                         </executions>
243                         <dependencies>
244                             <dependency>
245                                 <groupId>ant-contrib</groupId>
246                                 <artifactId>ant-contrib</artifactId>
247                                 <version>${ant-contrib.version}</version>
248                             </dependency>
249                         </dependencies>
250                     </plugin>
251                 </plugins>
252             </build>
253         </profile>
254     </profiles>
255 </project>