Add an API for allowing users to provide custom string representation
[smart-dao.git] / docs / pom.xml
blob72290f268c394a8d28a2e9e1f0a74b6777ac9f74
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     </dependencies>
108     <profiles>
109         <profile>
110             <id>assemble-simple-dist</id>
111             <activation>
112                 <property>
113                     <name>build.complete</name>
114                     <value>true</value>
115                 </property>
116             </activation>
117             <build>
118                 <plugins>
119                     <plugin>
120                         <groupId>org.apache.maven.plugins</groupId>
121                         <artifactId>maven-assembly-plugin</artifactId>
122                         <version>${assembly.version}</version>
123                         <inherited>false</inherited>
124                         <executions>
125                             <!-- Assembly execution for aggregating site -->
126                             <execution>
127                                 <id>assemble-site</id>
128                                 <phase>package</phase>
129                                 <goals>
130                                     <goal>single</goal>
131                                 </goals>
132                                 <configuration>
133                                     <descriptors>
134                                         <descriptor>src/main/assembly/assemble-site.xml</descriptor>
135                                     </descriptors>
136                                 </configuration>
137                             </execution>
138                         </executions>
139                     </plugin>
140                 </plugins>
141             </build>
142         </profile>
143         <profile>
144             <id>assemble-with-dep</id>
145             <activation>
146                 <property>
147                     <name>build.complete.dist</name>
148                     <value>true</value>
149                 </property>
150             </activation>
151             <build>
152                 <plugins>
153                     <plugin>
154                         <groupId>org.apache.maven.plugins</groupId>
155                         <artifactId>maven-assembly-plugin</artifactId>
156                         <version>${assembly.version}</version>
157                         <inherited>true</inherited>
158                         <executions>
159                             <!-- Assembly execution for building distribution -->
160                             <execution>
161                                 <id>assemble-dist</id>
162                                 <inherited>false</inherited>
163                                 <phase>integration-test</phase>
164                                 <goals>
165                                     <goal>single</goal>
166                                 </goals>
167                                 <configuration>
168                                     <finalName>smart-dao-${project.version}</finalName>
169                                     <descriptors>
170                                         <descriptor>src/main/assembly/assemble-bin.xml</descriptor>
171                                     </descriptors>
172                                     <attach>false</attach>
173                                 </configuration>
174                             </execution>
175                             <!-- 
176                             Assembly execution for building distribution with
177                             dependency
178                             -->
179                             <execution>
180                                 <id>assemble-dist-with-dep</id>
181                                 <inherited>false</inherited>
182                                 <phase>integration-test</phase>
183                                 <goals>
184                                     <goal>single</goal>
185                                 </goals>
186                                 <configuration>
187                                     <finalName>smart-dao-${project.version}</finalName>
188                                     <descriptors>
189                                         <descriptor>src/main/assembly/assemble-bin-with-dependency.xml</descriptor>
190                                     </descriptors>
191                                     <attach>false</attach>
192                                 </configuration>
193                             </execution>
194                         </executions>
195                     </plugin>
196                 </plugins>
197             </build>
198         </profile>
199         <profile>
200             <id>push-gh-pages</id>
201             <activation>
202                 <os>
203                     <family>unix</family>
204                 </os>
205             </activation>
206             <build>
207                 <plugins>
208                     <plugin>
209                         <groupId>org.apache.maven.plugins</groupId>
210                         <artifactId>maven-antrun-plugin</artifactId>
211                         <version>${antrun.version}</version>
212                         <inherited>false</inherited>
213                         <executions>
214                             <execution>
215                                 <id>copy-n-push-gh-pages</id>
216                                 <phase>install</phase>
217                                 <goals>
218                                     <goal>run</goal>
219                                 </goals>
220                                 <configuration>
221                                     <tasks>
222                                         <taskdef name="if" classname="net.sf.antcontrib.logic.IfTask" classpathref="maven.plugin.classpath"/>
223                                         <property name="ghpages_branch" value="${gh-pages.branch}" />
224                                         <property name="ghpages_path" value="${gh-pages.path}" />
225                                         <property name="ghpages_src_path" value="${project.build.directory}/${project.artifactId}-${project.version}-total-site.dir/${project.artifactId}-${project.version}/" />
226                                         <ant antfile="${basedir}/src/main/ant/gh-pages-build.xml">
227                                             <target name="copy_n_push"/>
228                                         </ant>
229                                     </tasks>
230                                 </configuration>
231                             </execution>
232                         </executions>
233                         <dependencies>
234                             <dependency>
235                                 <groupId>ant-contrib</groupId>
236                                 <artifactId>ant-contrib</artifactId>
237                                 <version>${ant-contrib.version}</version>
238                             </dependency>
239                         </dependencies>
240                     </plugin>
241                 </plugins>
242             </build>
243         </profile>
244     </profiles>
245 </project>