Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .github/workflows/github-packages-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,36 +24,6 @@ jobs:
- name: Build with Maven
run: mvn -B package -DskipTests --file pom.xml

publish-bos-repo:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'

- name: Set up BoS Repo
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
server-id: bos-repo
server-username: BOS_REPO_AK
server-password: BOS_REPO_SK

- name: Publish to BoS Repo
run: mvn clean deploy -P bos-repo-deploy -pl :bifromq-plugin-context,:bifromq-plugin-main,:bifromq-plugin-auth-provider,:bifromq-plugin-event-collector,:bifromq-plugin-resource-throttler,:bifromq-plugin-sub-broker,:bifromq-plugin-setting-provider,:base-env-provider-spi,:base-kv-store-balance-spi -am -DskipTests -Dbos.repo.release=$BOS_REPO_RELEASE -Dbos.repo.snapshot=$BOS_REPO_SNAPSHOT
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
BOS_REPO_AK: ${{ secrets.BOS_REPO_AK }}
BOS_REPO_SK: ${{ secrets.BOS_REPO_SK }}
BOS_REPO_RELEASE: ${{ secrets.BOS_REPO_RELEASE }}
BOS_REPO_SNAPSHOT: ${{ secrets.BOS_REPO_SNAPSHOT }}

publish-github-packages:
runs-on: ubuntu-latest
needs: build
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/main-branch-push-maven-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,6 @@ jobs:
- name: Build with Maven
run: mvn -B package -DskipTests --file pom.xml

- name: Set up BoS Repo
uses: actions/setup-java@v4
with: # running setup-java again overwrites the settings.xml
java-version: '17'
distribution: 'temurin'
server-id: bos-repo # Value of the distributionManagement/repository/id field of the pom.xml
server-username: BOS_REPO_AK # env variable for username in deploy
server-password: BOS_REPO_SK # env variable for token in deploy

- name: Publish to BoS Repo
run: mvn clean deploy -P bos-repo-deploy -pl :bifromq-plugin-context,:bifromq-plugin-main,:bifromq-plugin-auth-provider,:bifromq-plugin-event-collector,:bifromq-plugin-resource-throttler,:bifromq-plugin-sub-broker,:bifromq-plugin-setting-provider,:base-env-provider-spi,:base-kv-store-balance-spi -am -DskipTests -Dbos.repo.release=$BOS_REPO_RELEASE -Dbos.repo.snapshot=$BOS_REPO_SNAPSHOT
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
BOS_REPO_AK: ${{ secrets.BOS_REPO_AK }}
BOS_REPO_SK: ${{ secrets.BOS_REPO_SK }}
BOS_REPO_RELEASE: ${{ secrets.BOS_REPO_RELEASE }}
BOS_REPO_SNAPSHOT: ${{ secrets.BOS_REPO_SNAPSHOT }}

- name: Set up GitHub Packages
uses: actions/setup-java@v4
with: # running setup-java again overwrites the settings.xml
Expand Down
6 changes: 0 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@
<protobuf.plugin.version>0.6.1</protobuf.plugin.version>
<os.plugin.version>1.6.2</os.plugin.version>
<checkstyle.version>10.11.0</checkstyle.version>
<maven.bos.plugin.version>0.0.2</maven.bos.plugin.version>

<!-- build properties -->
<maven.compiler.release>17</maven.compiler.release>
Expand Down Expand Up @@ -767,11 +766,6 @@
<artifactId>os-maven-plugin</artifactId>
<version>${os.plugin.version}</version>
</extension>
<extension>
<groupId>io.github.mafei6827</groupId>
<artifactId>maven-repository-bos</artifactId>
<version>${maven.bos.plugin.version}</version>
</extension>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
Expand Down