Integrated integration test provided by Claus Graf (clausgraf@gmail.com)
[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.5-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   </contributors>
93
94   <distributionManagement>
95     <site>
96       <id>www.juplo.de</id>
97       <url>scp://juplo.de/var/www/juplo/hibernate4-maven-plugin-${project.version}</url>
98     </site>
99   </distributionManagement>
100
101   <ciManagement>
102     <system>Continuum</system>
103     <url>http://juplo.de/continuum/</url>
104     <notifiers>
105       <notifier>
106         <type>mail</type>
107         <address>kai@juplo.de</address>
108       </notifier>
109     </notifiers>
110   </ciManagement>
111
112   <properties>
113     <!-- Zeichensatz -->
114     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
115     <!-- Verwendete Versionen -->
116     <hibernate-core.version>4.3.1.Final</hibernate-core.version>
117     <hibernate-envers.version>4.3.1.Final</hibernate-envers.version>
118     <hibernate-validator.version>4.3.1.Final</hibernate-validator.version>
119     <maven.version>3.2.1</maven.version>
120     <maven-plugin-log4j.version>1.0.1</maven-plugin-log4j.version>
121     <scannotation.version>1.0.3</scannotation.version>
122   </properties>
123
124   <dependencies>
125     <dependency>
126       <groupId>org.apache.maven</groupId>
127       <artifactId>maven-core</artifactId>
128       <version>${maven.version}</version>
129       <exclusions>
130         <exclusion>
131           <groupId>org.codehaus.plexus</groupId>
132           <artifactId>plexus-utils</artifactId>
133         </exclusion>
134       </exclusions>
135     </dependency>
136     <dependency>
137       <groupId>org.apache.maven</groupId>
138       <artifactId>maven-plugin-api</artifactId>
139       <version>${maven.version}</version>
140     </dependency>
141     <dependency>
142       <groupId>org.hibernate</groupId>
143       <artifactId>hibernate-core</artifactId>
144       <version>${hibernate-core.version}</version>
145     </dependency>
146     <dependency>
147       <groupId>org.hibernate</groupId>
148       <artifactId>hibernate-envers</artifactId>
149       <version>${hibernate-envers.version}</version>
150     </dependency>
151     <dependency>
152       <groupId>org.hibernate</groupId>
153       <artifactId>hibernate-validator</artifactId>
154       <version>${hibernate-validator.version}</version>
155     </dependency>
156     <dependency>
157       <groupId>org.scannotation</groupId>
158       <artifactId>scannotation</artifactId>
159       <version>${scannotation.version}</version>
160     </dependency>
161     <dependency>
162       <groupId>com.pyx4j</groupId>
163       <artifactId>maven-plugin-log4j</artifactId>
164       <version>${maven-plugin-log4j.version}</version>
165       <exclusions>
166         <exclusion>
167           <groupId>org.apache.maven</groupId>
168           <artifactId>maven-artifact</artifactId>
169         </exclusion>
170         <exclusion>
171           <groupId>org.apache.maven</groupId>
172           <artifactId>maven-plugin-api</artifactId>
173         </exclusion>
174       </exclusions>
175     </dependency>
176   </dependencies>
177
178   <build>
179     <plugins>
180       <plugin>
181         <groupId>org.apache.maven.plugins</groupId>
182         <artifactId>maven-compiler-plugin</artifactId>
183         <version>2.0.2</version>
184         <configuration>
185           <source>1.6</source>
186           <target>1.6</target>
187           <encoding>utf8</encoding>
188           <showWarnings>true</showWarnings>
189         </configuration>
190       </plugin>
191       <plugin>
192         <groupId>org.apache.maven.plugins</groupId>
193         <artifactId>maven-dependency-plugin</artifactId>
194         <version>2.1</version>
195         <executions>
196           <execution>
197             <id>install</id>
198             <phase>install</phase>
199             <goals>
200               <goal>sources</goal>
201             </goals>
202           </execution>
203         </executions>
204       </plugin>
205       <plugin>
206         <groupId>org.apache.maven.plugins</groupId>
207         <artifactId>maven-source-plugin</artifactId>
208         <version>2.1.2</version><!-- Should be same version as in oss-parent-7 -->
209         <executions>
210           <execution>
211             <id>attach-sources</id>
212             <phase>verify</phase>
213             <goals>
214               <goal>jar</goal>
215             </goals>
216           </execution>
217         </executions>
218       </plugin>
219       <plugin>
220         <groupId>org.apache.maven.plugins</groupId>
221         <artifactId>maven-scm-plugin</artifactId>
222         <version>1.7</version>
223         <configuration>
224           <goals>install</goals>
225         </configuration>
226       </plugin>
227       <plugin>
228         <groupId>org.apache.maven.plugins</groupId>
229         <artifactId>maven-resources-plugin</artifactId>
230         <version>2.3</version>
231         <executions>
232           <execution>
233             <id>copy-resources</id>
234             <phase>pre-site</phase>
235             <goals>
236               <goal>copy-resources</goal>
237             </goals>
238             <configuration>
239               <outputDirectory>${project.build.directory}/filtered-site</outputDirectory>
240               <resources>
241                 <resource>
242                   <directory>src/site</directory>
243                   <filtering>true</filtering>
244                 </resource>
245               </resources>
246             </configuration>
247           </execution>
248         </executions>
249       </plugin>
250       <plugin>
251         <groupId>org.apache.maven.plugins</groupId>
252         <artifactId>maven-plugin-plugin</artifactId>
253         <version>3.2</version>
254         <executions>
255           <execution>
256             <id>generated-helpmojo</id>
257               <goals>
258                 <goal>helpmojo</goal>
259               </goals>
260           </execution>
261         </executions>
262       </plugin>
263       <plugin>
264         <groupId>org.apache.maven.plugins</groupId>
265         <artifactId>maven-invoker-plugin</artifactId>
266         <version>1.8</version>
267         <configuration>
268           <settingsFile>src/it/settings.xml</settingsFile>
269           <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
270           <postBuildHookScript>verify</postBuildHookScript>
271           <addTestClassPath>true</addTestClassPath>
272         </configuration>
273         <executions>
274           <execution>
275             <id>integration-test</id>
276             <goals>
277               <goal>install</goal>
278               <goal>run</goal>
279             </goals>
280           </execution>
281         </executions>
282       </plugin>
283     </plugins>
284     <pluginManagement>
285       <plugins>
286         <plugin>
287           <artifactId>maven-site-plugin</artifactId>
288           <version>3.3</version>
289           <configuration>
290             <siteDirectory>${project.build.directory}/filtered-site</siteDirectory>
291           </configuration>
292           <dependencies>
293             <dependency><!-- add support for ssh/scp -->
294               <groupId>org.apache.maven.wagon</groupId>
295               <artifactId>wagon-ssh</artifactId>
296               <version>1.0</version>
297             </dependency>
298           </dependencies>
299         </plugin>
300       </plugins>
301     </pluginManagement>
302   </build>
303
304   <reporting>
305     <plugins>
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>