Fixed NPE when using nested classes in entities with @EmbeddedId/@Embeddable
[hibernate4-maven-plugin] / pom.xml
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">
3
4   <modelVersion>4.0.0</modelVersion>
5
6   <parent>
7     <groupId>org.sonatype.oss</groupId>
8     <artifactId>oss-parent</artifactId>
9     <version>7</version>
10   </parent>
11
12   <groupId>de.juplo</groupId>
13   <artifactId>hibernate4-maven-plugin</artifactId>
14   <name>Hibernate 4 Maven Plugin</name>
15   <description>Plugin for generating a database-schema from Hibernate-4-Mapping-Annotations</description>
16   <version>1.0.3-SNAPSHOT</version>
17   <packaging>maven-plugin</packaging>
18   <url>http://juplo.de/hibernate4-maven-plugin</url>
19
20   <prerequisites>
21     <maven>2.0.6</maven>
22   </prerequisites>
23
24   <licenses>
25     <license>
26       <name>The Apache Software License, Version 2.0</name>
27       <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
28       <distribution>repo</distribution>
29       <comments>A business-friendly OSS license</comments>
30     </license>
31   </licenses>
32
33   <scm>
34     <connection>scm:git:http://juplo.de/git/hibernate4-maven-plugin</connection>
35     <developerConnection>scm:git:ssh://juplo.de:/var/lib/git/juplo/hibernate4-maven-plugin</developerConnection>
36     <url>http://juplo.de/gitweb/?p=hibernate4-maven-plugin;a=summary</url>
37   </scm>
38
39   <developers>
40     <developer>
41       <id>kai</id>
42       <name>Kai Moritz</name>
43       <email>kai@juplo.de</email>
44     </developer>
45   </developers>
46
47   <contributors>
48     <contributor>
49       <name>Adriano Machado</name>
50       <email>adriano.m.machado@hotmail.com</email>
51     </contributor>
52     <contributor>
53       <name>Lorenzo Nicora</name>
54       <email>lorenzo.nicora@nicus.it</email>
55     </contributor>
56     <contributor>
57       <name>Eduard Szente</name>
58       <email>eduard.szente@gmail.com</email>
59     </contributor>
60   </contributors>
61
62   <distributionManagement>
63     <site>
64       <id>www.juplo.de</id>
65       <url>scp://juplo.de/var/www/juplo/hibernate4-maven-plugin-${project.version}</url>
66     </site>
67   </distributionManagement>
68
69   <ciManagement>
70     <system>Continuum</system>
71     <url>http://juplo.de/continuum/</url>
72     <notifiers>
73       <notifier>
74         <type>mail</type>
75         <address>kai@juplo.de</address>
76       </notifier>
77     </notifiers>
78   </ciManagement>
79
80   <properties>
81     <!-- Zeichensatz -->
82     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
83     <!-- Verwendete Versionen -->
84     <hibernate-core.version>4.2.3.Final</hibernate-core.version>
85     <maven.version>3.0.4</maven.version>
86     <maven-plugin-log4j.version>1.0.1</maven-plugin-log4j.version>
87     <scannotation.version>1.0.2</scannotation.version>
88   </properties>
89
90   <dependencies>
91     <dependency>
92       <groupId>org.apache.maven</groupId>
93       <artifactId>maven-core</artifactId>
94       <version>${maven.version}</version>
95       <exclusions>
96         <exclusion>
97           <groupId>org.codehaus.plexus</groupId>
98           <artifactId>plexus-utils</artifactId>
99         </exclusion>
100       </exclusions>
101     </dependency>
102     <dependency>
103       <groupId>org.apache.maven</groupId>
104       <artifactId>maven-plugin-api</artifactId>
105       <version>${maven.version}</version>
106     </dependency>
107     <dependency>
108       <groupId>org.hibernate</groupId>
109       <artifactId>hibernate-core</artifactId>
110       <version>${hibernate-core.version}</version>
111     </dependency>
112     <dependency>
113       <groupId>net.sf.scannotation</groupId>
114       <artifactId>scannotation</artifactId>
115       <version>${scannotation.version}</version>
116     </dependency>
117     <dependency>
118       <groupId>com.pyx4j</groupId>
119       <artifactId>maven-plugin-log4j</artifactId>
120       <version>${maven-plugin-log4j.version}</version>
121       <exclusions>
122         <exclusion>
123           <groupId>org.apache.maven</groupId>
124           <artifactId>maven-artifact</artifactId>
125         </exclusion>
126         <exclusion>
127           <groupId>org.apache.maven</groupId>
128           <artifactId>maven-plugin-api</artifactId>
129         </exclusion>
130       </exclusions>
131     </dependency>
132   </dependencies>
133
134   <build>
135     <plugins>
136       <plugin>
137         <groupId>org.apache.maven.plugins</groupId>
138         <artifactId>maven-compiler-plugin</artifactId>
139         <version>2.0.2</version>
140         <configuration>
141           <source>1.6</source>
142           <target>1.6</target>
143           <encoding>utf8</encoding>
144           <showWarnings>true</showWarnings>
145         </configuration>
146       </plugin>
147       <plugin>
148         <groupId>org.apache.maven.plugins</groupId>
149         <artifactId>maven-dependency-plugin</artifactId>
150         <version>2.1</version>
151         <executions>
152           <execution>
153             <id>install</id>
154             <phase>install</phase>
155             <goals>
156               <goal>sources</goal>
157             </goals>
158           </execution>
159         </executions>
160       </plugin>
161       <plugin>
162         <groupId>org.apache.maven.plugins</groupId>
163         <artifactId>maven-source-plugin</artifactId>
164         <version>2.1.2</version><!-- Should be same version as in oss-parent-7 -->
165         <executions>
166           <execution>
167             <id>attach-sources</id>
168             <phase>verify</phase>
169             <goals>
170               <goal>jar</goal>
171             </goals>
172           </execution>
173         </executions>
174       </plugin>
175       <plugin>
176         <groupId>org.apache.maven.plugins</groupId>
177         <artifactId>maven-scm-plugin</artifactId>
178         <version>1.7</version>
179         <configuration>
180           <goals>install</goals>
181         </configuration>
182       </plugin>
183       <plugin>
184         <groupId>org.apache.maven.plugins</groupId>
185         <artifactId>maven-resources-plugin</artifactId>
186         <version>2.3</version>
187         <executions>
188           <execution>
189             <id>copy-resources</id>
190             <phase>pre-site</phase>
191             <goals>
192               <goal>copy-resources</goal>
193             </goals>
194             <configuration>
195               <outputDirectory>${project.build.directory}/filtered-site</outputDirectory>
196               <resources>
197                 <resource>
198                   <directory>src/site</directory>
199                   <filtering>true</filtering>
200                 </resource>
201               </resources>
202             </configuration>
203           </execution>
204         </executions>
205       </plugin>
206       <plugin>
207         <groupId>org.apache.maven.plugins</groupId>
208         <artifactId>maven-plugin-plugin</artifactId>
209         <version>3.2</version>
210         <executions>
211           <execution>
212             <id>generated-helpmojo</id>
213               <goals>
214                 <goal>helpmojo</goal>
215               </goals>
216           </execution>
217         </executions>
218       </plugin>
219     </plugins>
220   </build>
221
222   <reporting>
223     <plugins>
224       <plugin>
225         <artifactId>maven-site-plugin</artifactId>
226         <version>2.1</version>
227         <configuration>
228           <siteDirectory>${project.build.directory}/filtered-site</siteDirectory>
229         </configuration>
230       </plugin>
231       <plugin>
232         <groupId>org.apache.maven.plugins</groupId>
233         <artifactId>maven-changes-plugin</artifactId>
234         <version>2.7.1</version>
235       </plugin>
236       <plugin>
237         <groupId>org.apache.maven.plugins</groupId>
238         <artifactId>maven-javadoc-plugin</artifactId>
239         <version>2.7</version><!-- Should be same version as in oss-parent-7 -->
240       </plugin>
241       <plugin>
242         <groupId>org.apache.maven.plugins</groupId>
243         <artifactId>maven-jxr-plugin</artifactId>
244         <version>2.3</version>
245       </plugin>
246       <plugin>
247         <groupId>org.apache.maven.plugins</groupId>
248         <artifactId>maven-pmd-plugin</artifactId>
249         <version>2.7.1</version>
250         <configuration>
251           <linkXref>true</linkXref>
252           <targetJdk>1.5</targetJdk>
253         </configuration>
254       </plugin>
255       <plugin>
256         <groupId>org.apache.maven.plugins</groupId>
257         <artifactId>maven-plugin-plugin</artifactId>
258         <version>3.2</version>
259       </plugin>
260     </plugins>
261   </reporting>
262
263 </project>