7e13d36def
Voila
116 lines
5.1 KiB
XML
116 lines
5.1 KiB
XML
|
|
<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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<!-- <groupId>com.mineplexBootleg.app</groupId>-->
|
|
<!-- <version>dev-SNAPSHOT</version>-->
|
|
<properties>
|
|
<version.jline>2.12</version.jline>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<timestamp>${maven.build.timestamp}</timestamp>
|
|
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
|
|
</properties>
|
|
<parent>
|
|
<groupId>com.mineplexBootleg.app</groupId>
|
|
<artifactId>mineplex-parent</artifactId>
|
|
<version>dev-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>mineplex-database</artifactId>
|
|
<packaging>pom</packaging>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq-codegen</artifactId>
|
|
</dependency>
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>${project.groupId}</groupId>-->
|
|
<!-- <artifactId>mineplex-database</artifactId>-->
|
|
<!-- <version>${project.version}</version>-->
|
|
<!-- </dependency>-->
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>21.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq-codegen-maven</artifactId>
|
|
<version>3.5.2</version>
|
|
<!-- The plugin should hook into the generate goal -->
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
|
|
<!-- Manage the plugin's dependency. In this example, we'll use a PostgreSQL database -->
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>9.4.1212</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<jdbc>
|
|
<driver>com.mysql.jdbc.Driver</driver>
|
|
<url>jdbc:mysql://45.61.54.43:3306/account</url>
|
|
<user>CSWebAPI</user>
|
|
<password>is1!6SMBr.LL8]tS</password>
|
|
</jdbc>
|
|
|
|
<generator>
|
|
<!-- The default code generator. You can override this one, to generate
|
|
your own code style Defaults to org.jooq.util.DefaultGenerator -->
|
|
<name>org.jooq.util.DefaultGenerator</name>
|
|
|
|
<strategy>
|
|
<name>mineplex.jooq.AsInDatabaseStrategy</name>
|
|
</strategy>
|
|
|
|
<database>
|
|
<!-- The database type. The format here is: org.util.[database].[database]Database -->
|
|
<name>org.jooq.util.mysql.MySQLDatabase</name>
|
|
|
|
<!-- The database schema (or in the absence of schema support, in your
|
|
RDBMS this can be the owner, user, database name) to be generated -->
|
|
<inputSchema>account</inputSchema>
|
|
|
|
<!-- All elements that are generated from your schema (A Java regular
|
|
expression. Use the pipe to separate several expressions) Watch out for case-sensitivity.
|
|
Depending on your database, this might be important! -->
|
|
<includes>.*</includes>
|
|
|
|
<!-- All elements that are excluded from your schema (A Java regular expression.
|
|
Use the pipe to separate several expressions). Excludes match before includes -->
|
|
<excludes></excludes>
|
|
</database>
|
|
<target>
|
|
<!-- The destination package of your generated classes (within the destination
|
|
directory) -->
|
|
<packageName>mineplex.database</packageName>
|
|
<!-- The destination directory of your generated classes -->
|
|
<directory>./src</directory>
|
|
</target>
|
|
</generator>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|