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