problems with generics fixed & switched to aspectj 1.6.2 due to bugs in earlier versions
[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>2.0</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 <dependencies>
45 <dependency>
46 <groupId>org.aspectj</groupId>
47 <artifactId>aspectjrt</artifactId>
48 <version>1.6.2</version>
49 </dependency>
50 <dependency>
51 <groupId>org.aspectj</groupId>
52 <artifactId>aspectjtools</artifactId>
53 <version>1.6.2</version>
54 </dependency>
55 <dependency>
56 <groupId>org.aspectj</groupId>
57 <artifactId>aspectjweaver</artifactId>
58 <version>1.6.2</version>
59 </dependency>
60 </dependencies>
61 </plugin>
62
63 <!-- JAXB Schema compiler task (xjc) not used at this point -->
64 <!--
65 <plugin>
66 <artifactId>maven-antrun-plugin</artifactId>
67 <executions>
68 <execution>
69 <phase>generate-sources</phase>
70 <goals>
71 <goal>run</goal>
72 </goals>
73 <configuration>
74 <tasks>
75 <taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
76 <classpath refid="maven.compile.classpath"/>
77 </taskdef>
78 <mkdir dir="target/generated-sources/java"/>
79 <xjc schema="src/main/resources/schema/cdm/cdm.xsd"
80 extension="true"
81 destdir="target/generated-sources/java">
82 <depends dir="src/main/resources/schema" includes="cdm/cdm.xsd"/>
83 <produces dir="target/generated-sources/java/eu/etaxonomy/cdm" includes="**/*.java"/>
84 </xjc>
85 </tasks>
86 </configuration>
87 </execution>
88 </executions>
89 </plugin>
90 -->
91
92 </plugins>
93 </build>
94
95 <dependencies>
96
97 <dependency>
98 <groupId>eu.etaxonomy</groupId>
99 <artifactId>cdmlib-commons</artifactId>
100 </dependency>
101 <dependency>
102 <groupId>javax.xml.bind</groupId>
103 <artifactId>jaxb-api</artifactId>
104 </dependency>
105 <dependency>
106 <groupId>xml-resolver</groupId>
107 <artifactId>xml-resolver</artifactId>
108 </dependency>
109 <dependency>
110 <groupId>javax.activation</groupId>
111 <artifactId>activation</artifactId>
112 </dependency>
113 <dependency>
114 <groupId>javax.xml.bind</groupId>
115 <artifactId>jsr173_api</artifactId>
116 </dependency>
117 <dependency>
118 <groupId>com.sun.xml.bind</groupId>
119 <artifactId>jaxb-impl</artifactId>
120 </dependency>
121 <dependency>
122 <groupId>com.sun.xml.bind</groupId>
123 <artifactId>jaxb1-impl</artifactId>
124 </dependency>
125 <dependency>
126 <groupId>com.sun.xml.bind</groupId>
127 <artifactId>jaxb-xjc</artifactId>
128 </dependency>
129 <dependency>
130 <groupId>aspectj</groupId>
131 <artifactId>aspectjrt</artifactId>
132 </dependency>
133 <dependency>
134 <groupId>org.hibernate</groupId>
135 <artifactId>hibernate-annotations</artifactId>
136 </dependency>
137 <dependency>
138 <groupId>org.unitils</groupId>
139 <artifactId>unitils</artifactId>
140 <version>1.0</version>
141 <!--<scope>test</scope>-->
142 </dependency>
143 <dependency>
144 <groupId>org.springframework</groupId>
145 <artifactId>spring-jdbc</artifactId>
146 </dependency>
147 <dependency>
148 <groupId>org.springframework</groupId>
149 <artifactId>spring-test</artifactId>
150 </dependency>
151 <dependency>
152 <groupId>net.sf.opencsv</groupId>
153 <artifactId>opencsv</artifactId>
154 </dependency>
155 <dependency>
156 <groupId>org.apache.poi</groupId>
157 <artifactId>poi</artifactId>
158 </dependency>
159 <dependency>
160 <groupId>joda-time</groupId>
161 <artifactId>joda-time</artifactId>
162 </dependency>
163 <dependency>
164 <groupId>joda-time</groupId>
165 <artifactId>joda-time-hibernate</artifactId>
166 <exclusions>
167 <exclusion>
168 <artifactId>ehcache</artifactId>
169 <groupId>ehcache</groupId>
170 </exclusion>
171 <exclusion>
172 <groupId>cglib</groupId>
173 <artifactId>cglib-full</artifactId>
174 </exclusion>
175 </exclusions>
176 </dependency>
177
178 <!-- joda-time perhaps needed in future for JAXB binding -->
179 <!--
180 <dependency>
181 <groupId>joda-time</groupId>
182 <artifactId>joda-time</artifactId>
183 </dependency>
184 <dependency>
185 <groupId>joda-time</groupId>
186 <artifactId>joda-time-hibernate</artifactId>
187 <exclusions>
188 <exclusion>
189 <artifactId>ehcache</artifactId>
190 <groupId>ehcache</groupId>
191 </exclusion>
192 <exclusion>
193 <groupId>cglib</groupId>
194 <artifactId>cglib-full</artifactId>
195 </exclusion>
196 </exclusions>
197 </dependency>
198 -->
199 </dependencies>
200
201 </project>
202