flyway-commandline
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.coolbeevip</groupId>
<artifactId>flyway-commandline</artifactId>
<version>9.15.2.5</version>
</dependency><!--
Copyright (C) Red Gate Software Ltd 2010-2022
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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>
<parent>
<groupId>io.github.coolbeevip</groupId>
<artifactId>flyway-parent</artifactId>
<version>9.15.2.5</version>
</parent>
<groupId>io.github.coolbeevip</groupId>
<artifactId>flyway-commandline</artifactId>
<version>9.15.2.5</version>
<packaging>jar</packaging>
<name>Flyway Commandline</name>
<description>Flyway command-line distribution for database schema migrations.</description>
<url>https://github.com/coolbeevip/flyway</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>flyway</id>
<organization>Redgate Software</organization>
<organizationUrl>https://www.red-gate.com/</organizationUrl>
<url>https://flywaydb.org/</url>
</developer>
</developers>
<scm>
<url>https://github.com/coolbeevip/flyway</url>
<connection>scm:git@github.com:coolbeevip/flyway.git</connection>
<developerConnection>scm:git@github.com:coolbeevip/flyway.git</developerConnection>
<tag>HEAD</tag>
</scm>
<properties>
<flyway-gcp-bigquery.version>${project.version}</flyway-gcp-bigquery.version>
<flyway-gcp-spanner.version>${project.version}</flyway-gcp-spanner.version>
<flyway-sqlserver.version>${project.version}</flyway-sqlserver.version>
<flyway-mysql.version>${project.version}</flyway-mysql.version>
<flyway-firebird.version>${project.version}</flyway-firebird.version>
<jre.version>17.0.5</jre.version>
</properties>
<dependencies>
<dependency>
<groupId>io.github.coolbeevip</groupId>
<artifactId>flyway-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.coolbeevip</groupId>
<artifactId>flyway-community-db-support</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.github.coolbeevip</groupId>
<artifactId>flyway-gcp-bigquery</artifactId>
<version>${flyway-gcp-bigquery.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.github.coolbeevip</groupId>
<artifactId>flyway-gcp-spanner</artifactId>
<version>${flyway-gcp-spanner.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.github.coolbeevip</groupId>
<artifactId>flyway-sqlserver</artifactId>
<version>${flyway-sqlserver.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.github.coolbeevip</groupId>
<artifactId>flyway-mysql</artifactId>
<version>${flyway-mysql.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.github.coolbeevip</groupId>
<artifactId>flyway-firebird</artifactId>
<version>${flyway-firebird.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>${version.derby}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbytools</artifactId>
<version>${version.derby}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbyshared</artifactId>
<version>${version.derby}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbyclient</artifactId>
<version>${version.derby}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${version.h2}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>${version.hsqldb}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>${version.mssql-jdbc}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>msal4j</artifactId>
<version>${version.msal4j}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-spanner-jdbc</artifactId>
<version>${version.spanner}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>net.sourceforge.jtds</groupId>
<artifactId>jtds</artifactId>
<version>${version.jtds}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.singlestore</groupId>
<artifactId>singlestore-jdbc-client</artifactId>
<version>${version.singlestore}</version>
<scope>runtime</scope>
</dependency>
<!-- #2136: JNA is required for MariaDB with unix sockets -->
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>${version.jna}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
<version>${version.jna}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.firebirdsql.jdbc</groupId>
<artifactId>jaybird-jdk18</artifactId>
<version>${version.jaybird}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>${version.mariadb}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${version.postgresql}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
<version>${version.oracle}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>net.snowflake</groupId>
<artifactId>snowflake-jdbc</artifactId>
<version>${version.snowflake}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>${version.sqlite}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.fusesource.jansi</groupId>
<artifactId>jansi</artifactId>
<version>${version.jansi}</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>s3</artifactId>
<version>${version.aws-java-sdk}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${version.gson}</version>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-storage</artifactId>
<version>${version.gcs}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.amazonaws.secretsmanager</groupId>
<artifactId>aws-secretsmanager-jdbc</artifactId>
<version>${version.aws-secretsmanager}</version>
<optional>true</optional>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${version.lombok}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>${version.commonstext}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>net.adoptium</groupId>
<artifactId>jre</artifactId>
<classifier>windows-x64</classifier>
<version>${jre.version}</version>
<type>zip</type>
<scope>system</scope>
<systemPath>${basedir}/src/main/assembly/OpenJDK17U-jre_x64_windows_hotspot_${jre.version}_8.zip</systemPath>
</dependency>
<dependency>
<groupId>net.adoptium</groupId>
<artifactId>jre</artifactId>
<classifier>linux-x64</classifier>
<version>${jre.version}</version>
<type>tar.gz</type>
<scope>system</scope>
<systemPath>${basedir}/src/main/assembly/OpenJDK17U-jre_x64_linux_hotspot_${jre.version}_8.tar.gz</systemPath>
</dependency>
<dependency>
<groupId>net.adoptium</groupId>
<artifactId>jre</artifactId>
<classifier>macos-x64</classifier>
<version>${jre.version}</version>
<type>tar.gz</type>
<scope>system</scope>
<systemPath>${basedir}/src/main/assembly/OpenJDK17U-jre_x64_mac_hotspot_${jre.version}_8.tar.gz</systemPath>
</dependency>
<dependency>
<groupId>net.adoptium</groupId>
<artifactId>jre</artifactId>
<classifier>macos-arm64</classifier>
<version>${jre.version}</version>
<type>tar.gz</type>
<scope>system</scope>
<systemPath>${basedir}/src/main/assembly/OpenJDK17U-jre_aarch64_mac_hotspot_${jre.version}_8.tar.gz</systemPath>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-license</id>
<goals>
<goal>copy-resources</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<resources>
<resource>
<directory>..</directory>
<includes>
<include>LICENSE.txt</include>
<include>README.txt</include>
</includes>
</resource>
</resources>
<outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<!-- Not needed until the default for Command-line becomes Java 9 or until Microsoft fixes their JDBC driver -->
<!--
<profile>
<id>jdk9</id>
<activation>
<jdk>9</jdk>
</activation>
<dependencies>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
</dependencies>
</profile>
-->
<profile>
<id>jdk17</id>
<activation>
<jdk>17</jdk>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Multi-Release>true</Multi-Release>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>build-assemblies</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>net.adoptium</groupId>
<artifactId>jre</artifactId>
<classifier>windows-x64</classifier>
<type>zip</type>
<scope>system</scope>
</dependency>
<dependency>
<groupId>net.adoptium</groupId>
<artifactId>jre</artifactId>
<classifier>linux-x64</classifier>
<type>tar.gz</type>
<scope>system</scope>
</dependency>
<dependency>
<groupId>net.adoptium</groupId>
<artifactId>jre</artifactId>
<classifier>macos-x64</classifier>
<type>tar.gz</type>
<scope>system</scope>
</dependency>
<dependency>
<groupId>net.adoptium</groupId>
<artifactId>jre</artifactId>
<classifier>macos-arm64</classifier>
<type>tar.gz</type>
<scope>system</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-jres</id>
<phase>package</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<ignorePermissions>true</ignorePermissions>
<includeArtifactIds>jre</includeArtifactIds>
<stripVersion>true</stripVersion>
<useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>nojre-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/no-jre.xml</descriptor>
</descriptors>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
<execution>
<id>jre-assemblies</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/windows.xml</descriptor>
<descriptor>src/main/assembly/linux.xml</descriptor>
<descriptor>src/main/assembly/macos.xml</descriptor>
<descriptor>src/main/assembly/macos-arm64.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>build-assemblies-windows</id>
<activation>
<property>
<name>github.os</name>
<value>windows-latest</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>net.adoptium</groupId>
<artifactId>jre</artifactId>
<classifier>windows-x64</classifier>
<type>zip</type>
<scope>system</scope>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-jres</id>
<phase>package</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<ignorePermissions>true</ignorePermissions>
<includeArtifactIds>jre</includeArtifactIds>
<stripVersion>true</stripVersion>
<useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>jre-assemblies</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/windows.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>build-assemblies-linux</id>
<activation>
<property>
<name>github.os</name>
<value>ubuntu-latest</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>net.adoptium</groupId>
<artifactId>jre</artifactId>
<classifier>linux-x64</classifier>
<type>tar.gz</type>
<scope>system</scope>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-jres</id>
<phase>package</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<ignorePermissions>true</ignorePermissions>
<includeArtifactIds>jre</includeArtifactIds>
<stripVersion>true</stripVersion>
<useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>jre-assemblies</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/linux.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>build-assemblies-mac</id>
<activation>
<property>
<name>github.os</name>
<value>macOS-latest</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>net.adoptium</groupId>
<artifactId>jre</artifactId>
<classifier>macos-x64</classifier>
<type>tar.gz</type>
<scope>system</scope>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-jres</id>
<phase>package</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<ignorePermissions>true</ignorePermissions>
<includeArtifactIds>jre</includeArtifactIds>
<stripVersion>true</stripVersion>
<useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>jre-assemblies</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/macos.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>build-assemblies-mac-arm64</id>
<activation>
<property>
<name>github.os</name>
<value>macOS-latest</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>net.adoptium</groupId>
<artifactId>jre</artifactId>
<classifier>macos-arm64</classifier>
<type>tar.gz</type>
<scope>system</scope>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-jres</id>
<phase>package</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<ignorePermissions>true</ignorePermissions>
<includeArtifactIds>jre</includeArtifactIds>
<stripVersion>true</stripVersion>
<useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>jre-assemblies</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/macos-arm64.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>build-assemblies-no-jre</id>
<activation>
<property>
<name>github.os</name>
<value>ubuntu-latest</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-jres</id>
<phase>package</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<ignorePermissions>true</ignorePermissions>
<includeArtifactIds>jre</includeArtifactIds>
<stripVersion>true</stripVersion>
<useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>nojre-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/no-jre.xml</descriptor>
</descriptors>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
</executions>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>copy-enterprise-dependencies</id>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-editions</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.flywaydb.enterprise</groupId>
<artifactId>flyway-extensibility-commons</artifactId>
<version>${project.version}</version>
<type>jar</type>
<outputDirectory>${project.build.directory}/editions/community</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.flywaydb.enterprise</groupId>
<artifactId>flyway-compare</artifactId>
<version>${project.version}</version>
<type>jar</type>
<outputDirectory>${project.build.directory}/editions/community</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.flywaydb.enterprise</groupId>
<artifactId>flyway-rulesengine-sqlfluff</artifactId>
<version>${project.version}</version>
<type>jar</type>
<outputDirectory>${project.build.directory}/editions/community</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>