1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <project xmlns=
"http://maven.apache.org/POM/4.0.0" xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance" xsi:
schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4 <groupId>eu.etaxonomy
</groupId>
5 <artifactId>cdmlib-parent
</artifactId>
6 <version>5.12.0-SNAPSHOT
</version>
7 <relativePath>../pom.xml
</relativePath>
10 <modelVersion>4.0.0</modelVersion>
11 <artifactId>cdmlib-persistence
</artifactId>
12 <name>CDM Persistence
</name>
13 <description>EDIT CDM library persistence layer. Mainly DAOs
</description>
18 <groupId>org.codehaus.mojo
</groupId>
19 <artifactId>hibernate3-maven-plugin
</artifactId>
20 <version>3.0</version>
25 <implementation>annotationconfigurationX
</implementation>
29 <namingstrategy>org.hibernate.cfg.DefaultComponentSafeNamingStrategy
</namingstrategy>
30 <propertyfile>/src/test/resources/dbscripts/hibernate.properties
</propertyfile>
31 <outputfilename>001_cdm.ddl
</outputfilename>
32 <configurationfile>/src/main/resources/eu/etaxonomy/cdm/hibernate.cfg.xml
</configurationfile>
33 </componentProperties>
37 <groupId>eu.etaxonomy
</groupId>
38 <artifactId>cdmlib-db
</artifactId>
39 <version>${project.version}
</version>
42 <groupId>org.hibernate
</groupId>
43 <artifactId>hibernate-annotations
</artifactId>
44 <version>3.5.6-FINAL
</version>
49 <artifactId>maven-antrun-plugin
</artifactId>
52 <taskdef name=
"hibernatetool" classname=
"org.hibernate.tool.ant.EnversHibernateToolTask">
53 <classpath refid=
"maven.plugin.classpath" />
55 <mkdir dir=
"target/generated-sources/hibernate3" />
56 <hibernatetool destdir=
".">
58 <path refid=
"maven.plugin.classpath" />
59 <path refid=
"maven.compile.classpath" />
60 <path refid=
"maven.test.classpath" />
62 <jpaconfiguration persistenceunit=
"cdm" />
63 <hbm2ddl drop=
"false" create=
"true" export=
"false" outputfilename=
"target/generated-sources/hibernate3/001_cdm.ddl" delimiter=
";" format=
"true" />
69 <groupId>eu.etaxonomy
</groupId>
70 <artifactId>cdmlib-db
</artifactId>
71 <version>${project.version}
</version>
74 <groupId>org.hibernate
</groupId>
75 <artifactId>hibernate-envers
</artifactId>
76 <version>${hibernate.version}
</version>
79 <groupId>org.hibernate
</groupId>
80 <artifactId>hibernate-entitymanager
</artifactId>
81 <version>${hibernate.version}
</version>
84 <!-- is this still needed ?? -->
85 <groupId>org.hibernate
</groupId>
86 <artifactId>hibernate-tools
</artifactId>
87 <version>3.2.4.GA
</version>
90 <groupId>org.slf4j
</groupId>
91 <artifactId>slf4j-log4j12
</artifactId>
92 <version>${slf4j.version}
</version>
95 <groupId>commons-logging
</groupId>
96 <artifactId>commons-logging
</artifactId>
97 <version>${commons-logging.version}
</version>
102 <groupId>org.apache.maven.plugins
</groupId>
103 <artifactId>maven-jar-plugin
</artifactId>
104 <version>2.3.2</version>
108 <goal>test-jar
</goal>
117 <groupId>org.hibernate.javax.persistence
</groupId>
118 <artifactId>hibernate-jpa-
2.1-api
</artifactId>
121 <groupId>eu.etaxonomy
</groupId>
122 <artifactId>cdmlib-model
</artifactId>
125 <groupId>org.slf4j
</groupId>
126 <artifactId>slf4j-log4j12
</artifactId>
129 <groupId>org.javassist
</groupId>
130 <artifactId>javassist
</artifactId>
133 <groupId>javax.annotation
</groupId>
134 <artifactId>jsr250-api
</artifactId>
137 <groupId>org.aspectj
</groupId>
138 <artifactId>aspectjweaver
</artifactId>
141 <groupId>org.hibernate.common
</groupId>
142 <artifactId>hibernate-commons-annotations
</artifactId>
145 <groupId>org.hibernate
</groupId>
146 <artifactId>hibernate-core
</artifactId>
149 <groupId>org.hibernate
</groupId>
150 <artifactId>hibernate-search-orm
</artifactId>
153 <groupId>org.hibernate
</groupId>
154 <artifactId>hibernate-envers
</artifactId>
157 <groupId>org.hibernate
</groupId>
158 <artifactId>hibernate-c3p0
</artifactId>
159 <!-- only needed as long as hibernate-c3p0 is still dependend on c3p0/c3p0/0.9.1 -->
162 <groupId>com.mchange
</groupId>
163 <artifactId>c3p0
</artifactId>
167 <!-- Since hibernate 5.0.4 the logging for a Dialect throws ClassDefNotFound for javax.transaction.SystemException if jta is missing -->
169 <groupId>javax.transaction
</groupId>
170 <artifactId>jta
</artifactId>
173 <groupId>org.apache.lucene
</groupId>
174 <artifactId>lucene-core
</artifactId>
177 <groupId>org.apache.lucene
</groupId>
178 <artifactId>lucene-suggest
</artifactId>
181 <groupId>org.apache.lucene
</groupId>
182 <artifactId>lucene-queryparser
</artifactId>
185 <groupId>commons-beanutils
</groupId>
186 <artifactId>commons-beanutils
</artifactId>
189 <groupId>commons-lang
</groupId>
190 <artifactId>commons-lang
</artifactId>
193 <groupId>commons-dbcp
</groupId>
194 <artifactId>commons-dbcp
</artifactId>
195 <!-- <scope>test</scope> , currently also used in NomenclaturalCodeAwareDataSource and maybe others -->
198 <groupId>org.unitils
</groupId>
199 <artifactId>unitils-core
</artifactId>
200 <!-- <scope>test</scope> unscoped since we need this dependency at compile time for H2DbSupport.java -->
204 <groupId>eu.etaxonomy
</groupId>
205 <artifactId>cdmlib-test
</artifactId>
209 <groupId>org.springframework
</groupId>
210 <artifactId>spring-beans
</artifactId>
213 <groupId>org.springframework
</groupId>
214 <artifactId>spring-expression
</artifactId>
217 <groupId>org.springframework
</groupId>
218 <artifactId>spring-orm
</artifactId>
221 <groupId>org.springframework
</groupId>
222 <artifactId>spring-jdbc
</artifactId>
225 <groupId>org.springframework
</groupId>
226 <artifactId>spring-aop
</artifactId>
229 <groupId>org.springframework
</groupId>
230 <artifactId>spring-aspects
</artifactId>
233 <groupId>org.springframework.security
</groupId>
234 <artifactId>spring-security-core
</artifactId>
236 <!-- required by Xerces 2.11.0 -->
238 <groupId>org.apache.xmlgraphics
</groupId>
239 <artifactId>batik-ext
</artifactId>
242 <!-- ******* DATABASES DRIVER ******* -->
245 Any driver dependency listed here must be excluded from the
246 cdmlib-remote depedency in cdmlib-remote-webapp
249 <groupId>eu.etaxonomy
</groupId>
250 <artifactId>cdmlib-db
</artifactId>
251 <version>${project.version}
</version>
255 <!-- <dependency> -->
256 <!-- <groupId>com.yourkit</groupId> -->
257 <!-- <artifactId>yjp-controller-api-redist</artifactId> -->
258 <!-- <scope>test</scope> -->
259 <!-- </dependency> -->