Upgrade maven-jar-plugin for providers. Temporary fix for releasing new version of providers

Signed-off-by: Knut-Erik Johnsen <abstract@knut-erik.org>
This commit is contained in:
Knut-Erik Johnsen 2024-11-15 07:39:34 +01:00
parent a7c2105af2
commit 0568ba97c6
9 changed files with 15 additions and 9 deletions

View File

@ -47,7 +47,7 @@ jobs:
run : ls run : ls
- name: Set the revision property - name: Set the revision property
working-directory: "./provider-models/crossplane-${{ github.event.inputs.provider }}" working-directory: "./provider-models/crossplane-${{ github.event.inputs.provider }}"
run: mvn versions:set-property -Dproperty=modelrevision "-DnewVersion=${{ github.event.inputs.releaseversion }}" -DgenerateBackupPoms=false run: mvn versions:set-property -Dproperty=modelrevision "-DnewVersion=${{ github.event.inputs.releaseversion }}.1" -DgenerateBackupPoms=false
- name: Build with Maven - name: Build with Maven
working-directory: "./provider-models/crossplane-${{ github.event.inputs.provider }}" working-directory: "./provider-models/crossplane-${{ github.event.inputs.provider }}"
run: mvn -B deploy --file pom.xml -Pdeploy run: mvn -B deploy --file pom.xml -Pdeploy
@ -59,7 +59,7 @@ jobs:
- name: Create release - name: Create release
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: "${{ github.event.inputs.releaseversion }}" tag: "${{ github.event.inputs.releaseversion }}.1"
provider: "${{ github.event.inputs.provider }}" provider: "${{ github.event.inputs.provider }}"
run: | run: |
gh release create "$provider-$tag" \ gh release create "$provider-$tag" \

View File

@ -28,6 +28,7 @@
<central-publishing-maven-plugin.version>0.4.0</central-publishing-maven-plugin.version> <central-publishing-maven-plugin.version>0.4.0</central-publishing-maven-plugin.version>
<maven-source-plugin.version>3.3.1</maven-source-plugin.version> <maven-source-plugin.version>3.3.1</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.7.0</maven-javadoc-plugin.version> <maven-javadoc-plugin.version>3.7.0</maven-javadoc-plugin.version>
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
<maven-gpg-plugin.version>3.2.4</maven-gpg-plugin.version> <maven-gpg-plugin.version>3.2.4</maven-gpg-plugin.version>
<build-helper-maven-plugin.version>3.6.0</build-helper-maven-plugin.version> <build-helper-maven-plugin.version>3.6.0</build-helper-maven-plugin.version>
</properties> </properties>
@ -106,6 +107,11 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>io.crossplane.providers</groupId> <groupId>io.crossplane.providers</groupId>
<artifactId>crossplane-providers-parent</artifactId> <artifactId>crossplane-providers-parent</artifactId>
<version>1.17.0-charlie</version> <version>1.18.0-charlie</version>
</parent> </parent>
<artifactId>crossplane-provider-kubernetes-model</artifactId> <artifactId>crossplane-provider-kubernetes-model</artifactId>

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>io.crossplane.providers</groupId> <groupId>io.crossplane.providers</groupId>
<artifactId>crossplane-providers-parent</artifactId> <artifactId>crossplane-providers-parent</artifactId>
<version>1.17.0-charlie</version> <version>1.18.0-charlie</version>
</parent> </parent>
<artifactId>crossplane-provider-terraform-model</artifactId> <artifactId>crossplane-provider-terraform-model</artifactId>

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>io.crossplane.providers</groupId> <groupId>io.crossplane.providers</groupId>
<artifactId>crossplane-providers-parent</artifactId> <artifactId>crossplane-providers-parent</artifactId>
<version>1.17.0-charlie</version> <version>1.18.0-charlie</version>
</parent> </parent>
<artifactId>crossplane-provider-upjet-aws-model</artifactId> <artifactId>crossplane-provider-upjet-aws-model</artifactId>

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>io.crossplane.providers</groupId> <groupId>io.crossplane.providers</groupId>
<artifactId>crossplane-providers-parent</artifactId> <artifactId>crossplane-providers-parent</artifactId>
<version>1.17.0-charlie</version> <version>1.18.0-charlie</version>
</parent> </parent>
<artifactId>crossplane-provider-upjet-azure-model</artifactId> <artifactId>crossplane-provider-upjet-azure-model</artifactId>

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>io.crossplane.providers</groupId> <groupId>io.crossplane.providers</groupId>
<artifactId>crossplane-providers-parent</artifactId> <artifactId>crossplane-providers-parent</artifactId>
<version>1.17.0-charlie</version> <version>1.18.0-charlie</version>
</parent> </parent>
<artifactId>crossplane-provider-upjet-azuread-model</artifactId> <artifactId>crossplane-provider-upjet-azuread-model</artifactId>

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>io.crossplane.providers</groupId> <groupId>io.crossplane.providers</groupId>
<artifactId>crossplane-providers-parent</artifactId> <artifactId>crossplane-providers-parent</artifactId>
<version>1.17.0-charlie</version> <version>1.18.0-charlie</version>
</parent> </parent>
<artifactId>crossplane-provider-upjet-gcp-model</artifactId> <artifactId>crossplane-provider-upjet-gcp-model</artifactId>

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>io.crossplane.providers</groupId> <groupId>io.crossplane.providers</groupId>
<artifactId>crossplane-providers-parent</artifactId> <artifactId>crossplane-providers-parent</artifactId>
<version>1.17.0-charlie</version> <version>1.18.0-charlie</version>
</parent> </parent>
<artifactId>crossplane-provider-upjet-github-model</artifactId> <artifactId>crossplane-provider-upjet-github-model</artifactId>