Added support for m2e
[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.6-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-core.version>4.3.7.Final</hibernate-core.version>
131     <hibernate-envers.version>4.3.7.Final</hibernate-envers.version>
132     <hibernate-validator.version>5.1.3.Final</hibernate-validator.version>
133     <el-api.version>3.0.0</el-api.version>
134     <maven.version>3.2.3</maven.version>
135     <maven-plugin-log4j.version>1.0.1</maven-plugin-log4j.version>
136     <scannotation.version>1.0.3</scannotation.version>
137   </properties>
138
139   <dependencies>
140     <dependency>
141       <groupId>org.apache.maven</groupId>
142       <artifactId>maven-core</artifactId>
143       <version>${maven.version}</version>
144       <exclusions>
145         <exclusion>
146           <groupId>org.codehaus.plexus</groupId>
147           <artifactId>plexus-utils</artifactId>
148         </exclusion>
149       </exclusions>
150     </dependency>
151     <dependency>
152       <groupId>org.apache.maven</groupId>
153       <artifactId>maven-plugin-api</artifactId>
154       <version>${maven.version}</version>
155     </dependency>
156     <dependency>
157       <groupId>org.hibernate</groupId>
158       <artifactId>hibernate-core</artifactId>
159       <version>${hibernate-core.version}</version>
160     </dependency>
161     <dependency>
162       <groupId>org.hibernate</groupId>
163       <artifactId>hibernate-envers</artifactId>
164       <version>${hibernate-envers.version}</version>
165     </dependency>
166     <dependency>
167       <groupId>org.hibernate</groupId>
168       <artifactId>hibernate-validator</artifactId>
169       <version>${hibernate-validator.version}</version>
170     </dependency>
171     <dependency>
172       <groupId>javax.el</groupId>
173       <artifactId>javax.el-api</artifactId>
174       <version>${el-api.version}</version>
175     </dependency>
176     <dependency>
177       <groupId>org.scannotation</groupId>
178       <artifactId>scannotation</artifactId>
179       <version>${scannotation.version}</version>
180     </dependency>
181     <dependency>
182       <groupId>com.pyx4j</groupId>
183       <artifactId>maven-plugin-log4j</artifactId>
184       <version>${maven-plugin-log4j.version}</version>
185       <exclusions>
186         <exclusion>
187           <groupId>org.apache.maven</groupId>
188           <artifactId>maven-artifact</artifactId>
189         </exclusion>
190         <exclusion>
191           <groupId>org.apache.maven</groupId>
192           <artifactId>maven-plugin-api</artifactId>
193         </exclusion>
194       </exclusions>
195     </dependency>
196   </dependencies>
197
198   <build>
199     <plugins>
200       <plugin>
201         <groupId>org.apache.maven.plugins</groupId>
202         <artifactId>maven-compiler-plugin</artifactId>
203         <version>2.0.2</version>
204         <configuration>
205           <source>1.6</source>
206           <target>1.6</target>
207           <encoding>utf8</encoding>
208           <showWarnings>true</showWarnings>
209         </configuration>
210       </plugin>
211       <plugin>
212         <groupId>org.apache.maven.plugins</groupId>
213         <artifactId>maven-dependency-plugin</artifactId>
214         <version>2.1</version>
215         <executions>
216           <execution>
217             <id>install</id>
218             <phase>install</phase>
219             <goals>
220               <goal>sources</goal>
221             </goals>
222           </execution>
223         </executions>
224       </plugin>
225       <plugin>
226         <groupId>org.apache.maven.plugins</groupId>
227         <artifactId>maven-source-plugin</artifactId>
228         <version>2.1.2</version><!-- Should be same version as in oss-parent-7 -->
229         <executions>
230           <execution>
231             <id>attach-sources</id>
232             <phase>verify</phase>
233             <goals>
234               <goal>jar</goal>
235             </goals>
236           </execution>
237         </executions>
238       </plugin>
239       <plugin>
240         <groupId>org.apache.maven.plugins</groupId>
241         <artifactId>maven-scm-plugin</artifactId>
242         <version>1.7</version>
243         <configuration>
244           <goals>install</goals>
245         </configuration>
246       </plugin>
247       <plugin>
248         <groupId>org.apache.maven.plugins</groupId>
249         <artifactId>maven-resources-plugin</artifactId>
250         <version>2.3</version>
251         <executions>
252           <execution>
253             <id>copy-resources</id>
254             <phase>pre-site</phase>
255             <goals>
256               <goal>copy-resources</goal>
257             </goals>
258             <configuration>
259               <outputDirectory>${project.build.directory}/filtered-site</outputDirectory>
260               <resources>
261                 <resource>
262                   <directory>src/site</directory>
263                   <filtering>true</filtering>
264                 </resource>
265               </resources>
266             </configuration>
267           </execution>
268         </executions>
269       </plugin>
270       <plugin>
271         <groupId>org.apache.maven.plugins</groupId>
272         <artifactId>maven-plugin-plugin</artifactId>
273         <version>3.2</version>
274         <executions>
275           <execution>
276             <id>generated-helpmojo</id>
277               <goals>
278                 <goal>helpmojo</goal>
279               </goals>
280           </execution>
281         </executions>
282       </plugin>
283       <plugin>
284         <groupId>org.apache.maven.plugins</groupId>
285         <artifactId>maven-invoker-plugin</artifactId>
286         <version>1.8</version>
287         <configuration>
288           <settingsFile>src/it/settings.xml</settingsFile>
289           <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
290           <postBuildHookScript>verify</postBuildHookScript>
291           <addTestClassPath>true</addTestClassPath>
292         </configuration>
293         <executions>
294           <execution>
295             <id>integration-test</id>
296             <goals>
297               <goal>install</goal>
298               <goal>run</goal>
299             </goals>
300           </execution>
301         </executions>
302       </plugin>
303     </plugins>
304     <pluginManagement>
305       <plugins>
306         <plugin>
307           <artifactId>maven-site-plugin</artifactId>
308           <version>3.3</version>
309           <configuration>
310             <siteDirectory>${project.build.directory}/filtered-site</siteDirectory>
311           </configuration>
312           <dependencies>
313             <dependency><!-- add support for ssh/scp -->
314               <groupId>org.apache.maven.wagon</groupId>
315               <artifactId>wagon-ssh</artifactId>
316               <version>1.0</version>
317             </dependency>
318           </dependencies>
319         </plugin>
320       </plugins>
321     </pluginManagement>
322   </build>
323
324   <reporting>
325     <plugins>
326       <plugin>
327         <groupId>org.apache.maven.plugins</groupId>
328         <artifactId>maven-changes-plugin</artifactId>
329         <version>2.7.1</version>
330       </plugin>
331       <plugin>
332         <groupId>org.apache.maven.plugins</groupId>
333         <artifactId>maven-javadoc-plugin</artifactId>
334         <version>2.7</version><!-- Should be same version as in oss-parent-7 -->
335       </plugin>
336       <plugin>
337         <groupId>org.apache.maven.plugins</groupId>
338         <artifactId>maven-jxr-plugin</artifactId>
339         <version>2.3</version>
340       </plugin>
341       <plugin>
342         <groupId>org.apache.maven.plugins</groupId>
343         <artifactId>maven-pmd-plugin</artifactId>
344         <version>2.7.1</version>
345         <configuration>
346           <linkXref>true</linkXref>
347           <targetJdk>1.5</targetJdk>
348         </configuration>
349       </plugin>
350       <plugin>
351         <groupId>org.apache.maven.plugins</groupId>
352         <artifactId>maven-plugin-plugin</artifactId>
353         <version>3.2</version>
354       </plugin>
355     </plugins>
356   </reporting>
357
358 </project>