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:
parent
a7c2105af2
commit
0568ba97c6
|
@ -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" \
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue