File tree Expand file tree Collapse file tree 4 files changed +26
-5
lines changed Expand file tree Collapse file tree 4 files changed +26
-5
lines changed Original file line number Diff line number Diff line change 1616To run this example:
1717 - Have [ Apache Maven] ( https://maven.apache.org ) installed
1818 - Have [ H2 Sakila database] ( https://github.com/hibernate/sakila-h2 ) running
19+ - Remove the backslash ` \ ` in the occurence of ` \${basedir} ` (the backslash is needed for the
20+ tests to run correctly). You can do this from the command-line:
21+ ` sed -i.bak 's/\\${basedir}/${basedir}/' pom.xml && rm pom.xml.bak `
1922 - Issue the following commands from a command-line window opened in this folder:
2023 ` mvn generate-sources -Dh2.version=${h2.version} -Dhibernate.version=${hibernate.version} `
2124
Original file line number Diff line number Diff line change 4747 </execution >
4848 </executions >
4949 <configuration >
50- <templatePath >templates</templatePath >
50+ <templatePath >\ ${basedir} / templates</templatePath >
5151 </configuration >
5252 </plugin >
5353 </plugins >
Original file line number Diff line number Diff line change 1+ <!--
2+ ~ Copyright 2004 - 2025 Red Hat, Inc.
3+ ~
4+ ~ Licensed under the Apache License, Version 2.0 (the "License");
5+ ~ you may not use this file except in compliance with the License.
6+ ~ You may obtain a copy of the License at
7+ ~
8+ ~ http://www.apache.org/licenses/LICENSE-2.0
9+ ~
10+ ~ Unless required by applicable law or agreed to in writing, software
11+ ~ distributed under the License is distributed on an "AS IS" basis,
12+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ ~ See the License for the specific language governing permissions and
14+ ~ limitations under the License.
15+ -->
16+ To run this example:
17+ - Have [ Apache Maven] ( https://maven.apache.org ) installed
18+ - Have [ H2 Sakila database] ( https://github.com/hibernate/sakila-h2 ) running
19+ - Issue the following commands from a command-line window opened in this folder:
20+ ` mvn generate-sources -Dh2.version=${h2.version} -Dhibernate.version=${hibernate.version} `
21+
Original file line number Diff line number Diff line change 245245 </includes >
246246 </resource >
247247 </resources >
248- <delimiters >
249- <delimiter >${h2.version} </delimiter >
250- <delimiter >${hibernate.version} </delimiter >
251- </delimiters >
248+ <escapeString >${basedir} </escapeString >
252249 </configuration >
253250 </execution >
254251 </executions >
You can’t perform that action at this time.
0 commit comments