Integrate Smart Core into smart dao
[smart-dao.git] / docs / pom.xml
blob34ac92bf872652c0bb04dcf0b86674148607f246
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             </plugin>
39         </plugins>
40     </build>
41     <dependencies>
42         <dependency>
43             <groupId>com.smartitengineering</groupId>
44             <artifactId>smart-domain</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>com.smartitengineering</groupId>
48             <artifactId>smart-abstract-dao</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>com.smartitengineering.smart-dao</groupId>
52             <artifactId>smart-hbase-dao</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>com.smartitengineering</groupId>
56             <artifactId>smart-dao-queryparam</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>com.smartitengineering</groupId>
60             <artifactId>smart-hibernate-abstract-dao</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>com.smartitengineering</groupId>
64             <artifactId>smart-cache</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>com.smartitengineering</groupId>
68             <artifactId>smart-rs</artifactId>
69        </dependency>
70         <dependency>
71             <groupId>com.smartitengineering</groupId>
72             <artifactId>smart-dao-search</artifactId>
73         </dependency>
74         <dependency>
75             <groupId>com.smartitengineering.smart-version</groupId>
76             <artifactId>smart-version-api</artifactId>
77         </dependency>
78         <dependency>
79             <groupId>com.smartitengineering.smart-version</groupId>
80             <artifactId>smart-dao-version</artifactId>
81         </dependency>
82         <dependency>
83             <groupId>com.smartitengineering.smart-version</groupId>
84             <artifactId>smart-version-jgit-impl</artifactId>
85         </dependency>
86         <dependency>
87             <groupId>com.smartitengineering.smart-exim</groupId>
88             <artifactId>smart-exim-api</artifactId>
89         </dependency>
90         <dependency>
91             <groupId>com.smartitengineering.smart-exim</groupId>
92             <artifactId>smart-exim-xml-impl</artifactId>
93         </dependency>
94     </dependencies>
95     <profiles>
96         <profile>
97             <id>assemble-simple-dist</id>
98             <activation>
99                 <property>
100                     <name>build.complete</name>
101                     <value>true</value>
102                 </property>
103             </activation>
104             <build>
105                 <plugins>
106                     <plugin>
107                         <groupId>org.apache.maven.plugins</groupId>
108                         <artifactId>maven-assembly-plugin</artifactId>
109                         <inherited>false</inherited>
110                         <executions>
111                             <!-- Assembly execution for aggregating site -->
112                             <execution>
113                                 <id>assemble-site</id>
114                                 <phase>package</phase>
115                                 <goals>
116                                     <goal>single</goal>
117                                 </goals>
118                                 <configuration>
119                                     <descriptors>
120                                         <descriptor>src/main/assembly/assemble-site.xml</descriptor>
121                                     </descriptors>
122                                 </configuration>
123                             </execution>
124                         </executions>
125                     </plugin>
126                 </plugins>
127             </build>
128         </profile>
129         <profile>
130             <id>assemble-with-dep</id>
131             <activation>
132                 <property>
133                     <name>build.complete.dist</name>
134                     <value>true</value>
135                 </property>
136             </activation>
137             <build>
138                 <plugins>
139                     <plugin>
140                         <groupId>org.apache.maven.plugins</groupId>
141                         <artifactId>maven-assembly-plugin</artifactId>
142                         <inherited>true</inherited>
143                         <executions>
144                             <!-- Assembly execution for building distribution -->
145                             <execution>
146                                 <id>assemble-dist</id>
147                                 <inherited>false</inherited>
148                                 <phase>integration-test</phase>
149                                 <goals>
150                                     <goal>single</goal>
151                                 </goals>
152                                 <configuration>
153                                     <finalName>smart-dao-${project.version}</finalName>
154                                     <descriptors>
155                                         <descriptor>src/main/assembly/assemble-bin.xml</descriptor>
156                                     </descriptors>
157                                     <attach>false</attach>
158                                 </configuration>
159                             </execution>
160                             <!-- 
161                             Assembly execution for building distribution with
162                             dependency
163                             -->
164                             <execution>
165                                 <id>assemble-dist-with-dep</id>
166                                 <inherited>false</inherited>
167                                 <phase>integration-test</phase>
168                                 <goals>
169                                     <goal>single</goal>
170                                 </goals>
171                                 <configuration>
172                                     <finalName>smart-dao-${project.version}</finalName>
173                                     <descriptors>
174                                         <descriptor>src/main/assembly/assemble-bin-with-dependency.xml</descriptor>
175                                     </descriptors>
176                                     <attach>false</attach>
177                                 </configuration>
178                             </execution>
179                         </executions>
180                     </plugin>
181                 </plugins>
182             </build>
183         </profile>
184         <profile>
185             <id>push-gh-pages</id>
186             <activation>
187                 <os>
188                     <family>unix</family>
189                 </os>
190             </activation>
191             <build>
192                 <plugins>
193                     <plugin>
194                         <groupId>org.apache.maven.plugins</groupId>
195                         <artifactId>maven-antrun-plugin</artifactId>
196                         <inherited>false</inherited>
197                         <executions>
198                             <execution>
199                                 <id>copy-n-push-gh-pages</id>
200                                 <phase>install</phase>
201                                 <goals>
202                                     <goal>run</goal>
203                                 </goals>
204                                 <configuration>
205                                     <tasks>
206                                         <taskdef name="if" classname="net.sf.antcontrib.logic.IfTask" classpathref="maven.plugin.classpath"/>
207                                         <property name="ghpages_branch" value="${gh-pages.branch}" />
208                                         <property name="ghpages_path" value="${gh-pages.path}" />
209                                         <property name="ghpages_src_path" value="${project.build.directory}/${project.artifactId}-${project.version}-total-site.dir/${project.artifactId}-${project.version}/" />
210                                         <ant antfile="${basedir}/src/main/ant/gh-pages-build.xml">
211                                             <target name="copy_n_push"/>
212                                         </ant>
213                                     </tasks>
214                                 </configuration>
215                             </execution>
216                         </executions>
217                         <dependencies>
218                             <dependency>
219                                 <groupId>ant-contrib</groupId>
220                                 <artifactId>ant-contrib</artifactId>
221                                 <version>${ant.contrib.version}</version>
222                             </dependency>
223                         </dependencies>
224                     </plugin>
225                 </plugins>
226             </build>
227         </profile>
228     </profiles>
229 </project>