mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-13 21:01:01 +08:00
Configure multi-module layout for examples
This commit is contained in:
parent
d266fc37ba
commit
7ca0851abc
30
querydsl-examples/pom.xml
Normal file
30
querydsl-examples/pom.xml
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>com.querydsl</groupId>
|
||||
<artifactId>querydsl-root</artifactId>
|
||||
<version>4.0.2.BUILD-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<groupId>com.querydsl</groupId>
|
||||
<artifactId>querydsl-examples</artifactId>
|
||||
<name>Querydsl - Examples module</name>
|
||||
<description>Querydsl examples</description>
|
||||
<url>${project.homepage}</url>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<scm>
|
||||
<connection>${project.checkout}</connection>
|
||||
<developerConnection>${project.checkout}</developerConnection>
|
||||
<url>${project.githubpage}</url>
|
||||
</scm>
|
||||
|
||||
<modules>
|
||||
<module>querydsl-example-sql-spring</module>
|
||||
<module>querydsl-example-sql-guice</module>
|
||||
<module>querydsl-example-jpa-guice</module>
|
||||
</modules>
|
||||
</project>
|
||||
@ -117,7 +117,7 @@
|
||||
</executions>
|
||||
<configuration>
|
||||
<jdbcDriver>org.h2.Driver</jdbcDriver>
|
||||
<jdbcUrl>jdbc:h2:h2</jdbcUrl>
|
||||
<jdbcUrl>jdbc:h2:${project.basedir}/h2</jdbcUrl>
|
||||
<jdbcUser>sa</jdbcUser>
|
||||
<packageName>com.querydsl.example.sql.model</packageName>
|
||||
<targetFolder>${project.basedir}/target/generated-sources/java</targetFolder>
|
||||
|
||||
@ -137,7 +137,7 @@
|
||||
</executions>
|
||||
<configuration>
|
||||
<jdbcDriver>org.h2.Driver</jdbcDriver>
|
||||
<jdbcUrl>jdbc:h2:mem:;INIT=runscript from 'src/main/sql/001_schema.sql'</jdbcUrl>
|
||||
<jdbcUrl>jdbc:h2:mem:;INIT=runscript from '${project.basedir}/src/main/sql/001_schema.sql'</jdbcUrl>
|
||||
<jdbcUser>sa</jdbcUser>
|
||||
<customTypes>
|
||||
<customType>com.querydsl.sql.types.DateTimeType</customType>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user