124 lines
4.8 KiB
XML
124 lines
4.8 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>
|
|
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq-jax-rs-example</artifactId>
|
|
<packaging>war</packaging>
|
|
<version>1.0</version>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>2.0.2</version>
|
|
<configuration>
|
|
<source>1.7</source>
|
|
<target>1.7</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>maven-jetty-plugin</artifactId>
|
|
<version>6.1.26</version>
|
|
<configuration>
|
|
<reload>manual</reload>
|
|
<stopKey>stop</stopKey>
|
|
<stopPort>9966</stopPort>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq-codegen-maven</artifactId>
|
|
<version>3.4.0-SNAPSHOT</version>
|
|
|
|
<executions>
|
|
<execution>
|
|
<id>generate-postgres</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
<configuration>
|
|
<jdbc>
|
|
<driver>org.postgresql.Driver</driver>
|
|
<url>jdbc:postgresql:postgres</url>
|
|
<user>postgres</user>
|
|
<password>test</password>
|
|
</jdbc>
|
|
<generator>
|
|
<name>org.jooq.util.DefaultGenerator</name>
|
|
<database>
|
|
<name>org.jooq.util.postgres.PostgresDatabase</name>
|
|
<includes>.*</includes>
|
|
<excludes></excludes>
|
|
<dateAsTimestamp>true</dateAsTimestamp>
|
|
<inputSchema>license_server</inputSchema>
|
|
</database>
|
|
<generate>
|
|
<deprecated>false</deprecated>
|
|
<instanceFields>true</instanceFields>
|
|
</generate>
|
|
<target>
|
|
<packageName>org.jooq.example.jaxrs.db</packageName>
|
|
<directory>src/main/java</directory>
|
|
</target>
|
|
</generator>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>9.2-1003-jdbc4</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.sun.jersey</groupId>
|
|
<artifactId>jersey-server</artifactId>
|
|
<version>1.0.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.jersey</groupId>
|
|
<artifactId>jersey-json</artifactId>
|
|
<version>1.0.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.jersey.contribs</groupId>
|
|
<artifactId>jersey-spring</artifactId>
|
|
<version>1.0.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>2.5</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq</artifactId>
|
|
<version>3.4.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>9.2-1003-jdbc4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>1.2.16</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</project> |