Configured hibernate-tutorials to use the plugin
[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>9</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.1.0-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     <contributor>
89       <name>Claus Graf</name>
90       <email>clausgraf@gmail.com</email>
91     </contributor>
92     <contributor>
93       <name>Joachim Van der Auwera</name>
94       <email>joachim@progs.be</email>
95     </contributor>
96     <contributor>
97       <name>Andreas Kuhtz</name>
98       <email>andreas.kuhtz@gmail.com</email>
99     </contributor>
100     <!--
101     <contributor>
102       <name></name>
103       <email></email>
104     </contributor>
105     -->
106   </contributors>
107
108   <distributionManagement>
109     <site>
110       <id>www.juplo.de</id>
111       <url>scp://juplo.de/var/www/juplo/hibernate4-maven-plugin-${project.version}</url>
112     </site>
113   </distributionManagement>
114
115   <ciManagement>
116     <system>Continuum</system>
117     <url>http://juplo.de/continuum/</url>
118     <notifiers>
119       <notifier>
120         <type>mail</type>
121         <address>kai@juplo.de</address>
122       </notifier>
123     </notifiers>
124   </ciManagement>
125
126   <properties>
127     <!-- Zeichensatz -->
128     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
129     <!-- Verwendete Versionen -->
130     <hibernate.version>4.3.9.Final</hibernate.version>
131     <hibernate-validator.version>5.1.3.Final</hibernate-validator.version>
132     <el-api.version>3.0.0</el-api.version>
133     <maven.version>3.3.3</maven.version>
134     <maven-plugin-log4j.version>1.0.1</maven-plugin-log4j.version>
135     <scannotation.version>1.0.4</scannotation.version>
136   </properties>
137
138   <dependencies>
139     <dependency>
140       <groupId>org.apache.maven</groupId>
141       <artifactId>maven-core</artifactId>
142       <version>${maven.version}</version>
143       <exclusions>
144         <exclusion>
145           <groupId>org.codehaus.plexus</groupId>
146           <artifactId>plexus-utils</artifactId>
147         </exclusion>
148       </exclusions>
149     </dependency>
150     <dependency>
151       <groupId>org.apache.maven</groupId>
152       <artifactId>maven-plugin-api</artifactId>
153       <version>${maven.version}</version>
154     </dependency>
155     <dependency>
156       <groupId>org.hibernate</groupId>
157       <artifactId>hibernate-core</artifactId>
158       <version>${hibernate.version}</version>
159     </dependency>
160     <dependency>
161       <groupId>org.hibernate</groupId>
162       <artifactId>hibernate-envers</artifactId>
163       <version>${hibernate.version}</version>
164     </dependency>
165     <dependency>
166       <groupId>org.hibernate</groupId>
167       <artifactId>hibernate-validator</artifactId>
168       <version>${hibernate-validator.version}</version>
169     </dependency>
170     <dependency>
171       <groupId>javax.el</groupId>
172       <artifactId>javax.el-api</artifactId>
173       <version>${el-api.version}</version>
174     </dependency>
175     <dependency>
176       <groupId>de.juplo</groupId>
177       <artifactId>scannotation</artifactId>
178       <version>${scannotation.version}</version>
179     </dependency>
180     <dependency>
181       <groupId>com.pyx4j</groupId>
182       <artifactId>maven-plugin-log4j</artifactId>
183       <version>${maven-plugin-log4j.version}</version>
184       <exclusions>
185         <exclusion>
186           <groupId>org.apache.maven</groupId>
187           <artifactId>maven-artifact</artifactId>
188         </exclusion>
189         <exclusion>
190           <groupId>org.apache.maven</groupId>
191           <artifactId>maven-plugin-api</artifactId>
192         </exclusion>
193       </exclusions>
194     </dependency>
195   </dependencies>
196
197   <build>
198     <plugins>
199       <plugin>
200         <groupId>org.apache.maven.plugins</groupId>
201         <artifactId>maven-compiler-plugin</artifactId>
202         <version>3.3</version>
203         <configuration>
204           <source>1.6</source>
205           <target>1.6</target>
206           <encoding>utf8</encoding>
207           <showWarnings>true</showWarnings>
208         </configuration>
209       </plugin>
210       <plugin>
211         <groupId>org.apache.maven.plugins</groupId>
212         <artifactId>maven-dependency-plugin</artifactId>
213         <version>2.10</version>
214         <executions>
215           <execution>
216             <id>install</id>
217             <phase>install</phase>
218             <goals>
219               <goal>sources</goal>
220             </goals>
221           </execution>
222         </executions>
223       </plugin>
224       <plugin>
225         <groupId>org.apache.maven.plugins</groupId>
226         <artifactId>maven-source-plugin</artifactId>
227         <version>2.1.2</version><!-- Should be same version as in oss-parent-7 -->
228         <executions>
229           <execution>
230             <id>attach-sources</id>
231             <phase>verify</phase>
232             <goals>
233               <goal>jar</goal>
234             </goals>
235           </execution>
236         </executions>
237       </plugin>
238       <plugin>
239         <groupId>org.apache.maven.plugins</groupId>
240         <artifactId>maven-javadoc-plugin</artifactId>
241         <version>2.7</version><!-- Should be same version as in oss-parent-7 -->
242         <executions>
243           <execution>
244             <id>attach-javadoc</id>
245             <phase>verify</phase>
246             <goals>
247               <goal>jar</goal>
248             </goals>
249           </execution>
250         </executions>
251       </plugin>
252       <plugin>
253         <groupId>org.apache.maven.plugins</groupId>
254         <artifactId>maven-scm-plugin</artifactId>
255         <version>1.9.4</version>
256         <configuration>
257           <goals>install</goals>
258         </configuration>
259       </plugin>
260       <plugin>
261         <groupId>org.apache.maven.plugins</groupId>
262         <artifactId>maven-resources-plugin</artifactId>
263         <version>2.7</version>
264         <executions>
265           <execution>
266             <id>copy-resources</id>
267             <phase>pre-site</phase>
268             <goals>
269               <goal>copy-resources</goal>
270             </goals>
271             <configuration>
272               <outputDirectory>${project.build.directory}/filtered-site</outputDirectory>
273               <resources>
274                 <resource>
275                   <directory>src/site</directory>
276                   <filtering>true</filtering>
277                 </resource>
278               </resources>
279             </configuration>
280           </execution>
281         </executions>
282       </plugin>
283       <plugin>
284         <groupId>org.apache.maven.plugins</groupId>
285         <artifactId>maven-plugin-plugin</artifactId>
286         <version>3.4</version>
287         <executions>
288           <execution>
289             <id>generated-helpmojo</id>
290               <goals>
291                 <goal>helpmojo</goal>
292               </goals>
293           </execution>
294         </executions>
295       </plugin>
296       <plugin>
297         <groupId>org.apache.maven.plugins</groupId>
298         <artifactId>maven-invoker-plugin</artifactId>
299         <version>1.10</version>
300         <configuration>
301           <settingsFile>src/it/settings.xml</settingsFile>
302           <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
303           <postBuildHookScript>verify</postBuildHookScript>
304           <addTestClassPath>true</addTestClassPath>
305         </configuration>
306         <executions>
307           <execution>
308             <id>integration-test</id>
309             <goals>
310               <goal>install</goal>
311               <goal>run</goal>
312             </goals>
313           </execution>
314         </executions>
315       </plugin>
316     </plugins>
317     <pluginManagement>
318       <plugins>
319         <plugin>
320           <artifactId>maven-site-plugin</artifactId>
321           <version>3.4</version>
322           <configuration>
323             <siteDirectory>${project.build.directory}/filtered-site</siteDirectory>
324           </configuration>
325           <dependencies>
326             <dependency><!-- add support for ssh/scp -->
327               <groupId>org.apache.maven.wagon</groupId>
328               <artifactId>wagon-ssh</artifactId>
329               <version>2.9</version>
330             </dependency>
331           </dependencies>
332         </plugin>
333       </plugins>
334     </pluginManagement>
335   </build>
336
337   <reporting>
338     <plugins>
339       <plugin>
340         <groupId>org.apache.maven.plugins</groupId>
341         <artifactId>maven-changes-plugin</artifactId>
342         <version>2.11</version>
343       </plugin>
344       <plugin>
345         <groupId>org.apache.maven.plugins</groupId>
346         <artifactId>maven-javadoc-plugin</artifactId>
347         <version>2.7</version><!-- Should be same version as in oss-parent-7 -->
348       </plugin>
349       <plugin>
350         <groupId>org.apache.maven.plugins</groupId>
351         <artifactId>maven-jxr-plugin</artifactId>
352         <version>2.5</version>
353       </plugin>
354       <plugin>
355         <groupId>org.apache.maven.plugins</groupId>
356         <artifactId>maven-pmd-plugin</artifactId>
357         <version>3.4</version>
358         <configuration>
359           <linkXref>true</linkXref>
360           <targetJdk>1.5</targetJdk>
361         </configuration>
362       </plugin>
363       <plugin>
364         <groupId>org.apache.maven.plugins</groupId>
365         <artifactId>maven-plugin-plugin</artifactId>
366         <version>3.4</version>
367       </plugin>
368     </plugins>
369   </reporting>
370
371 </project>