Verifying generated SQL in integration-test hib-test
[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.4-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     <contributor>
61       <name>Stephen Johnson</name>
62       <email>stejohns@redhat.com</email>
63     </contributor>
64     <contributor>
65       <name>Victor Tatai</name>
66       <email>vtatai@gmail.com</email>
67     </contributor>
68     <contributor>
69       <name>Erik-Berndt Scheper</name>
70       <email>erik.berndt.scheper@gmail.com</email>
71     </contributor>
72     <contributor>
73       <name>Guido Wimmel</name>
74       <email>Wimmel.Guido@swm.de</email>
75     </contributor>
76     <contributor>
77       <name>Joel Johnson</name>
78       <email>mrjoel@lixil.net</email>
79     </contributor>
80     <contributor>
81       <name>Paul K. Moore</name>
82       <email>paulkmoore@gmail.com</email>
83     </contributor>
84     <contributor>
85       <name>Mark Robinson</name>
86       <email>mark@mrobinson.ca</email>
87     </contributor>
88   </contributors>
89
90   <distributionManagement>
91     <site>
92       <id>www.juplo.de</id>
93       <url>scp://juplo.de/var/www/juplo/hibernate4-maven-plugin-${project.version}</url>
94     </site>
95   </distributionManagement>
96
97   <ciManagement>
98     <system>Continuum</system>
99     <url>http://juplo.de/continuum/</url>
100     <notifiers>
101       <notifier>
102         <type>mail</type>
103         <address>kai@juplo.de</address>
104       </notifier>
105     </notifiers>
106   </ciManagement>
107
108   <properties>
109     <!-- Zeichensatz -->
110     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
111     <!-- Verwendete Versionen -->
112     <hibernate-core.version>4.3.1.Final</hibernate-core.version>
113     <hibernate-envers.version>4.3.1.Final</hibernate-envers.version>
114     <hibernate-validator.version>4.3.1.Final</hibernate-validator.version>
115     <maven.version>3.2.1</maven.version>
116     <maven-plugin-log4j.version>1.0.1</maven-plugin-log4j.version>
117     <scannotation.version>1.0.3</scannotation.version>
118   </properties>
119
120   <dependencies>
121     <dependency>
122       <groupId>org.apache.maven</groupId>
123       <artifactId>maven-core</artifactId>
124       <version>${maven.version}</version>
125       <exclusions>
126         <exclusion>
127           <groupId>org.codehaus.plexus</groupId>
128           <artifactId>plexus-utils</artifactId>
129         </exclusion>
130       </exclusions>
131     </dependency>
132     <dependency>
133       <groupId>org.apache.maven</groupId>
134       <artifactId>maven-plugin-api</artifactId>
135       <version>${maven.version}</version>
136     </dependency>
137     <dependency>
138       <groupId>org.hibernate</groupId>
139       <artifactId>hibernate-core</artifactId>
140       <version>${hibernate-core.version}</version>
141     </dependency>
142     <dependency>
143       <groupId>org.hibernate</groupId>
144       <artifactId>hibernate-envers</artifactId>
145       <version>${hibernate-envers.version}</version>
146     </dependency>
147     <dependency>
148       <groupId>org.hibernate</groupId>
149       <artifactId>hibernate-validator</artifactId>
150       <version>${hibernate-validator.version}</version>
151     </dependency>
152     <dependency>
153       <groupId>org.scannotation</groupId>
154       <artifactId>scannotation</artifactId>
155       <version>${scannotation.version}</version>
156     </dependency>
157     <dependency>
158       <groupId>com.pyx4j</groupId>
159       <artifactId>maven-plugin-log4j</artifactId>
160       <version>${maven-plugin-log4j.version}</version>
161       <exclusions>
162         <exclusion>
163           <groupId>org.apache.maven</groupId>
164           <artifactId>maven-artifact</artifactId>
165         </exclusion>
166         <exclusion>
167           <groupId>org.apache.maven</groupId>
168           <artifactId>maven-plugin-api</artifactId>
169         </exclusion>
170       </exclusions>
171     </dependency>
172   </dependencies>
173
174   <build>
175     <plugins>
176       <plugin>
177         <groupId>org.apache.maven.plugins</groupId>
178         <artifactId>maven-compiler-plugin</artifactId>
179         <version>2.0.2</version>
180         <configuration>
181           <source>1.6</source>
182           <target>1.6</target>
183           <encoding>utf8</encoding>
184           <showWarnings>true</showWarnings>
185         </configuration>
186       </plugin>
187       <plugin>
188         <groupId>org.apache.maven.plugins</groupId>
189         <artifactId>maven-dependency-plugin</artifactId>
190         <version>2.1</version>
191         <executions>
192           <execution>
193             <id>install</id>
194             <phase>install</phase>
195             <goals>
196               <goal>sources</goal>
197             </goals>
198           </execution>
199         </executions>
200       </plugin>
201       <plugin>
202         <groupId>org.apache.maven.plugins</groupId>
203         <artifactId>maven-source-plugin</artifactId>
204         <version>2.1.2</version><!-- Should be same version as in oss-parent-7 -->
205         <executions>
206           <execution>
207             <id>attach-sources</id>
208             <phase>verify</phase>
209             <goals>
210               <goal>jar</goal>
211             </goals>
212           </execution>
213         </executions>
214       </plugin>
215       <plugin>
216         <groupId>org.apache.maven.plugins</groupId>
217         <artifactId>maven-scm-plugin</artifactId>
218         <version>1.7</version>
219         <configuration>
220           <goals>install</goals>
221         </configuration>
222       </plugin>
223       <plugin>
224         <groupId>org.apache.maven.plugins</groupId>
225         <artifactId>maven-resources-plugin</artifactId>
226         <version>2.3</version>
227         <executions>
228           <execution>
229             <id>copy-resources</id>
230             <phase>pre-site</phase>
231             <goals>
232               <goal>copy-resources</goal>
233             </goals>
234             <configuration>
235               <outputDirectory>${project.build.directory}/filtered-site</outputDirectory>
236               <resources>
237                 <resource>
238                   <directory>src/site</directory>
239                   <filtering>true</filtering>
240                 </resource>
241               </resources>
242             </configuration>
243           </execution>
244         </executions>
245       </plugin>
246       <plugin>
247         <groupId>org.apache.maven.plugins</groupId>
248         <artifactId>maven-plugin-plugin</artifactId>
249         <version>3.2</version>
250         <executions>
251           <execution>
252             <id>generated-helpmojo</id>
253               <goals>
254                 <goal>helpmojo</goal>
255               </goals>
256           </execution>
257         </executions>
258       </plugin>
259       <plugin>
260         <groupId>org.apache.maven.plugins</groupId>
261         <artifactId>maven-invoker-plugin</artifactId>
262         <version>1.8</version>
263         <configuration>
264           <settingsFile>src/it/settings.xml</settingsFile>
265           <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
266           <postBuildHookScript>verify</postBuildHookScript>
267           <addTestClassPath>true</addTestClassPath>
268         </configuration>
269         <executions>
270           <execution>
271             <id>integration-test</id>
272             <goals>
273               <goal>install</goal>
274               <goal>run</goal>
275             </goals>
276           </execution>
277         </executions>
278       </plugin>
279     </plugins>
280     <pluginManagement>
281       <plugins>
282         <plugin>
283           <artifactId>maven-site-plugin</artifactId>
284           <version>3.3</version>
285           <dependencies>
286             <dependency><!-- add support for ssh/scp -->
287               <groupId>org.apache.maven.wagon</groupId>
288               <artifactId>wagon-ssh</artifactId>
289               <version>1.0</version>
290             </dependency>
291           </dependencies>
292         </plugin>
293       </plugins>
294     </pluginManagement>
295   </build>
296
297   <reporting>
298     <plugins>
299       <plugin>
300         <artifactId>maven-site-plugin</artifactId>
301         <version>3.3</version>
302         <configuration>
303           <siteDirectory>${project.build.directory}/filtered-site</siteDirectory>
304         </configuration>
305       </plugin>
306       <plugin>
307         <groupId>org.apache.maven.plugins</groupId>
308         <artifactId>maven-changes-plugin</artifactId>
309         <version>2.7.1</version>
310       </plugin>
311       <plugin>
312         <groupId>org.apache.maven.plugins</groupId>
313         <artifactId>maven-javadoc-plugin</artifactId>
314         <version>2.7</version><!-- Should be same version as in oss-parent-7 -->
315       </plugin>
316       <plugin>
317         <groupId>org.apache.maven.plugins</groupId>
318         <artifactId>maven-jxr-plugin</artifactId>
319         <version>2.3</version>
320       </plugin>
321       <plugin>
322         <groupId>org.apache.maven.plugins</groupId>
323         <artifactId>maven-pmd-plugin</artifactId>
324         <version>2.7.1</version>
325         <configuration>
326           <linkXref>true</linkXref>
327           <targetJdk>1.5</targetJdk>
328         </configuration>
329       </plugin>
330       <plugin>
331         <groupId>org.apache.maven.plugins</groupId>
332         <artifactId>maven-plugin-plugin</artifactId>
333         <version>3.2</version>
334       </plugin>
335     </plugins>
336   </reporting>
337
338 </project>