Skip to content

Commit

Permalink
chore(build-nightly.yml): remove nightly build workflow (#25)
Browse files Browse the repository at this point in the history
* chore(build-nightly.yml): remove nightly build workflow

chore(pom.xml): update build-helper-maven-plugin version to 3.4.0 for compatibility improvements
chore(pom.xml): update maven-failsafe-plugin version to 3.1.2 for bug fixes
chore(pom.xml): update maven-resources-plugin version to 3.3.1 for compatibility improvements
chore(pom.xml): update mockito-core version to 5.5.0 for new features and bug fixes
chore(pom.xml): update mockito-junit-jupiter version to 5.5.0 for new features and bug fixes
chore(pom.xml): update liquibase-test-harness version to 1.0.9 for compatibility improvements
feat(pom.xml): add maven-failsafe-plugin configuration for integration tests
feat(pom.xml): add executions for building javadoc and sources jars

* chore(pom.xml): update version from 0.0.1-SNAPSHOT to 0.1.0-SNAPSHOT for consistency and clarity

* chore(README.md): update liquibase-parent-pom version to 0.1.0 in the example code to reflect the desired version
  • Loading branch information
jandroav authored Sep 15, 2023
1 parent 66b373e commit ce82154
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 29 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/build-nightly.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This repository helps craft a parent POM file that becomes the central parent fo
<parent>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-parent-pom</artifactId>
<version>0.0.1</version> <!-- Replace with the desired version -->
<version>0.1.0</version> <!-- Replace with the desired version -->
</parent>
```

Expand Down
73 changes: 58 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>org.liquibase</groupId>
<artifactId>liquibase-parent-pom</artifactId>
<name>Parent POM</name>
<version>0.0.1-SNAPSHOT</version>
<version>0.1.0-SNAPSHOT</version>
<description>Parent POM for all Extensions</description>
<packaging>pom</packaging>

Expand Down Expand Up @@ -43,7 +43,7 @@
<sonar.tests>src/test/java</sonar.tests>
<!-- Plugin versions -->
<assertj.version>3.24.2</assertj.version>
<build-helper-maven-plugin.version>3.2.0</build-helper-maven-plugin.version>
<build-helper-maven-plugin.version>3.4.0</build-helper-maven-plugin.version>
<copy-rename-maven-plugin.version>1.0.1</copy-rename-maven-plugin.version>
<gmavenplus-plugin.version>3.0.0</gmavenplus-plugin.version>
<groovy-all.version>3.0.19</groovy-all.version>
Expand All @@ -53,19 +53,21 @@
<jupiter.version>5.10.0</jupiter.version>
<junit-platform.version>1.10.0</junit-platform.version>
<jsonassert.version>1.5.1</jsonassert.version>
<liquibase-test-harness.version>1.0.9</liquibase-test-harness.version>
<lombok.version>1.18.28</lombok.version>
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
<maven-failsafe-plugin.version>3.1.2</maven-failsafe-plugin.version>
<maven-release-plugin.version>3.0.1</maven-release-plugin.version>
<maven-shade-plugin.version>3.5.0</maven-shade-plugin.version>
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
<maven-source-plugin.version>3.3.0</maven-source-plugin.version>
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
<maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
<mockito-core.version>5.5.0</mockito-core.version>
<mockito-junit-jupiter.version>5.5.0</mockito-junit-jupiter.version>
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
<org-json.version>20230618</org-json.version>
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
<mockito-core.version>4.11.0</mockito-core.version>
<mockito-junit-jupiter.version>4.8.0</mockito-junit-jupiter.version>
<sonar-maven-plugin.version>3.9.1.2184</sonar-maven-plugin.version>
<snakeyaml.version>2.2</snakeyaml.version>
<spock-core.version>2.4-M1-groovy-3.0</spock-core.version>
Expand Down Expand Up @@ -93,14 +95,6 @@
</snapshotRepository>
</distributionManagement>

<repositories>
<repository>
<id>github</id>
<name>This repository</name>
<url>https://maven.pkg.github.com/liquibase/${project.artifactId}</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>org.liquibase</groupId>
Expand Down Expand Up @@ -219,7 +213,7 @@
<dependency>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-test-harness</artifactId>
<version>1.0.9</version>
<version>${liquibase-test-harness.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -299,6 +293,19 @@
<reportFormat>plain</reportFormat>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven-failsafe-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
Expand All @@ -314,6 +321,42 @@
</manifestEntries>
</archive>
</configuration>
<executions>
<execution>
<id>build-javadoc-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>javadoc</classifier>
<classesDirectory>${project.basedir}</classesDirectory>
<includes>
<include>readme.javadocs.txt</include>
</includes>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
</execution>
<execution>
<id>build-sources-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>sources</classifier>
<classesDirectory>${project.basedir}</classesDirectory>
<includes>
<include>readme.sources.txt</include>
</includes>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
Expand Down

0 comments on commit ce82154

Please sign in to comment.