1+ <?xml  version =" 1.0"  encoding =" UTF-8"  ?>
2+ <!-- 
3+   ~ Copyright 2018 - 2025 Red Hat, Inc. 
4+   ~ 
5+   ~ Licensed under the Apache License, Version 2.0 (the "License"); 
6+   ~ you may not use this file except in compliance with the License. 
7+   ~ You may obtain a copy of the License at 
8+   ~ 
9+   ~     http://www.apache.org/licenses/LICENSE-2.0 
10+   ~ 
11+   ~ Unless required by applicable law or agreed to in writing, software 
12+   ~ distributed under the License is distributed on an "AS IS" basis, 
13+   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
14+   ~ See the License for the specific language governing permissions and 
15+   ~ limitations under the License. 
16+   -->  
17+ <project  xmlns =" http://maven.apache.org/POM/4.0.0" 
18+          xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" 
19+          xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"  >
20+     <modelVersion >4.0.0</modelVersion >
21+ 
22+     <groupId >org.hibernate.tool.maven.test</groupId >
23+     <artifactId >generate-java-with-annotations</artifactId >
24+     <version >0.0.1-SNAPSHOT</version >
25+ 
26+     <dependencies >
27+         <dependency >
28+             <groupId >com.h2database</groupId >
29+             <artifactId >h2</artifactId >
30+             <version >@h2.version@</version >
31+         </dependency >
32+     </dependencies >
33+ 
34+     <build >
35+         <plugins >
36+             <plugin >
37+                 <groupId >org.hibernate.tool</groupId >
38+                 <artifactId >hibernate-tools-maven</artifactId >
39+                 <version >@project.version@</version >
40+                 <executions >
41+                     <execution >
42+                         <id >Entity generation</id >
43+                         <phase >generate-sources</phase >
44+                         <goals >
45+                             <goal >hbm2java</goal >
46+                         </goals >
47+                     </execution >
48+                 </executions >
49+             </plugin >
50+         </plugins >
51+     </build >
52+ 
53+ </project >
0 commit comments