Skip to content

Commit

Permalink
Fix maven plugin pro commands for local developer install (#3101)
Browse files Browse the repository at this point in the history
Local builds of the liquibase-maven-plugin did not contain the pro code.
  • Loading branch information
StevenMassaro committed Jul 25, 2022
1 parent 50d0821 commit fad9270
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions liquibase-maven-plugin/pom.xml
Expand Up @@ -136,6 +136,42 @@

</build>

<profiles>
<profile>
<id>liquibase-commercial</id>

<activation>
<file>
<exists>../../liquibase-pro/pom.xml</exists>
</file>
</activation>

<build>
<plugins>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<configuration>
<artifactId>liquibase-maven-plugin</artifactId>
<file>${project.build.directory}/liquibase-maven-plugin-${project.version}.jar</file>
<sources>${project.build.directory}/liquibase-maven-plugin-${project.version}-sources.jar</sources>
<pomFile>${basedir}/src/main/maven/release.pom.xml</pomFile>
</configuration>
<executions>
<execution>
<id>custom-install</id>
<phase>install</phase>
<goals>
<goal>install-file</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

</profiles>

<reporting>
<plugins>
<plugin>
Expand Down

0 comments on commit fad9270

Please sign in to comment.