Allow a way to set the entity class
[smart-dao.git] / pom.xml
blob241403c1d4c42060700d89629d547b2553ce1d4f
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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
23     <modelVersion>4.0.0</modelVersion>
24     <groupId>com.smartitengineering</groupId>
25     <artifactId>smart-dao</artifactId>
26     <packaging>pom</packaging>
27     <version>0.4-SNAPSHOT</version>
28     <name>Smart DAO</name>
29     <inceptionYear>2007</inceptionYear>
30     <description>
31         This project basically aims to create an abstraction layer above common
32         ORM used this days and provide a simplified DAO layer which is not only
33         independent of the ORM tool being used but also integrated with other
34         services, for example App Layer Caching, Free Text Search Engine etc.
35         Initial target is to implement it for Hibernate and when JPA provides
36         Hibernate's Criteria like API implement for JPA as well. Integrate
37         App Layer Cache and Compass Framework.
38     </description>
39     <url>http://code.google.com/p/smart-dao</url>
40     <organization>
41         <name>Smart IT Engineering</name>
42         <url>http://www.smartitengineering.com</url>
43     </organization>
44     <issueManagement>
45         <system>Google Code Issue Tracker</system>
46         <url>http://code.google.com/p/smart-dao/issues/</url>
47     </issueManagement>
48     <mailingLists>
49         <mailingList>
50             <name>User List</name>
51             <archive>http://groups.google.com/group/smart-dao-users</archive>
52             <post>smart-dao-users@googlegroups.com</post>
53             <subscribe>smart-dao-users-subscribe@googlegroups.com</subscribe>
54             <unsubscribe>smart-dao-users+unsubscribe@googlegroups.com</unsubscribe>
55         </mailingList>
56         <mailingList>
57             <name>Developer List</name>
58             <archive>http://groups.google.com/group/smart-dao-dev</archive>
59             <post>smart-dao-dev@googlegroups.com</post>
60             <subscribe>smart-dao-dev-subscribe@googlegroups.com</subscribe>
61             <unsubscribe>smart-dao-dev+unsubscribe@googlegroups.com</unsubscribe>
62         </mailingList>
63     </mailingLists>
64     <licenses>
65         <license>
66             <name>LGPL v3</name>
67             <distribution>repo and manual</distribution>
68             <url>http://www.gnu.org/licenses/lgpl.html</url>
69         </license>
70     </licenses>
71     <developers>
72         <developer>
73             <id>imyousuf</id>
74             <name>Imran M Yousuf</name>
75             <email>imyousuf@smartitengineering.com</email>
76             <organization>Smart IT Engineering</organization>
77             <timezone>GMT +0600</timezone>
78             <roles>
79                 <role>Project Owner</role>
80                 <role>Developer</role>
81                 <role>Maintainer</role>
82             </roles>
83         </developer>
84     </developers>
85     <scm>
86         <connection>scm:git:git://repo.or.cz/smart-dao.git</connection>
87         <developerConnection>scm:git:ssh://imyousuf@repo.or.cz/srv/git/smart-dao.git</developerConnection>
88     </scm>
89     <distributionManagement>
90         <!-- use the following if you're not using a snapshot version. -->
91         <repository>
92             <id>smartit-googlecode</id>
93             <name>Smart IT Engineering GoogleCode repository</name>
94             <url>svn:https://imyousuf@smart-it.googlecode.com/svn/maven2/releases</url>
95         </repository>
96         <!-- use the following if you ARE using a snapshot version. -->
97         <snapshotRepository>
98             <id>smartit-googlecode</id>
99             <name>Smart IT Engineering GoogleCode repository</name>
100             <url>svn:https://imyousuf@smart-it.googlecode.com/svn/maven2/snapshots</url>
101         </snapshotRepository>
102         <!-- deploy site here -->
103         <site>
104             <id>smartit-googlecode</id>
105             <name>Smart IT Engineering GoogleCode repository</name>
106             <url>svn:https://imyousuf@smart-it.googlecode.com/svn/maven2/site/dao</url>
107         </site>
108     </distributionManagement>
109     <repositories>
110         <repository>
111             <id>maven2-repository.dev.java.net</id>
112             <name>Java.net Repository for Maven</name>
113             <url>http://download.java.net/maven/2/</url>
114             <layout>default</layout>
115             <releases>
116                 <enabled>true</enabled>
117             </releases>
118             <snapshots>
119                 <enabled>false</enabled>
120             </snapshots>
121         </repository>
122         <repository>
123             <id>compass-project.org</id>
124             <name>Compass</name>
125             <url>http://repo.compass-project.org</url>
126             <releases>
127                 <enabled>true</enabled>
128             </releases>
129             <snapshots>
130                 <enabled>false</enabled>
131             </snapshots>
132         </repository>
133         <repository>
134             <id>smartit-googlecode-snapshots</id>
135             <name>Smart IT Snapshot GoogleCode Snapshot Repo</name>
136             <url>http://smart-it.googlecode.com/svn/maven2/snapshots/</url>
137             <layout>default</layout>
138             <releases>
139                 <enabled>false</enabled>
140             </releases>
141             <snapshots>
142                 <enabled>true</enabled>
143             </snapshots>
144         </repository>
145         <repository>
146             <id>smartit-googlecode-releases</id>
147             <name>Smart IT Snapshot GoogleCode Release Repo</name>
148             <url>http://smart-it.googlecode.com/svn/maven2/releases/</url>
149             <layout>default</layout>
150             <releases>
151                 <enabled>true</enabled>
152             </releases>
153             <snapshots>
154                 <enabled>false</enabled>
155             </snapshots>
156         </repository>
157         <repository>
158             <id>apache-sonatype-snapshot</id>
159             <name>Apache Snapshot repo hosted by Sonatype</name>
160             <url>http://repository.sonatype.org/content/repositories/apache-snapshots/</url>
161             <layout>default</layout>
162             <releases>
163                 <enabled>false</enabled>
164             </releases>
165             <snapshots>
166                 <enabled>true</enabled>
167             </snapshots>
168         </repository>
169     </repositories>
170     <dependencyManagement>
171       <dependencies>
172             <dependency>
173                 <groupId>junit</groupId>
174                 <artifactId>junit</artifactId>
175                 <version>${junit.version}</version>
176                 <scope>test</scope>
177             </dependency>
178             <dependency>
179                 <groupId>org.apache.hbase</groupId>
180                 <artifactId>hbase-core</artifactId>
181                 <version>${hbase.version}</version>
182             </dependency>
183             <dependency>
184                 <groupId>com.smartitengineering</groupId>
185                 <artifactId>smart-dao-queryparam</artifactId>
186                 <version>${project.version}</version>
187             </dependency>
188         </dependencies>
189     </dependencyManagement>
190     <dependencies>
191         <dependency>
192             <groupId>junit</groupId>
193             <artifactId>junit</artifactId>
194         </dependency>
195     </dependencies>
196     <build>
197         <pluginManagement>
198             <plugins>
199                 <plugin>
200                     <groupId>org.apache.maven.plugins</groupId>
201                     <artifactId>maven-assembly-plugin</artifactId>
202                     <version>${assembly.version}</version>
203                 </plugin>
204                 <plugin>
205                     <groupId>org.apache.maven.plugins</groupId>
206                     <artifactId>maven-surefire-plugin</artifactId>
207                     <version>${surefire.version}</version>
208                 </plugin>
209                 <plugin>
210                     <groupId>org.apache.maven.plugins</groupId>
211                     <artifactId>maven-release-plugin</artifactId>
212                     <version>${release.version}</version>
213                 </plugin>
214                 <plugin>
215                     <groupId>org.apache.maven.plugins</groupId>
216                     <artifactId>maven-scm-plugin</artifactId>
217                     <version>${scm.version}</version>
218                 </plugin>
219                 <plugin>
220                     <groupId>org.apache.maven.plugins</groupId>
221                     <artifactId>maven-javadoc-plugin</artifactId>
222                     <version>${javadoc.version}</version>
223                 </plugin>
224                 <plugin>
225                     <groupId>org.apache.maven.plugins</groupId>
226                     <artifactId>maven-compiler-plugin</artifactId>
227                     <version>${compiler.version}</version>
228                 </plugin>
229                 <plugin>
230                     <groupId>org.apache.maven.plugins</groupId>
231                     <artifactId>maven-changelog-plugin</artifactId>
232                     <version>${changelog.version}</version>
233                 </plugin>
234                 <plugin>
235                     <groupId>org.apache.maven.plugins</groupId>
236                     <artifactId>maven-source-plugin</artifactId>
237                     <version>${src.version}</version>
238                 </plugin>
239                 <plugin>
240                     <groupId>org.apache.maven.plugins</groupId>
241                     <artifactId>maven-site-plugin</artifactId>
242                     <version>${site.version}</version>
243                 </plugin>
244                 <plugin>
245                     <groupId>org.codehaus.mojo</groupId>
246                     <artifactId>cobertura-maven-plugin</artifactId>
247                     <version>${cobertura.version}</version>
248                 </plugin>
249                 <plugin>
250                     <groupId>org.apache.maven.plugins</groupId>
251                     <artifactId>maven-surefire-report-plugin</artifactId>
252                     <version>${surefire-report.version}</version>
253                 </plugin>
254                 <plugin>
255                     <groupId>org.apache.maven.plugins</groupId>
256                     <artifactId>maven-antrun-plugin</artifactId>
257                     <version>${antrun.version}</version>
258                 </plugin>
259                 <plugin>
260                     <groupId>org.codehaus.mojo</groupId>
261                     <artifactId>findbugs-maven-plugin</artifactId>
262                     <version>${findbugs.version}</version>
263                 </plugin>
264                 <plugin>
265                     <groupId>org.codehaus.mojo</groupId>
266                     <artifactId>xml-maven-plugin</artifactId>
267                     <version>${xml-plugin.version}</version>
268                 </plugin>
269                 <plugin>
270                     <groupId>org.codehaus.mojo</groupId>
271                     <artifactId>sonar-maven-plugin</artifactId>
272                     <version>${sonar.plugin.version}</version>
273                 </plugin>
274             </plugins>
275         </pluginManagement>
276         <plugins>
277             <plugin>
278                 <groupId>org.apache.maven.plugins</groupId>
279                 <artifactId>maven-surefire-plugin</artifactId>
280             </plugin>
281             <plugin>
282                 <groupId>org.apache.maven.plugins</groupId>
283                 <artifactId>maven-release-plugin</artifactId>
284             </plugin>
285             <plugin>
286                 <groupId>org.apache.maven.plugins</groupId>
287                 <artifactId>maven-scm-plugin</artifactId>
288             </plugin>
289             <plugin>
290                 <groupId>org.apache.maven.plugins</groupId>
291                 <artifactId>maven-javadoc-plugin</artifactId>
292                 <inherited>true</inherited>
293                 <configuration>
294                     <aggregate>true</aggregate>
295                     <linksource>true</linksource>
296                     <attach>true</attach>
297                 </configuration>
298                 <executions>
299                     <execution>
300                         <id>gen-javadoc</id>
301                         <phase>package</phase>
302                         <goals>
303                             <goal>jar</goal>
304                         </goals>
305                     </execution>
306                 </executions>
307             </plugin>
308             <plugin>
309                 <groupId>org.apache.maven.plugins</groupId>
310                 <artifactId>maven-compiler-plugin</artifactId>
311                 <inherited>true</inherited>
312                 <configuration>
313                     <source>${javac.src.version}</source>
314                     <target>${javac.target.version}</target>
315                 </configuration>
316             </plugin>
317             <plugin>
318                 <groupId>org.apache.maven.plugins</groupId>
319                 <artifactId>maven-source-plugin</artifactId>
320                 <inherited>true</inherited>
321                 <configuration>
322                     <attach>true</attach>
323                 </configuration>
324                 <executions>
325                     <execution>
326                         <id>attach-sources</id>
327                         <phase>verify</phase>
328                         <goals>
329                             <goal>jar</goal>
330                         </goals>
331                     </execution>
332                 </executions>
333             </plugin>
334             <plugin>
335                 <groupId>org.apache.maven.plugins</groupId>
336                 <artifactId>maven-changelog-plugin</artifactId>
337                 <inherited>false</inherited>
338                 <dependencies>
339                     <dependency>
340                         <groupId>org.codehaus.plexus</groupId>
341                         <artifactId>plexus-utils</artifactId>
342                         <version>${plexus-utils.version}</version>
343                     </dependency>
344                     <dependency>
345                         <groupId>org.apache.maven.scm</groupId>
346                         <artifactId>maven-scm-provider-gitexe</artifactId>
347                         <version>${scm.version}</version>
348                     </dependency>
349                 </dependencies>
350             </plugin>
351         </plugins>
352         <extensions>
353             <extension>
354                 <groupId>org.jvnet.wagon-svn</groupId>
355                 <artifactId>wagon-svn</artifactId>
356                 <version>${wagon-svn.version}</version>
357             </extension>
358             <extension>
359                 <groupId>org.apache.maven.wagon</groupId>
360                 <artifactId>wagon-ftp</artifactId>
361                 <version>${wagon-ftp.version}</version>
362             </extension>
363         </extensions>
364     </build>
365     <reporting>
366         <plugins>
367             <plugin>
368                 <groupId>org.apache.maven.plugins</groupId>
369                 <artifactId>maven-site-plugin</artifactId>
370                 <inherited>true</inherited>
371             </plugin>
372             <plugin>
373                 <groupId>org.apache.maven.plugins</groupId>
374                 <artifactId>maven-javadoc-plugin</artifactId>
375                 <configuration>
376                     <aggregate>false</aggregate>
377                     <linksource>true</linksource>
378                 </configuration>
379             </plugin>
380             <plugin>
381                 <groupId>org.codehaus.mojo</groupId>
382                 <artifactId>cobertura-maven-plugin</artifactId>
383             </plugin>
384             <plugin>
385                 <groupId>org.apache.maven.plugins</groupId>
386                 <artifactId>maven-surefire-report-plugin</artifactId>
387                 <inherited>true</inherited>
388             </plugin>
389             <plugin>
390                 <groupId>org.codehaus.mojo</groupId>
391                 <artifactId>findbugs-maven-plugin</artifactId>
392                 <inherited>true</inherited>
393             </plugin>
394             <plugin>
395                 <groupId>org.apache.maven.plugins</groupId>
396                 <artifactId>maven-changelog-plugin</artifactId>
397                 <configuration>
398                     <type>tag</type>
399                     <tags>
400                         <tag implementation="java.lang.String">${last.release.tag}
401                         </tag>
402                         <tag implementation="java.lang.String">HEAD
403                         </tag>
404                     </tags>
405                 </configuration>
406             </plugin>
407         </plugins>
408     </reporting>
409     <profiles>
410         <profile>
411             <id>build-ext</id>
412             <activation>
413                 <property>
414                     <name>build.complete</name>
415                     <value>true</value>
416                 </property>
417             </activation>
418             <build>
419                 <plugins>
420                     <plugin>
421                         <groupId>org.apache.maven.plugins</groupId>
422                         <artifactId>maven-changelog-plugin</artifactId>
423                         <inherited>false</inherited>
424                         <dependencies>
425                             <dependency>
426                                 <groupId>org.codehaus.plexus</groupId>
427                                 <artifactId>plexus-utils</artifactId>
428                                 <version>${plexus-utils.version}</version>
429                             </dependency>
430                             <dependency>
431                                 <groupId>org.apache.maven.scm</groupId>
432                                 <artifactId>maven-scm-provider-gitexe</artifactId>
433                                 <version>${scm.version}</version>
434                             </dependency>
435                         </dependencies>
436                         <configuration>
437                             <outputXML>./target/change/changes.xml</outputXML>
438                         </configuration>
439                         <executions>
440                             <execution>
441                                 <id>attach-changelog</id>
442                                 <phase>generate-sources</phase>
443                                 <inherited>false</inherited>
444                                 <goals>
445                                     <goal>changelog</goal>
446                                 </goals>
447                             </execution>
448                         </executions>
449                     </plugin>
450                     <plugin>
451                         <groupId>org.codehaus.mojo</groupId>
452                         <artifactId>xml-maven-plugin</artifactId>
453                         <inherited>false</inherited>
454                         <executions>
455                             <execution>
456                                 <id>generate-changes</id>
457                                 <phase>generate-resources</phase>
458                                 <inherited>false</inherited>
459                                 <goals>
460                                     <goal>transform</goal>
461                                 </goals>
462                             </execution>
463                         </executions>
464                         <configuration>
465                             <transformationSets>
466                                 <transformationSet>
467                                     <dir>./target/change</dir>
468                                     <stylesheet>src/main/xsl/changes.xsl</stylesheet>
469                                 </transformationSet>
470                             </transformationSets>
471                         </configuration>
472                     </plugin>
473                     <plugin>
474                         <groupId>org.apache.maven.plugins</groupId>
475                         <artifactId>maven-antrun-plugin</artifactId>
476                         <inherited>false</inherited>
477                         <executions>
478                             <execution>
479                                 <id>rename-changes</id>
480                                 <phase>generate-resources</phase>
481                                 <inherited>false</inherited>
482                                 <goals>
483                                     <goal>run</goal>
484                                 </goals>
485                                 <configuration>
486                                     <tasks>
487                                         <move file="target/generated-resources/xml/xslt/changes.xml" tofile="target/generated-resources/xml/xslt/changes-${version}.html" verbose="true"/>
488                                     </tasks>
489                                 </configuration>
490                             </execution>
491                         </executions>
492                         <dependencies>
493                             <dependency>
494                                 <groupId>ant-contrib</groupId>
495                                 <artifactId>ant-contrib</artifactId>
496                                 <version>${ant-contrib.version}</version>
497                             </dependency>
498                         </dependencies>
499                     </plugin>
500                     <plugin>
501                         <groupId>org.apache.maven.plugins</groupId>
502                         <artifactId>maven-assembly-plugin</artifactId>
503                         <inherited>true</inherited>
504                         <executions>
505                             <!-- Assembly execution for aggregating gh-pages -->
506                             <execution>
507                                 <id>assemble-static-gh-pages</id>
508                                 <phase>compile</phase>
509                                 <inherited>false</inherited>
510                                 <goals>
511                                     <goal>single</goal>
512                                 </goals>
513                                 <configuration>
514                                     <descriptors>
515                                         <descriptor>src/main/assembly/assemble-gh-pages.xml</descriptor>
516                                     </descriptors>
517                                 </configuration>
518                             </execution>
519                             <!-- Filter README -->
520                             <execution>
521                                 <id>assemble-readme</id>
522                                 <phase>compile</phase>
523                                 <inherited>true</inherited>
524                                 <goals>
525                                     <goal>single</goal>
526                                 </goals>
527                                 <configuration>
528                                     <descriptors>
529                                         <descriptor>src/main/assembly/assemble-readme.xml</descriptor>
530                                     </descriptors>
531                                 </configuration>
532                             </execution>
533                         </executions>
534                     </plugin>
535                     <plugin>
536                         <groupId>org.apache.maven.plugins</groupId>
537                         <artifactId>maven-site-plugin</artifactId>
538                         <inherited>true</inherited>
539                         <executions>
540                             <execution>
541                                 <id>site-gen</id>
542                                 <phase>prepare-package</phase>
543                                 <inherited>true</inherited>
544                                 <goals>
545                                     <goal>site</goal>
546                                 </goals>
547                             </execution>
548                         </executions>
549                     </plugin>
550                 </plugins>
551             </build>
552         </profile>
553         <profile>
554             <id>sonar-config</id>
555             <activation>
556                 <property>
557                     <name>sonar.enabled</name>
558                     <value>true</value>
559                 </property>
560             </activation>
561             <build>
562                 <plugins>
563                     <plugin>
564                         <groupId>org.codehaus.mojo</groupId>
565                         <artifactId>sonar-maven-plugin</artifactId>
566                     </plugin>
567                 </plugins>
568             </build>
569         </profile>
570     </profiles>
571     <modules>
572         <module>smart-hibernate-abstract-dao</module>
573         <module>smart-abstract-dao</module>
574         <module>smart-domain</module>
575         <module>smart-cache</module>
576         <module>smart-dao-search</module>
577         <module>smart-version</module>
578         <module>smart-dao-queryparam</module>
579         <module>smart-rs</module>
580         <module>docs</module>
581         <module>smart-exim</module>
582         <module>smart-hbase-dao</module>
583     </modules>
584     <properties>
585         <commons-lang.version>2.3</commons-lang.version>
586         <smart-util.version>0.2-SNAPSHOT</smart-util.version>
587         <jgit.version>0.4-SNAPSHOT</jgit.version>
588         <scm.version>1.3</scm.version>
589         <jersey.version>1.0.3</jersey.version>
590         <changelog.version>2.1</changelog.version>
591         <plexus-utils.version>1.5.6</plexus-utils.version>
592         <asm.version>3.1</asm.version>
593         <last.release.tag>0.3</last.release.tag>
594         <antrun.version>1.2</antrun.version>
595         <junit.version>3.8.1</junit.version>
596         <wagon-svn.version>1.8</wagon-svn.version>
597         <wagon-ftp.version>1.0-alpha-6</wagon-ftp.version>
598         <xml-plugin.version>1.0-beta-2</xml-plugin.version>
599         <src.version>2.0.4</src.version>
600         <compiler.version>2.0.2</compiler.version>
601         <javadoc.version>2.5</javadoc.version>
602         <release.version>2.0-beta-8</release.version>
603         <javac.src.version>1.5</javac.src.version>
604         <javac.target.version>1.5</javac.target.version>
605         <jaxrs.version>1.0</jaxrs.version>
606         <cobertura.version>2.2</cobertura.version>
607         <site.version>2.0-beta-7</site.version>
608         <assembly.version>2.2-beta-2</assembly.version>
609         <jar.version>2.2</jar.version>
610         <jmock.version>2.1.0</jmock.version>
611         <ehcache.version>1.5.0</ehcache.version>
612         <compass.version>2.1.0</compass.version>
613         <spring.version>2.5.6</spring.version>
614         <spring.hibernate.version>2.0.8</spring.hibernate.version>
615         <hibernate.version>3.2.5.ga</hibernate.version>
616         <c3p0.version>0.9.1.2</c3p0.version>
617         <derby.version>10.4.2.0</derby.version>
618         <cglib.version>2.1_3</cglib.version>
619         <surefire-report.version>2.4.2</surefire-report.version>
620         <findbugs.version>2.0</findbugs.version>
621         <dom4j.version>1.6.1</dom4j.version>
622         <ant-contrib.version>1.0b3</ant-contrib.version>
623         <gh-pages.branch>gh-pages</gh-pages.branch>
624         <surefire.version>2.4.3</surefire.version>
625         <sonar.plugin.version>1.0-beta-1</sonar.plugin.version>
626         <hbase.version>0.21.0-SNAPSHOT</hbase.version>
627     </properties>
628 </project>