Make distribution more complete
[smart-dao.git] / docs / pom.xml
blobdd6b5f69939972cbb626e382cb9416a43fe95175
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     <dependencies>
33         <dependency>
34             <groupId>com.smartitengineering</groupId>
35             <version>${project.version}</version>
36             <artifactId>smart-domain</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>com.smartitengineering</groupId>
40             <version>${project.version}</version>
41             <artifactId>smart-abstract-dao</artifactId>
42         </dependency>
43         <dependency>
44             <groupId>com.smartitengineering</groupId>
45             <version>${project.version}</version>
46             <artifactId>smart-dao-queryparam</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>com.smartitengineering</groupId>
50             <version>${project.version}</version>
51             <artifactId>smart-hibernate-abstract-dao</artifactId>
52             <exclusions>
53                 <exclusion>
54                     <groupId>asm</groupId>
55                     <artifactId>asm</artifactId>
56                 </exclusion>
57                 <exclusion>
58                     <groupId>asm</groupId>
59                     <artifactId>asm-attrs</artifactId>
60                 </exclusion>
61                 <exclusion>
62                     <groupId>cglib</groupId>
63                     <artifactId>cglib</artifactId>
64                 </exclusion>
65             </exclusions>
66         </dependency>
67         <dependency>
68             <groupId>com.smartitengineering</groupId>
69             <version>${project.version}</version>
70             <artifactId>smart-cache</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>com.smartitengineering</groupId>
74             <version>${project.version}</version>
75             <artifactId>smart-dao-search</artifactId>
76         </dependency>
77         <dependency>
78             <groupId>com.smartitengineering</groupId>
79             <version>${project.version}</version>
80             <artifactId>smart-rs</artifactId>
81         </dependency>
82         <dependency>
83             <groupId>com.smartitengineering.smart-version</groupId>
84             <version>${project.version}</version>
85             <artifactId>smart-version-api</artifactId>
86         </dependency>
87         <dependency>
88             <groupId>com.smartitengineering.smart-version</groupId>
89             <version>${project.version}</version>
90             <artifactId>smart-dao-version</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>com.smartitengineering.smart-version</groupId>
94             <version>${project.version}</version>
95             <artifactId>smart-version-jgit-impl</artifactId>
96         </dependency>
97     </dependencies>
98     <profiles>
99         <profile>
100             <id>assemble-simple-dist</id>
101             <activation>
102                 <property>
103                     <name>build.complete</name>
104                     <value>true</value>
105                 </property>
106             </activation>
107             <build>
108                 <plugins>
109                     <plugin>
110                         <groupId>org.apache.maven.plugins</groupId>
111                         <artifactId>maven-assembly-plugin</artifactId>
112                         <version>${assembly.version}</version>
113                         <inherited>true</inherited>
114                         <executions>
115                             <!-- Assembly execution for aggregating site -->
116                             <execution>
117                                 <id>assemble-site</id>
118                                 <phase>package</phase>
119                                 <goals>
120                                     <goal>single</goal>
121                                 </goals>
122                                 <configuration>
123                                     <descriptors>
124                                         <descriptor>src/main/assembly/assemble-site.xml</descriptor>
125                                     </descriptors>
126                                 </configuration>
127                             </execution>
128                             <!-- Assembly execution for building distribution -->
129                             <execution>
130                                 <id>assemble-dist</id>
131                                 <inherited>false</inherited>
132                                 <phase>integration-test</phase>
133                                 <goals>
134                                     <goal>single</goal>
135                                 </goals>
136                                 <configuration>
137                                     <descriptors>
138                                         <descriptor>src/main/assembly/assemble-bin.xml</descriptor>
139                                     </descriptors>
140                                 </configuration>
141                             </execution>
142                         </executions>
143                     </plugin>
144                 </plugins>
145             </build>
146         </profile>
147         <profile>
148             <id>assemble-with-dep</id>
149             <activation>
150                 <property>
151                     <name>build.complete.dist</name>
152                     <value>true</value>
153                 </property>
154             </activation>
155             <build>
156                 <plugins>
157                     <plugin>
158                         <groupId>org.apache.maven.plugins</groupId>
159                         <artifactId>maven-assembly-plugin</artifactId>
160                         <version>${assembly.version}</version>
161                         <inherited>true</inherited>
162                         <executions>
163                             <!-- 
164                             Assembly execution for building distribution with
165                             dependency
166                             -->
167                             <execution>
168                                 <id>assemble-dist-with-dep</id>
169                                 <inherited>false</inherited>
170                                 <phase>integration-test</phase>
171                                 <goals>
172                                     <goal>single</goal>
173                                 </goals>
174                                 <configuration>
175                                     <descriptors>
176                                         <descriptor>src/main/assembly/assemble-bin-with-dependency.xml</descriptor>
177                                     </descriptors>
178                                 </configuration>
179                             </execution>
180                         </executions>
181                     </plugin>
182                 </plugins>
183             </build>
184         </profile>
185     </profiles>
186 </project>