157 lines
4.1 KiB
XML
157 lines
4.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq-parent</artifactId>
|
|
<version>3.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq-scala</artifactId>
|
|
<name>jOOQ Scala</name>
|
|
|
|
<properties>
|
|
<scala.version>2.9.1</scala.version>
|
|
</properties>
|
|
|
|
<build>
|
|
<sourceDirectory>src/main/scala</sourceDirectory>
|
|
<testSourceDirectory>src/test/scala</testSourceDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.scala-tools</groupId>
|
|
<artifactId>maven-scala-plugin</artifactId>
|
|
<version>2.15.2</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
<goal>testCompile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.3.2</version>
|
|
</plugin>
|
|
<!-- The jOOQ code generator plugin for Postgres / Sybase ASE / MySQL -->
|
|
<plugin>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq-codegen-maven</artifactId>
|
|
<version>3.0.0-SNAPSHOT</version>
|
|
<executions>
|
|
<execution>
|
|
<id>exec1</id>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
<configuration>
|
|
<jdbc>
|
|
<driver>org.h2.Driver</driver>
|
|
<url>jdbc:h2:~/test</url>
|
|
<schema>PUBLIC</schema>
|
|
<user>sa</user>
|
|
<password></password>
|
|
</jdbc>
|
|
<generator>
|
|
<name>org.jooq.util.DefaultGenerator</name>
|
|
<database>
|
|
<name>org.jooq.util.h2.H2Database</name>
|
|
<includes>.*</includes>
|
|
<excludes></excludes>
|
|
<dateAsTimestamp>true</dateAsTimestamp>
|
|
</database>
|
|
<generate>
|
|
<deprecated>false</deprecated>
|
|
<instanceFields>true</instanceFields>
|
|
<pojos>true</pojos>
|
|
</generate>
|
|
<target>
|
|
<packageName>org.jooq.scala.example.h2</packageName>
|
|
<directory>target/generated-sources/jooq-h2</directory>
|
|
</target>
|
|
</generator>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>1.3.168</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>release</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.scala-lang</groupId>
|
|
<artifactId>scala-library</artifactId>
|
|
<version>${scala.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.scala-lang</groupId>
|
|
<artifactId>scala-compiler</artifactId>
|
|
<version>${scala.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>1.2.16</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>1.3.168</version>
|
|
<type>jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.scalatest</groupId>
|
|
<artifactId>scalatest_2.9.1</artifactId>
|
|
<version>1.8</version>
|
|
<type>jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project> |