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
3 changes: 0 additions & 3 deletions .github/workflows/maven-verify.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Build

on:
push:
branches:
- main
pull_request:
branches:
- main
Expand Down
25 changes: 23 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,16 +168,37 @@ jobs:
${{ runner.os }}-maven-

- name: Publish to Apache Maven Central
run: mvn clean deploy -P release,attach-javadoc,attach-source
run: mvn clean deploy -P release,attach-javadoc,attach-source -DskipStagingRepositoryClose=true
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

- name: Publish to Apache Maven Central
run: mvn clean deploy -P release,java8
run: mvn clean deploy -P release,java8 -DautoReleaseAfterClose=true
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

changelog:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Generate Changelog
uses: heinrichreimer/github-changelog-generator-action@v2.2
with:
issues: false
token: ${{ secrets.GITHUB_TOKEN }}

- name: Commit Changelog
run: |
git config user.name "GitHub Actions"
git config user.email noreply@github.com
git add CHANGELOG.md
git commit -m 'Update Changelog.'
git push
7 changes: 5 additions & 2 deletions .github/workflows/snapshot-deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: Deploy SNAPSHOT

on: workflow_dispatch
on:
push:
branches:
- main

jobs:
deploy-snapshot:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'

steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ tmp/
local.properties
.settings/
.loadpath
.classpath

# Eclipse Core
.project
Expand Down
20 changes: 18 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@
<!-- START Generated Properties -->
<swagger-core-version>2.0.0</swagger-core-version>
<jersey-version>2.29.1</jersey-version>
<jackson-version>2.10.1</jackson-version>
<jackson-version>2.10.5</jackson-version>
<jackson-databind-version>2.10.5.1</jackson-databind-version>
<!-- END Generated Properties -->

</properties>
Expand Down Expand Up @@ -240,6 +241,16 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<stagingProfileId>io.adobe.cloudmanager</stagingProfileId>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
Expand Down Expand Up @@ -278,6 +289,11 @@
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.6</version>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down Expand Up @@ -450,7 +466,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson-version}</version>
<version>${jackson-databind-version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
Expand Down