Skip to content

Commit

Permalink
Fix deploy, update version to 0.1.2-ER
Browse files Browse the repository at this point in the history
  • Loading branch information
DaimonCoolest committed Jul 3, 2023
1 parent 396d4d6 commit d5bc61c
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 26 deletions.
52 changes: 26 additions & 26 deletions liquibase-couchbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
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>

<description>Liquibase extension for Couchbase</description>
<url>https://docs.liquibase.com</url>

<parent>
<groupId>org.liquibase.ext</groupId>
<artifactId>liquibase-couchbase-parent</artifactId>
Expand All @@ -16,6 +13,7 @@
<artifactId>liquibase-couchbase</artifactId>
<version>${build.version}</version>
<packaging>jar</packaging>
<url>https://docs.liquibase.com</url>

<properties>
<build.version>0.1.2-ER</build.version>
Expand Down Expand Up @@ -62,6 +60,12 @@
<gmavenplus-plugin.version>1.9.0</gmavenplus-plugin.version>
</properties>

<scm>
<connection>scm:https://github.com/liquibase/liquibase-couchbase.git</connection>
<developerConnection>scm:git:[email protected]:liquibase/liquibase-couchbase.git</developerConnection>
<url>https://github.com/liquibase/liquibase-couchbase.git</url>
</scm>

<dependencies>
<!-- compile dependencies -->
<dependency>
Expand Down Expand Up @@ -405,29 +409,6 @@
</configuration>
</plugin>

<plugin>
<groupId>com.coderplus.maven.plugins</groupId>
<artifactId>copy-rename-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>copy</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<fileSets>
<fileSet>
<sourceFile>${project.basedir}/pom.xml</sourceFile>
<destinationFile>${project.basedir}/target/${project.artifactId}-${project.version}.pom</destinationFile>
</fileSet>
</fileSets>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
Expand Down Expand Up @@ -466,6 +447,25 @@
</configuration>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.5.0</version>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
<flattenedPomFilename>${project.artifactId}-${project.version}.pom.xml</flattenedPomFilename>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>package</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
</executions>
</plugin>

<!--> Currently not used in CI/CD. But we can use it later -->
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
Expand Down
38 changes: 38 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,42 @@
<slf4j.version>2.0.7</slf4j.version>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.5.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<outputDirectory>${project.build.directory}/flattened-pom</outputDirectory>
<flattenedPomFilename>release.pom.xml</flattenedPomFilename>
<pomElements>
<profiles>remove</profiles>
<organization/>
<issueManagement/>
</pomElements>
<flattenMode>ossrh</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>


</project>

0 comments on commit d5bc61c

Please sign in to comment.