flyway-extension
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>ch.inftec.flyway</groupId>
<artifactId>flyway-extension</artifactId>
<version>3.2.1-Final</version>
</dependency><?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>
<parent>
<groupId>ch.inftec</groupId>
<artifactId>jb</artifactId>
<version>3-14</version>
</parent>
<groupId>ch.inftec.flyway</groupId>
<artifactId>flyway-extension</artifactId>
<version>3.2.1-Final</version>
<packaging>pom</packaging>
<url>https://bitbucket.org/inftec/flywayextension</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@bitbucket.org:inftec/flywayextension.git</url>
<connection>scm:git:git@bitbucket.org:inftec/flywayextension.git</connection>
<developerConnection>scm:git:git@bitbucket.org:inftec/flywayextension.git</developerConnection>
</scm>
<developers>
<developer>
<id>rbr</id>
<name>Roger Brechbühl</name>
<email>roger.brechbuehl@inftec.ch</email>
</developer>
</developers>
<modules>
<module>flyway-extension-core</module>
<module>flyway-extension-commandline</module>
<module>flyway-extension-example</module>
</modules>
<build>
<plugins>
<plugin>
<artifactId>maven-scm-plugin</artifactId>
<configuration>
<tag>release/S/${project.version}</tag>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>ch.inftec</groupId>
<artifactId>jb-bom</artifactId>
<version>${version.jb.bom}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
<version>${flyway.version}</version>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-commandline</artifactId>
<version>${flyway.version}</version>
<type>tar.gz</type>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-commandline</artifactId>
<version>${flyway.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<profiles>
<!-- Define release and snapshot repository for Sonatype -->
<profile>
<id>jb-sonatypeDistribution</id>
<activation>
<property>
<name>jbPerformRelease</name>
<value>sonatype</value>
</property>
</activation>
<properties>
<sonatypeOssDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots/</sonatypeOssDistMgmtSnapshotsUrl>
</properties>
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>${sonatypeOssDistMgmtSnapshotsUrl}</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>jb-inftecDistribution</id>
<activation>
<property>
<name>jbPerformRelease</name>
<value>inftec</value>
</property>
</activation>
<distributionManagement>
<snapshotRepository>
<id>snapshots</id>
<name>Inftec Snapshots</name>
<url>https://mvn.inftec.ch/nexus/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>inftec-nightly</id>
<name>Inftec Nightly Release Repository</name>
<url>https://mvn.inftec.ch/nexus/content/repositories/inftec-nightly</url>
</repository>
</distributionManagement>
</profile>
<!-- Includes source artifacts in deployment -->
<profile>
<id>jb-attachSourceArtifacts</id>
<activation>
<property>
<name>jbPerformRelease</name>
</property>
</activation>
<build>
<plugins>
<!-- Include sources, including test JARs -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- Sign the release arficates with GnuPG -->
<profile>
<id>jb-signReleaseArtifacts</id>
<activation>
<property>
<name>jbPerformRelease</name>
</property>
</activation>
<properties>
<!-- Encrypted by InfTec Maven encryption key, can be decrypted by InfTec Bamboo server. -->
<jbGpgPassphrase>ENC(lyHWB4FxF7ctITydcs6KuS0nsk2j0u/5)</jbGpgPassphrase>
<!-- Default decryption key location for Bamboo Build -->
<jbDecryptionKeyFile>/home/bamboo/jb-decryption.key</jbDecryptionKeyFile>
</properties>
<build>
<plugins>
<plugin>
<groupId>ch.inftec.ju</groupId>
<artifactId>ju-maven-plugin</artifactId>
<version>${version.ju-maven-plugin}</version>
<configuration>
<chain>
<!-- <silentlyIgnoreMissingResourceFolder>true</silentlyIgnoreMissingResourceFolder> -->
<!-- <resourceFolders> -->
<!-- <resourceFolder>esw-lib/src/main/resources/mvnProperties</resourceFolder> -->
<!-- Needed for resource lookup in modules... -->
<!-- <resourceFolder>../esw-lib/src/main/resources/mvnProperties</resourceFolder> -->
<!-- </resourceFolders> -->
<logAddedKeys>true</logAddedKeys>
<!-- <filter> -->
<!-- <includes> -->
<!-- <include>esw.*</include> -->
<!-- <include>ju.*</include> -->
<!-- <include>liquibase.*</include> -->
<!-- <include>groups</include> -->
<!-- </includes> -->
<!-- </filter> -->
<chainElements>
<chainElement>
<!-- Add System Properties so we can overwrite the jb.decryptorKeyFile by -D... -->
<systemProperties />
</chainElement>
</chainElements>
<decryptor>
<keyFilePathPropertyName>jb.decryptorKeyFile</keyFilePathPropertyName>
<!-- If no decryption is set, we can still set the gpg.passphrase by -D... -->
<ignoreMissingDecryption>true</ignoreMissingDecryption>
</decryptor>
<properties>
<property>
<key>jb.decryptorKeyFile</key>
<value>${jbDecryptionKeyFile}</value>
</property>
<property>
<key>gpg.passphrase</key>
<value>${jbGpgPassphrase}</value>
</property>
</properties>
</chain>
</configuration>
<executions>
<execution>
<id>load-properties</id>
<goals>
<goal>properties</goal>
</goals>
<phase>post-integration-test</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<defaultKeyring>false</defaultKeyring>
<!-- gpg.passphrase will be set by ju-maven-property -->
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- Attach JavaDocs to the release artifacts -->
<profile>
<id>jb-attachJavadocArtifacts</id>
<activation>
<property>
<name>jbPerformRelease</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- Include Sonatype specific deployment configuration (from oss-parent POM) -->
<profile>
<id>jb-sonatypeReleaseConfiguration</id>
<activation>
<property>
<name>jbPerformRelease</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version>
<message>Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures and checksums respectively.</message>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>version.override</id>
<activation>
<property>
<name>version.override</name>
</property>
</activation>
<build>
<plugins>
<!-- configure the custom install plugin for lightweight release builds -->
<plugin>
<groupId>ch.rotscher.maven.plugins</groupId>
<artifactId>install-custom-version-plugin</artifactId>
<version>0.3.4-pre-3</version>
<executions>
<execution>
<id>version-override</id>
<phase>package</phase>
<goals>
<goal>version-override</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<properties>
<flyway.version>3.2.1</flyway.version>
<version.jb.bom>1.1</version.jb.bom>
</properties>
</project>