Skip to content

Commit

Permalink
Upgrade maven-jar-plugin for providers. Temporary fix for releasing n…
Browse files Browse the repository at this point in the history
…ew version of providers

Signed-off-by: Knut-Erik Johnsen <[email protected]>
  • Loading branch information
knutejoh committed Nov 15, 2024
1 parent a7c2105 commit 0568ba9
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-release-provider-model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run : ls
- name: Set the revision property
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
working-directory: "./provider-models/crossplane-${{ github.event.inputs.provider }}"
run: mvn -B deploy --file pom.xml -Pdeploy
Expand All @@ -59,7 +59,7 @@ jobs:
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: "${{ github.event.inputs.releaseversion }}"
tag: "${{ github.event.inputs.releaseversion }}.1"
provider: "${{ github.event.inputs.provider }}"
run: |
gh release create "$provider-$tag" \
Expand Down
6 changes: 6 additions & 0 deletions crossplane-providers-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<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-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>
<build-helper-maven-plugin.version>3.6.0</build-helper-maven-plugin.version>
</properties>
Expand Down Expand Up @@ -106,6 +107,11 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion provider-models/crossplane-provider-kubernetes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.crossplane.providers</groupId>
<artifactId>crossplane-providers-parent</artifactId>
<version>1.17.0-charlie</version>
<version>1.18.0-charlie</version>
</parent>

<artifactId>crossplane-provider-kubernetes-model</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion provider-models/crossplane-provider-terraform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.crossplane.providers</groupId>
<artifactId>crossplane-providers-parent</artifactId>
<version>1.17.0-charlie</version>
<version>1.18.0-charlie</version>
</parent>

<artifactId>crossplane-provider-terraform-model</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion provider-models/crossplane-provider-upjet-aws/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.crossplane.providers</groupId>
<artifactId>crossplane-providers-parent</artifactId>
<version>1.17.0-charlie</version>
<version>1.18.0-charlie</version>
</parent>

<artifactId>crossplane-provider-upjet-aws-model</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion provider-models/crossplane-provider-upjet-azure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.crossplane.providers</groupId>
<artifactId>crossplane-providers-parent</artifactId>
<version>1.17.0-charlie</version>
<version>1.18.0-charlie</version>
</parent>

<artifactId>crossplane-provider-upjet-azure-model</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion provider-models/crossplane-provider-upjet-azuread/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.crossplane.providers</groupId>
<artifactId>crossplane-providers-parent</artifactId>
<version>1.17.0-charlie</version>
<version>1.18.0-charlie</version>
</parent>

<artifactId>crossplane-provider-upjet-azuread-model</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion provider-models/crossplane-provider-upjet-gcp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.crossplane.providers</groupId>
<artifactId>crossplane-providers-parent</artifactId>
<version>1.17.0-charlie</version>
<version>1.18.0-charlie</version>
</parent>

<artifactId>crossplane-provider-upjet-gcp-model</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion provider-models/crossplane-provider-upjet-github/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.crossplane.providers</groupId>
<artifactId>crossplane-providers-parent</artifactId>
<version>1.17.0-charlie</version>
<version>1.18.0-charlie</version>
</parent>

<artifactId>crossplane-provider-upjet-github-model</artifactId>
Expand Down

0 comments on commit 0568ba9

Please sign in to comment.