Fixed Hibernate mappings, JAXB annotations, and typos after model review.
[cdmlib.git] / cdmlib-model / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4 <!--
5 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
6 -->
7 <parent>
8 <groupId>eu.etaxonomy</groupId>
9 <artifactId>cdmlib-parent</artifactId>
10 <version>1.3</version>
11 </parent>
12
13 <modelVersion>4.0.0</modelVersion>
14 <artifactId>cdmlib-model</artifactId>
15 <name>CDM Domain Model</name>
16 <description>The domain model java implementation of EDIT's Common Data Model</description>
17 <scm>
18 <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-model/</connection>
19 <developerConnection>scm:svn:https://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-model/</developerConnection>
20 <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-model/</url>
21 </scm>
22
23 <build>
24 <plugins>
25 <plugin>
26 <groupId>org.codehaus.mojo</groupId>
27 <artifactId>aspectj-maven-plugin</artifactId>
28 <executions>
29 <execution>
30 <goals>
31 <goal>compile</goal>
32 <goal>test-compile</goal>
33 </goals>
34 </execution>
35 </executions>
36 <configuration>
37 <source>1.5</source>
38 <target>1.5</target>
39 <includes>
40 <include>**/cdm/**/*.java</include>
41 <include>**/*.aj</include>
42 </includes>
43 </configuration>
44 </plugin>
45
46 <!-- JAXB Schema compiler task (xjc) not used at this point -->
47 <!--
48 <plugin>
49 <artifactId>maven-antrun-plugin</artifactId>
50 <executions>
51 <execution>
52 <phase>generate-sources</phase>
53 <goals>
54 <goal>run</goal>
55 </goals>
56 <configuration>
57 <tasks>
58 <taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
59 <classpath refid="maven.compile.classpath"/>
60 </taskdef>
61 <mkdir dir="target/generated-sources/java"/>
62 <xjc schema="src/main/resources/schema/cdm/cdm.xsd"
63 extension="true"
64 destdir="target/generated-sources/java">
65 <depends dir="src/main/resources/schema" includes="cdm/cdm.xsd"/>
66 <produces dir="target/generated-sources/java/eu/etaxonomy/cdm" includes="**/*.java"/>
67 </xjc>
68 </tasks>
69 </configuration>
70 </execution>
71 </executions>
72 </plugin>
73 -->
74
75 </plugins>
76 </build>
77
78 <dependencies>
79
80 <dependency>
81 <groupId>eu.etaxonomy</groupId>
82 <artifactId>cdmlib-commons</artifactId>
83 </dependency>
84 <dependency>
85 <groupId>javax.xml.bind</groupId>
86 <artifactId>jaxb-api</artifactId>
87 </dependency>
88 <dependency>
89 <groupId>xml-resolver</groupId>
90 <artifactId>xml-resolver</artifactId>
91 </dependency>
92 <dependency>
93 <groupId>javax.activation</groupId>
94 <artifactId>activation</artifactId>
95 </dependency>
96 <dependency>
97 <groupId>javax.xml.bind</groupId>
98 <artifactId>jsr173_api</artifactId>
99 </dependency>
100 <dependency>
101 <groupId>com.sun.xml.bind</groupId>
102 <artifactId>jaxb-impl</artifactId>
103 </dependency>
104 <dependency>
105 <groupId>com.sun.xml.bind</groupId>
106 <artifactId>jaxb1-impl</artifactId>
107 </dependency>
108 <dependency>
109 <groupId>com.sun.xml.bind</groupId>
110 <artifactId>jaxb-xjc</artifactId>
111 </dependency>
112 <dependency>
113 <groupId>aspectj</groupId>
114 <artifactId>aspectjrt</artifactId>
115 </dependency>
116 <dependency>
117 <groupId>org.hibernate</groupId>
118 <artifactId>hibernate-annotations</artifactId>
119 </dependency>
120 <dependency>
121 <groupId>org.unitils</groupId>
122 <artifactId>unitils</artifactId>
123 <version>1.0</version>
124 <!--<scope>test</scope>-->
125 </dependency>
126 <dependency>
127 <groupId>org.springframework</groupId>
128 <artifactId>spring-jdbc</artifactId>
129 </dependency>
130 <dependency>
131 <groupId>org.springframework</groupId>
132 <artifactId>spring-test</artifactId>
133 </dependency>
134 <dependency>
135 <groupId>net.sf.opencsv</groupId>
136 <artifactId>opencsv</artifactId>
137 </dependency>
138 <dependency>
139 <groupId>org.apache.poi</groupId>
140 <artifactId>poi</artifactId>
141 </dependency>
142 <dependency>
143 <groupId>joda-time</groupId>
144 <artifactId>joda-time</artifactId>
145 </dependency>
146 <dependency>
147 <groupId>joda-time</groupId>
148 <artifactId>joda-time-hibernate</artifactId>
149 <exclusions>
150 <exclusion>
151 <artifactId>ehcache</artifactId>
152 <groupId>ehcache</groupId>
153 </exclusion>
154 <exclusion>
155 <groupId>cglib</groupId>
156 <artifactId>cglib-full</artifactId>
157 </exclusion>
158 </exclusions>
159 </dependency>
160
161 <!-- joda-time perhaps needed in future for JAXB binding -->
162 <!--
163 <dependency>
164 <groupId>joda-time</groupId>
165 <artifactId>joda-time</artifactId>
166 </dependency>
167 <dependency>
168 <groupId>joda-time</groupId>
169 <artifactId>joda-time-hibernate</artifactId>
170 <exclusions>
171 <exclusion>
172 <artifactId>ehcache</artifactId>
173 <groupId>ehcache</groupId>
174 </exclusion>
175 <exclusion>
176 <groupId>cglib</groupId>
177 <artifactId>cglib-full</artifactId>
178 </exclusion>
179 </exclusions>
180 </dependency>
181 -->
182 </dependencies>
183
184 </project>
185