java-tutorials/persistence-modules/activejdbc/pom.xml

81 lines
3.0 KiB
XML
Raw Normal View History

2020-04-11 00:32:49 -04:00
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>activejdbc</artifactId>
<version>1.0-SNAPSHOT</version>
<name>activejdbc</name>
<packaging>jar</packaging>
<url>http://maven.apache.org</url>
<parent>
<groupId>com.ossez</groupId>
2020-04-11 00:32:49 -04:00
<artifactId>persistence-modules</artifactId>
<version>0.0.2-SNAPSHOT</version>
2020-04-11 00:32:49 -04:00
</parent>
<dependencies>
<dependency>
<groupId>org.javalite</groupId>
<artifactId>activejdbc</artifactId>
<version>${activejdbc.version}</version>
<exclusions>
<exclusion>
<groupId>opensymphony</groupId>
<artifactId>oscache</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>${mysql-connector-j.version}</version>
2020-04-11 00:32:49 -04:00
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${version.slf4j}</version>
2020-04-11 00:32:49 -04:00
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.javalite</groupId>
<artifactId>activejdbc-instrumentation</artifactId>
<version>${activejdbc.version}</version>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>instrument</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.javalite</groupId>
<artifactId>db-migrator-maven-plugin</artifactId>
<version>${activejdbc.version}</version>
<configuration>
<configFile>${project.basedir}/src/main/resources/database.properties</configFile>
<environments>${environments}</environments>
</configuration>
<dependencies>
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
2024-04-30 17:31:16 -04:00
<version>${mysql-connector-j.version}</version>
2020-04-11 00:32:49 -04:00
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<properties>
<activejdbc.version>3.4-j11</activejdbc.version>
2020-04-11 00:32:49 -04:00
<environments>development.test,development</environments>
<mysql-connector-j.version>8.4.0</mysql-connector-j.version>
2020-04-11 00:32:49 -04:00
</properties>
</project>