Added versions-maven-plugin and freezed the versions for all used plugins
[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   <groupId>de.juplo</groupId>
7   <artifactId>hibernate-maven-plugin</artifactId>
8   <name>Hibernate Maven Plugin</name>
9   <description>A simple plugin for generating a database-schema from Hibernate-Mappings</description>
10   <version>2.1.2-SNAPSHOT</version>
11   <packaging>maven-plugin</packaging>
12   <url>http://juplo.de/hibernate-maven-plugin/index.html</url>
13
14   <prerequisites>
15     <maven>3.0.5</maven>
16   </prerequisites>
17
18   <licenses>
19     <license>
20       <name>The Apache Software License, Version 2.0</name>
21       <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
22       <distribution>repo</distribution>
23       <comments>A business-friendly OSS license</comments>
24     </license>
25   </licenses>
26
27   <scm>
28     <connection>scm:git:http://juplo.de/git/hibernate-maven-plugin</connection>
29     <developerConnection>scm:git:ssh://juplo.de:/var/lib/git/juplo/hibernate-maven-plugin</developerConnection>
30     <url>http://juplo.de/gitweb/?p=hibernate-maven-plugin;a=summary</url>
31   </scm>
32
33   <developers>
34     <developer>
35       <id>kai</id>
36       <name>Kai Moritz</name>
37       <email>kai@juplo.de</email>
38     </developer>
39   </developers>
40
41   <contributors>
42     <contributor>
43       <name>Adriano Machado</name>
44       <email>adriano.m.machado@hotmail.com</email>
45     </contributor>
46     <contributor>
47       <name>Lorenzo Nicora</name>
48       <email>lorenzo.nicora@nicus.it</email>
49     </contributor>
50     <contributor>
51       <name>Eduard Szente</name>
52       <email>eduard.szente@gmail.com</email>
53     </contributor>
54     <contributor>
55       <name>Stephen Johnson</name>
56       <email>stejohns@redhat.com</email>
57     </contributor>
58     <contributor>
59       <name>Victor Tatai</name>
60       <email>vtatai@gmail.com</email>
61     </contributor>
62     <contributor>
63       <name>Erik-Berndt Scheper</name>
64       <email>erik.berndt.scheper@gmail.com</email>
65     </contributor>
66     <contributor>
67       <name>Guido Wimmel</name>
68       <email>Wimmel.Guido@swm.de</email>
69     </contributor>
70     <contributor>
71       <name>Joel Johnson</name>
72       <email>mrjoel@lixil.net</email>
73     </contributor>
74     <contributor>
75       <name>Paul K. Moore</name>
76       <email>paulkmoore@gmail.com</email>
77     </contributor>
78     <contributor>
79       <name>Mark Robinson</name>
80       <email>mark@mrobinson.ca</email>
81     </contributor>
82     <contributor>
83       <name>Claus Graf</name>
84       <email>clausgraf@gmail.com</email>
85     </contributor>
86     <contributor>
87       <name>Joachim Van der Auwera</name>
88       <email>joachim@progs.be</email>
89     </contributor>
90     <contributor>
91       <name>Andreas Kuhtz</name>
92       <email>andreas.kuhtz@gmail.com</email>
93     </contributor>
94     <contributor>
95       <name>Heer Fabio</name>
96       <email>fabio.heer@dvbern.ch</email>
97     </contributor>
98     <!--
99     <contributor>
100       <name></name>
101       <email></email>
102     </contributor>
103     -->
104   </contributors>
105
106   <distributionManagement>
107     <snapshotRepository>
108       <id>ossrh</id>
109       <url>https://oss.sonatype.org/content/repositories/snapshots</url>
110     </snapshotRepository>
111     <repository>
112       <id>ossrh</id>
113       <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
114     </repository>
115   </distributionManagement>
116
117   <ciManagement>
118     <system>Continuum</system>
119     <url>http://juplo.de/continuum/</url>
120     <notifiers>
121       <notifier>
122         <type>mail</type>
123         <address>kai@juplo.de</address>
124       </notifier>
125     </notifiers>
126   </ciManagement>
127
128   <properties>
129     <!-- Zeichensatz -->
130     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
131     <!-- Verwendete Versionen -->
132     <hibernate.version>5.2.4.Final</hibernate.version>
133     <hibernate-validator.version>5.3.1.Final</hibernate-validator.version>
134     <el-api.version>3.0.0</el-api.version>
135     <maven.version>3.3.3</maven.version>
136     <maven-plugin-log4j.version>1.0.1</maven-plugin-log4j.version>
137     <scannotation.version>1.0.4</scannotation.version>
138   </properties>
139
140   <dependencies>
141     <dependency>
142       <groupId>org.apache.maven</groupId>
143       <artifactId>maven-core</artifactId>
144       <version>${maven.version}</version>
145       <exclusions>
146         <exclusion>
147           <groupId>org.codehaus.plexus</groupId>
148           <artifactId>plexus-utils</artifactId>
149         </exclusion>
150       </exclusions>
151     </dependency>
152     <dependency>
153       <groupId>org.apache.maven</groupId>
154       <artifactId>maven-plugin-api</artifactId>
155       <version>${maven.version}</version>
156     </dependency>
157     <dependency>
158       <groupId>org.hibernate</groupId>
159       <artifactId>hibernate-core</artifactId>
160       <version>${hibernate.version}</version>
161     </dependency>
162     <dependency>
163       <groupId>org.hibernate</groupId>
164       <artifactId>hibernate-envers</artifactId>
165       <version>${hibernate.version}</version>
166     </dependency>
167     <dependency>
168       <groupId>org.hibernate</groupId>
169       <artifactId>hibernate-validator</artifactId>
170       <version>${hibernate-validator.version}</version>
171     </dependency>
172     <dependency>
173       <groupId>javax.el</groupId>
174       <artifactId>javax.el-api</artifactId>
175       <version>${el-api.version}</version>
176     </dependency>
177     <dependency>
178       <groupId>de.juplo</groupId>
179       <artifactId>scannotation</artifactId>
180       <version>${scannotation.version}</version>
181     </dependency>
182     <dependency>
183       <groupId>com.pyx4j</groupId>
184       <artifactId>maven-plugin-log4j</artifactId>
185       <version>${maven-plugin-log4j.version}</version>
186       <exclusions>
187         <exclusion>
188           <groupId>org.apache.maven</groupId>
189           <artifactId>maven-artifact</artifactId>
190         </exclusion>
191         <exclusion>
192           <groupId>org.apache.maven</groupId>
193           <artifactId>maven-plugin-api</artifactId>
194         </exclusion>
195       </exclusions>
196     </dependency>
197   </dependencies>
198
199   <build>
200     <plugins>
201       <plugin>
202         <groupId>org.sonatype.plugins</groupId>
203         <artifactId>nexus-staging-maven-plugin</artifactId>
204         <extensions>true</extensions>
205         <configuration>
206           <serverId>ossrh</serverId>
207           <nexusUrl>https://oss.sonatype.org/</nexusUrl>
208           <autoReleaseAfterClose>true</autoReleaseAfterClose>
209         </configuration>
210       </plugin>
211       <plugin>
212         <groupId>org.apache.maven.plugins</groupId>
213         <artifactId>maven-gpg-plugin</artifactId>
214         <executions>
215           <execution>
216             <id>sign-artifacts</id>
217             <phase>verify</phase>
218             <goals>
219               <goal>sign</goal>
220             </goals>
221           </execution>
222         </executions>
223       </plugin>
224       <plugin>
225         <groupId>org.apache.maven.plugins</groupId>
226         <artifactId>maven-compiler-plugin</artifactId>
227         <configuration>
228           <source>1.6</source>
229           <target>1.6</target>
230           <encoding>utf8</encoding>
231           <showWarnings>true</showWarnings>
232         </configuration>
233       </plugin>
234       <plugin>
235         <groupId>org.apache.maven.plugins</groupId>
236         <artifactId>maven-dependency-plugin</artifactId>
237         <executions>
238           <execution>
239             <id>install</id>
240             <phase>install</phase>
241             <goals>
242               <goal>sources</goal>
243             </goals>
244           </execution>
245         </executions>
246       </plugin>
247       <plugin>
248         <groupId>org.apache.maven.plugins</groupId>
249         <artifactId>maven-source-plugin</artifactId>
250         <executions>
251           <execution>
252             <id>attach-sources</id>
253             <goals>
254               <goal>jar</goal>
255             </goals>
256           </execution>
257         </executions>
258       </plugin>
259       <plugin>
260         <groupId>org.apache.maven.plugins</groupId>
261         <artifactId>maven-javadoc-plugin</artifactId>
262         <executions>
263           <execution>
264             <id>attach-javadoc</id>
265             <goals>
266               <goal>jar</goal>
267             </goals>
268           </execution>
269         </executions>
270       </plugin>
271       <plugin>
272         <groupId>org.apache.maven.plugins</groupId>
273         <artifactId>maven-scm-plugin</artifactId>
274         <configuration>
275           <goals>install</goals>
276         </configuration>
277       </plugin>
278       <plugin>
279         <groupId>org.apache.maven.plugins</groupId>
280         <artifactId>maven-resources-plugin</artifactId>
281         <executions>
282           <execution>
283             <id>copy-resources</id>
284             <phase>pre-site</phase>
285             <goals>
286               <goal>copy-resources</goal>
287             </goals>
288             <configuration>
289               <outputDirectory>${project.build.directory}/filtered-site</outputDirectory>
290               <resources>
291                 <resource>
292                   <directory>src/site</directory>
293                   <filtering>true</filtering>
294                 </resource>
295               </resources>
296             </configuration>
297           </execution>
298         </executions>
299       </plugin>
300       <plugin>
301         <groupId>org.apache.maven.plugins</groupId>
302         <artifactId>maven-plugin-plugin</artifactId>
303         <executions>
304           <execution>
305             <id>generated-helpmojo</id>
306             <goals>
307               <goal>helpmojo</goal>
308             </goals>
309           </execution>
310         </executions>
311       </plugin>
312       <plugin>
313         <groupId>org.apache.maven.plugins</groupId>
314         <artifactId>maven-invoker-plugin</artifactId>
315         <configuration>
316           <settingsFile>src/it/settings.xml</settingsFile>
317           <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
318           <postBuildHookScript>verify</postBuildHookScript>
319           <addTestClassPath>true</addTestClassPath>
320           <skipInvocation>${maven.test.skip}</skipInvocation>
321         </configuration>
322         <executions>
323           <execution>
324             <id>integration-test</id>
325             <goals>
326               <goal>install</goal>
327               <goal>run</goal>
328             </goals>
329           </execution>
330         </executions>
331       </plugin>
332       <plugin>
333         <groupId>org.codehaus.mojo</groupId>
334         <artifactId>versions-maven-plugin</artifactId>
335         <executions>
336           <execution>
337             <id>report</id>
338             <phase>prepare-package</phase>
339             <goals>
340               <goal>dependency-updates-report</goal>
341               <goal>plugin-updates-report</goal>
342             </goals>
343           </execution>
344         </executions>
345       </plugin>
346     </plugins>
347     <pluginManagement>
348       <plugins>
349         <plugin>
350           <groupId>org.sonatype.plugins</groupId>
351           <artifactId>nexus-staging-maven-plugin</artifactId>
352           <version>1.6.8</version>
353         </plugin>
354         <plugin>
355           <groupId>org.apache.maven.plugins</groupId>
356           <artifactId>maven-gpg-plugin</artifactId>
357           <version>1.6</version>
358         </plugin>
359         <plugin>
360           <groupId>org.apache.maven.plugins</groupId>
361           <artifactId>maven-compiler-plugin</artifactId>
362           <version>3.8.0</version>
363         </plugin>
364         <plugin>
365           <groupId>org.apache.maven.plugins</groupId>
366           <artifactId>maven-clean-plugin</artifactId>
367           <version>3.1.0</version>
368         </plugin>
369         <plugin>
370           <groupId>org.apache.maven.plugins</groupId>
371           <artifactId>maven-deploy-plugin</artifactId>
372           <version>3.0.0-M1</version>
373         </plugin>
374         <plugin>
375           <groupId>org.apache.maven.plugins</groupId>
376           <artifactId>maven-install-plugin</artifactId>
377           <version>3.0.0-M1</version>
378         </plugin>
379         <plugin>
380           <groupId>org.apache.maven.plugins</groupId>
381           <artifactId>maven-jar-plugin</artifactId>
382           <version>3.1.1</version>
383         </plugin>
384         <plugin>
385           <groupId>org.apache.maven.plugins</groupId>
386           <artifactId>maven-surefire-plugin</artifactId>
387           <version>3.0.0-M3</version>
388         </plugin>
389         <plugin>
390           <groupId>org.apache.maven.plugins</groupId>
391           <artifactId>maven-dependency-plugin</artifactId>
392           <version>3.1.1</version>
393         </plugin>
394         <plugin>
395           <groupId>org.apache.maven.plugins</groupId>
396           <artifactId>maven-source-plugin</artifactId>
397           <version>3.0.1</version>
398         </plugin>
399         <plugin>
400           <groupId>org.apache.maven.plugins</groupId>
401           <artifactId>maven-javadoc-plugin</artifactId>
402           <version>3.0.1</version>
403           <configuration>
404             <additionalparam>-Xdoclint:none</additionalparam>
405             <tags>
406               <tag>
407                 <name>goal</name>
408                 <placement>a</placement>
409                 <head>Goal:</head>
410               </tag>
411               <tag>
412                 <name>phase</name>
413                 <placement>a</placement>
414                 <head>Phase:</head>
415               </tag>
416               <tag>
417                 <name>threadSafe</name>
418                 <placement>a</placement>
419                 <head>Thread Safe:</head>
420               </tag>
421               <tag>
422                 <name>requiresDependencyResolution</name>
423                 <placement>a</placement>
424                 <head>Requires Dependency Resolution:</head>
425               </tag>
426               <tag>
427                 <name>requiresProject</name>
428                 <placement>a</placement>
429                 <head>Requires Project:</head>
430               </tag>
431             </tags>
432           </configuration>
433         </plugin>
434         <plugin>
435           <groupId>org.apache.maven.plugins</groupId>
436           <artifactId>maven-scm-plugin</artifactId>
437           <version>1.11.2</version>
438           <configuration>
439             <goals>install</goals>
440           </configuration>
441         </plugin>
442         <plugin>
443           <groupId>org.apache.maven.plugins</groupId>
444           <artifactId>maven-resources-plugin</artifactId>
445           <version>3.1.0</version>
446         </plugin>
447         <plugin>
448           <groupId>org.apache.maven.plugins</groupId>
449           <artifactId>maven-plugin-plugin</artifactId>
450           <version>3.6.0</version>
451         </plugin>
452         <plugin>
453           <groupId>org.apache.maven.plugins</groupId>
454           <artifactId>maven-invoker-plugin</artifactId>
455           <version>3.2.0</version>
456         </plugin>
457         <plugin>
458           <groupId>org.codehaus.mojo</groupId>
459           <artifactId>versions-maven-plugin</artifactId>
460           <version>2.7</version>
461         </plugin>
462         <plugin>
463           <groupId>org.apache.maven.plugins</groupId>
464           <artifactId>maven-site-plugin</artifactId>
465           <version>3.7.1</version>
466           <dependencies>
467             <dependency><!-- add support for ssh/scp -->
468               <groupId>org.apache.maven.wagon</groupId>
469               <artifactId>wagon-ssh-external</artifactId>
470               <version>2.12</version>
471             </dependency>
472           </dependencies>
473         </plugin>
474         <plugin>
475           <groupId>org.apache.maven.plugins</groupId>
476           <artifactId>maven-changes-plugin</artifactId>
477           <version>2.12.1</version>
478         </plugin>
479         <plugin>
480           <groupId>org.apache.maven.plugins</groupId>
481           <artifactId>maven-jxr-plugin</artifactId>
482           <version>3.0.0</version>
483         </plugin>
484         <plugin>
485           <groupId>org.apache.maven.plugins</groupId>
486           <artifactId>maven-pmd-plugin</artifactId>
487           <version>3.11.0</version>
488         </plugin>
489       </plugins>
490     </pluginManagement>
491   </build>
492
493   <reporting>
494     <plugins>
495       <plugin>
496         <groupId>org.apache.maven.plugins</groupId>
497         <artifactId>maven-site-plugin</artifactId>
498         <configuration>
499           <siteDirectory>${project.build.directory}/filtered-site</siteDirectory>
500         </configuration>
501       </plugin>
502       <plugin>
503         <groupId>org.apache.maven.plugins</groupId>
504         <artifactId>maven-changes-plugin</artifactId>
505       </plugin>
506       <plugin>
507         <groupId>org.apache.maven.plugins</groupId>
508         <artifactId>maven-javadoc-plugin</artifactId>
509       </plugin>
510       <plugin>
511         <groupId>org.apache.maven.plugins</groupId>
512         <artifactId>maven-jxr-plugin</artifactId>
513       </plugin>
514       <plugin>
515         <groupId>org.apache.maven.plugins</groupId>
516         <artifactId>maven-pmd-plugin</artifactId>
517         <configuration>
518           <linkXref>true</linkXref>
519           <targetJdk>1.5</targetJdk>
520         </configuration>
521       </plugin>
522       <plugin>
523         <groupId>org.apache.maven.plugins</groupId>
524         <artifactId>maven-plugin-plugin</artifactId>
525       </plugin>
526     </plugins>
527   </reporting>
528
529 </project>