diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
index 2e72fdc..200c0ce 100644
--- a/.github/release-drafter.yml
+++ b/.github/release-drafter.yml
@@ -1,5 +1,5 @@
-name-template: 'Liquibase Super POM v$RESOLVED_VERSION'
+name-template: 'Liquibase Parent POM v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
exclude-labels:
- 'skipReleaseNotes'
@@ -49,5 +49,5 @@ template: |
$CHANGES
- **Full Changelog**: https://github.com/liquibase/liquibase-mongodb/compare/liquibase-mongodb-$PREVIOUS_TAG...liquibase-mongodb-$RESOLVED_VERSION
+ **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...$REPOSITORY-$RESOLVED_VERSION
diff --git a/.github/workflows/attach-artifact-release.yml b/.github/workflows/attach-artifact-release.yml
index 69730a6..84a9740 100644
--- a/.github/workflows/attach-artifact-release.yml
+++ b/.github/workflows/attach-artifact-release.yml
@@ -23,8 +23,8 @@ jobs:
- name: Get Reusable Script Files
run: |
- curl -o $PWD/.github/get_draft_release.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.4.1/.github/get_draft_release.sh
- curl -o $PWD/.github/sign_artifact.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.4.1/.github/sign_artifact.sh
+ curl -o $PWD/.github/get_draft_release.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.4.2/.github/get_draft_release.sh
+ curl -o $PWD/.github/sign_artifact.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.4.2/.github/sign_artifact.sh
chmod +x $PWD/.github/get_draft_release.sh
chmod +x $PWD/.github/sign_artifact.sh
chmod +x $PWD/.github/upload_asset.sh
diff --git a/.github/workflows/build-nightly.yml b/.github/workflows/build-nightly.yml
index c72e433..a50b635 100644
--- a/.github/workflows/build-nightly.yml
+++ b/.github/workflows/build-nightly.yml
@@ -7,7 +7,7 @@ on:
jobs:
nightly-build:
- uses: liquibase/build-logic/.github/workflows/pro-extension-test.yml@v0.4.1
+ uses: liquibase/build-logic/.github/workflows/pro-extension-test.yml@v0.4.2
with:
nightly: true
secrets: inherit
\ No newline at end of file
diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml
index 775a681..567b4e2 100644
--- a/.github/workflows/create-release.yml
+++ b/.github/workflows/create-release.yml
@@ -7,5 +7,5 @@ on:
jobs:
create-release:
- uses: liquibase/build-logic/.github/workflows/create-release.yml@v0.4.1
+ uses: liquibase/build-logic/.github/workflows/create-release.yml@v0.4.2
secrets: inherit
diff --git a/.github/workflows/release-published.yml b/.github/workflows/release-published.yml
index fe71caf..46d4c1b 100644
--- a/.github/workflows/release-published.yml
+++ b/.github/workflows/release-published.yml
@@ -1,4 +1,4 @@
-name: Release Super POM to GitHub Packages
+name: Release Parent POM to GitHub Packages
on:
workflow_dispatch:
@@ -11,49 +11,5 @@ permissions:
jobs:
release:
- runs-on: ubuntu-latest
- permissions:
- contents: read
- packages: write
- steps:
- - uses: actions/checkout@v4
-
- - uses: actions/setup-java@v3
- with:
- java-version: '17'
- distribution: 'temurin'
- cache: 'maven'
-
- - name: Configure Git
- run: |
- git config user.name "liquibot"
- git config user.email "liquibot@liquibase.org"
-
- - name: Build release artifacts
- id: build-release-artifacts
- run: |
- mvn -B release:clean release:prepare -Dusername=liquibot -Dpassword=$GITHUB_TOKEN -Darguments="-Dmaven.javadoc.skip=true -Dmaven.test.skipTests=true -Dmaven.test.skip=true -Dmaven.deploy.skip=true" -DpushChanges=false
- git reset HEAD~ --hard
-
- - name: Get Artifact ID
- id: get-artifact-id
- run: echo "artifact_id=$(mvn help:evaluate -Dexpression=project.artifactId -q -DforceStdout)" >> $GITHUB_ENV
-
- - name: Download Release Artifacts
- uses: robinraju/release-downloader@v1.8
- with:
- tag: "${{ github.event.release.tag_name }}"
- filename: "${{ env.artifact_id }}-*"
- out-file-path: "."
-
- - name: Publish to GitHub Packages
- run: |
- version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
- mvn deploy:deploy-file -Dusername=liquibot -Dpassword=$GITHUB_TOKEN -DpomFile=${{ env.artifact_id }}-${version}.pom -Dfile=${{ env.artifact_id }}-${version}.pom -DrepositoryId=github -Durl=https://maven.pkg.github.com/liquibase/liquibase-super-pom
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
- maven-release:
- needs: release
- uses: liquibase/build-logic/.github/workflows/extension-release-prepare.yml@v0.4.1
+ uses: liquibase/build-logic/.github/workflows/extension-release-published.yml@v0.4.2
secrets: inherit
\ No newline at end of file
diff --git a/.github/workflows/snyk-nightly.yml b/.github/workflows/snyk-nightly.yml
index 771a6f4..c6ed8a8 100644
--- a/.github/workflows/snyk-nightly.yml
+++ b/.github/workflows/snyk-nightly.yml
@@ -10,5 +10,5 @@ on:
jobs:
security-scan:
- uses: liquibase/build-logic/.github/workflows/synk-nightly.yml@v0.4.1
+ uses: liquibase/build-logic/.github/workflows/synk-nightly.yml@v0.4.2
secrets: inherit
\ No newline at end of file
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 09c0ebb..0f219b7 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -10,5 +10,5 @@ on:
jobs:
build-test:
- uses: liquibase/build-logic/.github/workflows/os-extension-test.yml@v0.4.1
+ uses: liquibase/build-logic/.github/workflows/os-extension-test.yml@v0.4.2
secrets: inherit
\ No newline at end of file
diff --git a/README.md b/README.md
index 554b0b0..507ef2a 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,8 @@
-# :star: Liquibase Super POM
+# :star: Liquibase Parent POM
-Simplifying Extension Dependency Management with Super POM
+Simplifying Extension Dependency Management with Parent POM
-This repository helps craft a parent/super POM file that becomes the central parent for all extension repositories.
+This repository helps craft a parent POM file that becomes the central parent for all extension repositories.
## :pushpin: Features
@@ -10,84 +10,19 @@ This repository helps craft a parent/super POM file that becomes the central par
- Easy inheritance for common settings and plugins.
- Simplifies project management and distribution.
-## :wrench: Prerequisites
-
-GitHub actions must be configured to get artifacts from GitHub Package Manager:
-
-```yaml
- # look for dependencies in maven
- - name: maven-settings-xml-action
- uses: whelk-io/maven-settings-xml-action@v20
- with:
- repositories: |
- [
- {
- "id": "liquibase",
- "url": "https://maven.pkg.github.com/liquibase/liquibase",
- "releases": {
- "enabled": "false"
- },
- "snapshots": {
- "enabled": "true",
- "updatePolicy": "always"
- }
- },
- {
- "id": "liquibase-pro",
- "url": "https://maven.pkg.github.com/liquibase/liquibase-pro",
- "releases": {
- "enabled": "false"
- },
- "snapshots": {
- "enabled": "true",
- "updatePolicy": "always"
- }
- },
- {
- "id": "liquibase-super-pom",
- "url": "https://maven.pkg.github.com/liquibase/liquibase-super-pom",
- "releases": {
- "enabled": "true"
- },
- "snapshots": {
- "enabled": "true",
- "updatePolicy": "always"
- }
- }
- ]
- servers: |
- [
- {
- "id": "liquibase-pro",
- "username": "liquibot",
- "password": "${{ secrets.LIQUIBOT_PAT }}"
- },
- {
- "id": "liquibase",
- "username": "liquibot",
- "password": "${{ secrets.LIQUIBOT_PAT }}"
- },
- {
- "id": "liquibase-super-pom",
- "username": "liquibot",
- "password": "${{ secrets.LIQUIBOT_PAT }}"
- }
- ]
-```
-
## :wrench: Usage
-1. Add the following to your Liquibase extension project's `pom.xml` to inherit from this super POM:
+1. Add the following to your Liquibase extension project's `pom.xml` to inherit from this parent POM:
```xml
org.liquibase
- liquibase-super-pom
+ liquibase-parent-pom
0.0.1
```
-2. Customize your extension project as needed. Your project inherits common properties, plugins, and distribution management settings from this super POM.
+2. Customize your extension project as needed. Your project inherits common properties, plugins, and distribution management settings from this parent POM.
## :rocket: Contributing
diff --git a/pom.xml b/pom.xml
index 9036437..01607e3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,10 +2,10 @@
4.0.0
org.liquibase
- liquibase-super-pom
- Super POM
- 0.1.1-SNAPSHOT
- Super POM for all Extensions
+ liquibase-parent-pom
+ Parent POM
+ 0.0.1-SNAPSHOT
+ Parent POM for all Extensions
pom
@@ -525,9 +525,9 @@
- liquibase-super-pom
+ liquibase-parent-pom
This repository
- https://maven.pkg.github.com/liquibase/liquibase-super-pom
+ https://maven.pkg.github.com/liquibase/liquibase-parent-pom
diff --git a/src/main/java/org/liquibase/superpom/Superpom.java b/src/main/java/org/liquibase/parentpom/ParentPom.java
similarity index 57%
rename from src/main/java/org/liquibase/superpom/Superpom.java
rename to src/main/java/org/liquibase/parentpom/ParentPom.java
index a083af1..c0f1f22 100644
--- a/src/main/java/org/liquibase/superpom/Superpom.java
+++ b/src/main/java/org/liquibase/parentpom/ParentPom.java
@@ -1,4 +1,4 @@
package org.liquibase.superpom;
-public interface Superpom {
+public interface ParentPom {
}
diff --git a/src/test/java/org/liquibase/superpom/Superpom.java b/src/test/java/org/liquibase/parentpom/ParentPomTest.java
similarity index 79%
rename from src/test/java/org/liquibase/superpom/Superpom.java
rename to src/test/java/org/liquibase/parentpom/ParentPomTest.java
index ceb6caf..92e605d 100644
--- a/src/test/java/org/liquibase/superpom/Superpom.java
+++ b/src/test/java/org/liquibase/parentpom/ParentPomTest.java
@@ -1,7 +1,7 @@
import org.junit.jupiter.api.Test;
-public class Superpom {
+public class ParTest {
@Test
void whenTestCase_thenPass() {