Prepared for the development of the next release 1.0.1
[jpa-converters] / pom.xml
1 <project
2     xmlns="http://maven.apache.org/POM/4.0.0"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5
6   <modelVersion>4.0.0</modelVersion>
7
8   <parent>
9     <groupId>org.sonatype.oss</groupId>
10     <artifactId>oss-parent</artifactId>
11     <version>9</version>
12   </parent>
13
14
15   <groupId>de.juplo</groupId>
16   <artifactId>jpa-converters</artifactId>
17   <name>Juplo - JPA converters</name>
18   <description>Collection of usefull converters for JPA</description>
19   <version>1.0.1-SNAPSHOT</version>
20   <packaging>jar</packaging>
21   <url>http://juplo.de/jpa-converters</url>
22
23
24   <prerequisites>
25     <maven>2.0.6</maven>
26   </prerequisites>
27
28
29   <licenses>
30     <license>
31       <name>The Apache Software License, Version 2.0</name>
32       <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
33       <distribution>repo</distribution>
34       <comments>A business-friendly OSS license</comments>
35     </license>
36   </licenses>
37
38   <scm>
39     <connection>scm:git:http://juplo.de/git/jpa-converters</connection>
40     <developerConnection>scm:git:ssh://juplo.de:/var/lib/git/juplo/jpa-converters</developerConnection>
41     <url>http://juplo.de/gitweb/?p=jpa-converters;a=summary</url>
42   </scm>
43
44
45   <developers>
46     <developer>
47       <id>kai</id>
48       <name>Kai Moritz</name>
49       <email>kai@juplo.de</email>
50     </developer>
51   </developers>
52
53   <contributors>
54   </contributors>
55
56
57   <properties>
58
59     <!-- character encoding -->
60     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
61
62     <!-- used versions -->
63     <h2.version>1.4.190</h2.version>
64     <hibernate.version>5.0.11.Final</hibernate.version>
65     <hibernate-jpa-2.1-api.version>1.0.0.Final</hibernate-jpa-2.1-api.version>
66     <junit.version>4.12</junit.version>
67     <slf4j.version>1.7.22</slf4j.version>
68
69   </properties>
70
71   <dependencies>
72
73     <!-- JPA -->
74     <dependency>
75       <groupId>org.hibernate.javax.persistence</groupId>
76       <artifactId>hibernate-jpa-2.1-api</artifactId>
77       <version>${hibernate-jpa-2.1-api.version}</version>
78     </dependency>
79
80     <!-- Logging -->
81     <dependency>
82       <groupId>org.slf4j</groupId>
83       <artifactId>slf4j-api</artifactId>
84       <version>${slf4j.version}</version>
85     </dependency>
86
87     <!-- Testing -->
88     <dependency>
89       <groupId>junit</groupId>
90       <artifactId>junit</artifactId>
91       <version>${junit.version}</version>
92       <scope>test</scope>
93     </dependency>
94     <dependency>
95       <groupId>org.hibernate</groupId>
96       <artifactId>hibernate-entitymanager</artifactId>
97       <version>${hibernate.version}</version>
98       <scope>test</scope>
99     </dependency>
100     <dependency>
101       <groupId>com.h2database</groupId>
102       <artifactId>h2</artifactId>
103       <version>${h2.version}</version>
104       <scope>test</scope>
105     </dependency>
106     <dependency>
107       <groupId>de.juplo.yourshouter.api</groupId>
108       <artifactId>data-model</artifactId>
109       <version>1.5.1</version>
110       <scope>test</scope>
111     </dependency>
112
113   </dependencies>
114
115
116   <repositories>
117     <repository>
118       <snapshots>
119         <enabled>false</enabled>
120       </snapshots>
121       <id>juplo</id>
122       <name>Repository for internal artifacts on juplo.de</name>
123       <url>http://juplo.de/maven2</url>
124     </repository>
125   </repositories>
126
127   <distributionManagement>
128     <repository>
129       <id>juplo</id>
130       <name>Repository for internal artifacts on juplo.de</name>
131       <url>scpexe://juplo.de/var/www/juplo.de/maven2</url>
132     </repository>
133     <site>
134       <id>juplo.de</id>
135       <url>scpexe://juplo.de/var/www/juplo.de/facebook-utils-${project.version}</url>
136     </site>
137   </distributionManagement>
138
139
140   <build>
141     <plugins>
142       <plugin>
143         <groupId>org.apache.maven.plugins</groupId>
144         <artifactId>maven-compiler-plugin</artifactId>
145         <version>3.3</version>
146         <configuration>
147           <source>1.8</source>
148           <target>1.8</target>
149           <encoding>utf8</encoding>
150           <showWarnings>true</showWarnings>
151         </configuration>
152       </plugin>
153       <plugin>
154         <groupId>org.apache.maven.plugins</groupId>
155         <artifactId>maven-source-plugin</artifactId>
156         <version>2.1.2</version><!-- Should be same version as in oss-parent-7 -->
157         <executions>
158           <execution>
159             <id>attach-sources</id>
160             <phase>verify</phase>
161             <goals>
162               <goal>jar</goal>
163             </goals>
164           </execution>
165         </executions>
166       </plugin>
167       <plugin>
168         <groupId>org.apache.maven.plugins</groupId>
169         <artifactId>maven-javadoc-plugin</artifactId>
170         <version>2.10.4</version>
171         <configuration>
172           <additionalparam>-Xdoclint:none</additionalparam>
173         </configuration>
174         <executions>
175           <execution>
176             <id>attach-javadoc</id>
177             <phase>verify</phase>
178             <goals>
179               <goal>jar</goal>
180             </goals>
181           </execution>
182         </executions>
183       </plugin>
184       <plugin>
185         <groupId>de.juplo</groupId>
186         <artifactId>hibernate-maven-plugin</artifactId>
187         <version>2.1.0</version>
188         <configuration>
189           <execute>false</execute>
190           <show>true</show>
191           <format>true</format>
192         </configuration>
193         <executions>
194           <execution>
195             <id>Schema for Persistence-Unit annotated</id>
196             <phase>process-test-classes</phase>
197             <goals>
198               <goal>create</goal>
199             </goals>
200             <configuration>
201               <persistenceUnit>annotated</persistenceUnit>
202               <outputFile>schema-annotated.sql</outputFile>
203             </configuration>
204           </execution>
205           <execution>
206             <id>Schema for Persistence-Unit xml</id>
207             <phase>process-test-classes</phase>
208             <goals>
209               <goal>create</goal>
210             </goals>
211             <configuration>
212               <persistenceUnit>xml</persistenceUnit>
213               <outputFile>schema-xml.sql</outputFile>
214             </configuration>
215           </execution>
216           <execution>
217             <id>Schema for Persistence-Unit data-model</id>
218             <phase>process-test-classes</phase>
219             <goals>
220               <goal>create</goal>
221             </goals>
222             <configuration>
223               <persistenceUnit>data-model</persistenceUnit>
224               <outputFile>schema-data-model.sql</outputFile>
225             </configuration>
226           </execution>
227         </executions>
228         <dependencies>
229           <dependency>
230             <groupId>com.h2database</groupId>
231             <artifactId>h2</artifactId>
232             <version>${h2.version}</version>
233           </dependency>
234           <dependency>
235             <groupId>de.juplo.yourshouter.api</groupId>
236             <artifactId>data-model</artifactId>
237             <version>1.5.1</version>
238           </dependency>
239         </dependencies>
240       </plugin>
241     </plugins>
242     <extensions>
243       <!-- Enabling the use of SSH -->
244       <extension>
245         <groupId>org.apache.maven.wagon</groupId>
246          <artifactId>wagon-ssh-external</artifactId>
247          <version>2.10</version>
248       </extension>
249     </extensions>
250   </build>
251
252
253   <reporting>
254     <plugins>
255       <plugin>
256         <groupId>org.apache.maven.plugins</groupId>
257         <artifactId>maven-changes-plugin</artifactId>
258         <version>2.11</version>
259       </plugin>
260       <plugin>
261         <groupId>org.apache.maven.plugins</groupId>
262         <artifactId>maven-javadoc-plugin</artifactId>
263         <version>2.10.3</version>
264       </plugin>
265       <plugin>
266         <groupId>org.apache.maven.plugins</groupId>
267         <artifactId>maven-jxr-plugin</artifactId>
268         <version>2.5</version>
269       </plugin>
270       <plugin>
271         <groupId>org.apache.maven.plugins</groupId>
272         <artifactId>maven-surefire-report-plugin</artifactId>
273         <version>2.18.1</version>
274       </plugin>
275       <plugin>
276         <groupId>org.apache.maven.plugins</groupId>
277         <artifactId>maven-scm-plugin</artifactId>
278         <version>1.9.4</version>
279         <configuration>
280           <goals>install</goals>
281         </configuration>
282       </plugin>
283       <plugin>
284         <groupId>org.apache.maven.plugins</groupId>
285         <artifactId>maven-pmd-plugin</artifactId>
286         <version>3.5</version>
287         <configuration>
288           <linkXref>true</linkXref>
289           <targetJdk>1.5</targetJdk>
290         </configuration>
291       </plugin>
292     </plugins>
293   </reporting>
294
295 </project>