Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
This commit is contained in:
parent
3614a4f5f4
commit
569e025cf0
|
@ -21,8 +21,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
- run: |
|
- run: |
|
||||||
mvn clean install -DskipTests -B
|
./mvnw clean install -DskipTests -B
|
||||||
mvn verify -B
|
./mvnw verify -B
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Deploy
|
name: Deploy
|
||||||
|
@ -39,7 +40,7 @@ jobs:
|
||||||
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
|
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
|
||||||
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
|
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
|
||||||
- name: Publish to Apache Maven Central
|
- name: Publish to Apache Maven Central
|
||||||
run: mvn clean deploy -Drelease -DskipTests -B
|
run: ./mvnw clean deploy -Drelease -DskipTests -B
|
||||||
env:
|
env:
|
||||||
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
|
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
|
||||||
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
|
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
|
||||||
|
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
java-version: 8
|
java-version: 8
|
||||||
- name: Bump version using Maven
|
- name: Bump version using Maven
|
||||||
run: 'mvn versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false -B'
|
run: './mvnw versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false -B'
|
||||||
- name: Bump version in docs
|
- name: Bump version in docs
|
||||||
if: ${{ !endsWith(github.event.inputs.version, 'SNAPSHOT') }}
|
if: ${{ !endsWith(github.event.inputs.version, 'SNAPSHOT') }}
|
||||||
run: 'find . -type f -name "*.md" -exec sed -i -e "s+<version>[a-zA-Z0-9.-]*<\/version>+<version>$NEW_VERSION</version>+g" {} +'
|
run: 'find . -type f -name "*.md" -exec sed -i -e "s+<version>[a-zA-Z0-9.-]*<\/version>+<version>$NEW_VERSION</version>+g" {} +'
|
||||||
|
|
|
@ -23,5 +23,6 @@ jobs:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
- run: |
|
- run: |
|
||||||
mvn clean install -DskipTests -B
|
./mvnw clean install -DskipTests -B
|
||||||
mvn verify -B
|
./mvnw verify -B
|
||||||
|
./mvnw javadoc:javadoc
|
||||||
|
|
1
pom.xml
1
pom.xml
|
@ -170,6 +170,7 @@
|
||||||
<link>https://qpid.apache.org/releases/qpid-proton-j-0.33.7/api/</link>
|
<link>https://qpid.apache.org/releases/qpid-proton-j-0.33.7/api/</link>
|
||||||
<link>https://fasterxml.github.io/jackson-databind/javadoc/2.10/</link>
|
<link>https://fasterxml.github.io/jackson-databind/javadoc/2.10/</link>
|
||||||
</links>
|
</links>
|
||||||
|
<source>8</source>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|
Loading…
Reference in New Issue