HHH-15420 Getting Started Guide Code does not build

This commit is contained in:
Andrea Boriero 2022-08-01 18:59:47 +02:00 committed by Andrea Boriero
parent 2dbf38ef7b
commit e80fb85dae
2 changed files with 15 additions and 5 deletions

View File

@ -146,8 +146,8 @@ task buildTutorialZip(type: Zip) {task->
expand(
version: project.version,
slf4j: "1.7.5",
junit: testLibs.versions.junit4,
h2: dbLibs.versions.h2
junit: testLibs.versions.junit4.get(),
h2: dbLibs.versions.h2.get()
)
tasks.renderGettingStartedGuides.dependsOn task
}

View File

@ -25,9 +25,6 @@
<modules>
<module>basic</module>
<module>annotations</module>
<module>entitymanager</module>
<module>envers</module>
<module>osgi</module>
</modules>
<dependencies>
@ -72,6 +69,19 @@
<directory>src/test/resources</directory>
</testResource>
</testResources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>