(no commit message)
[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 <dependency>
80 <groupId>javax.xml.bind</groupId>
81 <artifactId>jaxb-api</artifactId>
82 </dependency>
83 <dependency>
84 <groupId>xml-resolver</groupId>
85 <artifactId>xml-resolver</artifactId>
86 </dependency>
87
88 <dependency>
89 <groupId>javax.activation</groupId>
90 <artifactId>activation</artifactId>
91 </dependency>
92 <dependency>
93 <groupId>javax.xml.bind</groupId>
94 <artifactId>jsr173_api</artifactId>
95 </dependency>
96 <dependency>
97 <groupId>com.sun.xml.bind</groupId>
98 <artifactId>jaxb-impl</artifactId>
99 </dependency>
100 <dependency>
101 <groupId>com.sun.xml.bind</groupId>
102 <artifactId>jaxb1-impl</artifactId>
103 </dependency>
104 <dependency>
105 <groupId>com.sun.xml.bind</groupId>
106 <artifactId>jaxb-xjc</artifactId>
107 </dependency>
108 <dependency>
109 <groupId>eu.etaxonomy</groupId>
110 <artifactId>cdmlib-commons</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.springframework</groupId>
122 <artifactId>spring-jdbc</artifactId>
123 </dependency>
124 <dependency>
125 <groupId>org.springframework</groupId>
126 <artifactId>spring-test</artifactId>
127 </dependency>
128 <dependency>
129 <groupId>net.sf.opencsv</groupId>
130 <artifactId>opencsv</artifactId>
131 </dependency>
132
133 <!-- joda-time perhaps needed in future for JAXB binding -->
134 <!--
135 <dependency>
136 <groupId>joda-time</groupId>
137 <artifactId>joda-time</artifactId>
138 </dependency>
139 <dependency>
140 <groupId>joda-time</groupId>
141 <artifactId>joda-time-hibernate</artifactId>
142 <exclusions>
143 <exclusion>
144 <artifactId>ehcache</artifactId>
145 <groupId>ehcache</groupId>
146 </exclusion>
147 <exclusion>
148 <groupId>cglib</groupId>
149 <artifactId>cglib-full</artifactId>
150 </exclusion>
151 </exclusions>
152 </dependency>
153 -->
154 </dependencies>
155
156 </project>
157