Fixed failure when target/classes does not exist when runnin mvn test phase
[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.3-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   </contributors>
65
66   <distributionManagement>
67     <site>
68       <id>www.juplo.de</id>
69       <url>scp://juplo.de/var/www/juplo/hibernate4-maven-plugin-${project.version}</url>
70     </site>
71   </distributionManagement>
72
73   <ciManagement>
74     <system>Continuum</system>
75     <url>http://juplo.de/continuum/</url>
76     <notifiers>
77       <notifier>
78         <type>mail</type>
79         <address>kai@juplo.de</address>
80       </notifier>
81     </notifiers>
82   </ciManagement>
83
84   <properties>
85     <!-- Zeichensatz -->
86     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
87     <!-- Verwendete Versionen -->
88     <hibernate-core.version>4.2.3.Final</hibernate-core.version>
89     <maven.version>3.0.4</maven.version>
90     <maven-plugin-log4j.version>1.0.1</maven-plugin-log4j.version>
91     <scannotation.version>1.0.2</scannotation.version>
92   </properties>
93
94   <dependencies>
95     <dependency>
96       <groupId>org.apache.maven</groupId>
97       <artifactId>maven-core</artifactId>
98       <version>${maven.version}</version>
99       <exclusions>
100         <exclusion>
101           <groupId>org.codehaus.plexus</groupId>
102           <artifactId>plexus-utils</artifactId>
103         </exclusion>
104       </exclusions>
105     </dependency>
106     <dependency>
107       <groupId>org.apache.maven</groupId>
108       <artifactId>maven-plugin-api</artifactId>
109       <version>${maven.version}</version>
110     </dependency>
111     <dependency>
112       <groupId>org.hibernate</groupId>
113       <artifactId>hibernate-core</artifactId>
114       <version>${hibernate-core.version}</version>
115     </dependency>
116     <dependency>
117       <groupId>net.sf.scannotation</groupId>
118       <artifactId>scannotation</artifactId>
119       <version>${scannotation.version}</version>
120     </dependency>
121     <dependency>
122       <groupId>com.pyx4j</groupId>
123       <artifactId>maven-plugin-log4j</artifactId>
124       <version>${maven-plugin-log4j.version}</version>
125       <exclusions>
126         <exclusion>
127           <groupId>org.apache.maven</groupId>
128           <artifactId>maven-artifact</artifactId>
129         </exclusion>
130         <exclusion>
131           <groupId>org.apache.maven</groupId>
132           <artifactId>maven-plugin-api</artifactId>
133         </exclusion>
134       </exclusions>
135     </dependency>
136   </dependencies>
137
138   <build>
139     <plugins>
140       <plugin>
141         <groupId>org.apache.maven.plugins</groupId>
142         <artifactId>maven-compiler-plugin</artifactId>
143         <version>2.0.2</version>
144         <configuration>
145           <source>1.6</source>
146           <target>1.6</target>
147           <encoding>utf8</encoding>
148           <showWarnings>true</showWarnings>
149         </configuration>
150       </plugin>
151       <plugin>
152         <groupId>org.apache.maven.plugins</groupId>
153         <artifactId>maven-dependency-plugin</artifactId>
154         <version>2.1</version>
155         <executions>
156           <execution>
157             <id>install</id>
158             <phase>install</phase>
159             <goals>
160               <goal>sources</goal>
161             </goals>
162           </execution>
163         </executions>
164       </plugin>
165       <plugin>
166         <groupId>org.apache.maven.plugins</groupId>
167         <artifactId>maven-source-plugin</artifactId>
168         <version>2.1.2</version><!-- Should be same version as in oss-parent-7 -->
169         <executions>
170           <execution>
171             <id>attach-sources</id>
172             <phase>verify</phase>
173             <goals>
174               <goal>jar</goal>
175             </goals>
176           </execution>
177         </executions>
178       </plugin>
179       <plugin>
180         <groupId>org.apache.maven.plugins</groupId>
181         <artifactId>maven-scm-plugin</artifactId>
182         <version>1.7</version>
183         <configuration>
184           <goals>install</goals>
185         </configuration>
186       </plugin>
187       <plugin>
188         <groupId>org.apache.maven.plugins</groupId>
189         <artifactId>maven-resources-plugin</artifactId>
190         <version>2.3</version>
191         <executions>
192           <execution>
193             <id>copy-resources</id>
194             <phase>pre-site</phase>
195             <goals>
196               <goal>copy-resources</goal>
197             </goals>
198             <configuration>
199               <outputDirectory>${project.build.directory}/filtered-site</outputDirectory>
200               <resources>
201                 <resource>
202                   <directory>src/site</directory>
203                   <filtering>true</filtering>
204                 </resource>
205               </resources>
206             </configuration>
207           </execution>
208         </executions>
209       </plugin>
210       <plugin>
211         <groupId>org.apache.maven.plugins</groupId>
212         <artifactId>maven-plugin-plugin</artifactId>
213         <version>3.2</version>
214         <executions>
215           <execution>
216             <id>generated-helpmojo</id>
217               <goals>
218                 <goal>helpmojo</goal>
219               </goals>
220           </execution>
221         </executions>
222       </plugin>
223     </plugins>
224   </build>
225
226   <reporting>
227     <plugins>
228       <plugin>
229         <artifactId>maven-site-plugin</artifactId>
230         <version>2.1</version>
231         <configuration>
232           <siteDirectory>${project.build.directory}/filtered-site</siteDirectory>
233         </configuration>
234       </plugin>
235       <plugin>
236         <groupId>org.apache.maven.plugins</groupId>
237         <artifactId>maven-changes-plugin</artifactId>
238         <version>2.7.1</version>
239       </plugin>
240       <plugin>
241         <groupId>org.apache.maven.plugins</groupId>
242         <artifactId>maven-javadoc-plugin</artifactId>
243         <version>2.7</version><!-- Should be same version as in oss-parent-7 -->
244       </plugin>
245       <plugin>
246         <groupId>org.apache.maven.plugins</groupId>
247         <artifactId>maven-jxr-plugin</artifactId>
248         <version>2.3</version>
249       </plugin>
250       <plugin>
251         <groupId>org.apache.maven.plugins</groupId>
252         <artifactId>maven-pmd-plugin</artifactId>
253         <version>2.7.1</version>
254         <configuration>
255           <linkXref>true</linkXref>
256           <targetJdk>1.5</targetJdk>
257         </configuration>
258       </plugin>
259       <plugin>
260         <groupId>org.apache.maven.plugins</groupId>
261         <artifactId>maven-plugin-plugin</artifactId>
262         <version>3.2</version>
263       </plugin>
264     </plugins>
265   </reporting>
266
267 </project>