Skip to content

Commit

Permalink
[Build] Remove replace_maven-wagon-http-version.sh script which is ob…
Browse files Browse the repository at this point in the history
…solete with Maven 3.8.1+ (apache#11718)

- reverts apache#9883 changes
- the solution is no more needed since GitHub Actions uses maven version 3.8.1+
  and contains the maven-wagon-http version which includes fixes for
  https://issues.apache.org/jira/browse/HTTPCORE-634 / https://issues.apache.org/jira/browse/WAGON-607
  • Loading branch information
lhotari authored Aug 19, 2021
1 parent 50b6e79 commit 061fb4b
Show file tree
Hide file tree
Showing 29 changed files with 0 additions and 138 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci-build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ jobs:
java-version: 11


- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: build package
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B clean install -DskipTests
4 changes: 0 additions & 4 deletions .github/workflows/ci-cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ jobs:
docker rmi $(docker images -q) -f
df -h
- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: build package
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -ntp -q install -Pcore-modules,-main -DskipTests
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-integration-backwards-compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: clean disk
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-integration-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: clean disk
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-integration-function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: clean disk
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-integration-messaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: clean disk
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-integration-process.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: clean disk
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-integration-pulsar-io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: clean disk
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-integration-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: clean disk
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-integration-sql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: clean disk
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-integration-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: clean disk
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-integration-thread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: clean disk
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-integration-tiered-filesystem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: clean disk
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-integration-tiered-jcloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: clean disk
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-integration-transaction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: clean disk
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ jobs:
java-version: 11


- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

# license check fails with 3.6.2 so we have to downgrade
- name: Set up Maven
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-maven-cache-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ (github.event_name == 'schedule' || steps.changes.outputs.poms == 'true') && steps.cache.outputs.cache-hit != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: Download dependencies
if: ${{ (github.event_name == 'schedule' || steps.changes.outputs.poms == 'true') && steps.cache.outputs.cache-hit != 'true' }}
run: |
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/ci-owasp-dependency-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: run install by skip tests
run: mvn -q -B -ntp clean install -DskipTests

Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/ci-pulsar-website-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: clean disk
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-shade-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: clean disk
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-unit-broker-broker-gp1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: build modules
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -ntp -q clean install -Pcore-modules,-main -DskipTests
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-unit-broker-broker-gp2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: build modules
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -ntp -q clean install -Pcore-modules,-main -DskipTests
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-unit-broker-client-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: build modules
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -ntp -q install -Pcore-modules,-main -DskipTests
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-unit-broker-client-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: build modules
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -ntp -q install -Pcore-modules,-main -DskipTests
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-unit-broker-jdk8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
distribution: 'adopt'
java-version: 8

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: build modules
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -ntp -q clean install -Pcore-modules,-main -DskipTests
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-unit-broker-other.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: build modules
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -ntp -q clean install -Pcore-modules,-main -DskipTests
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-unit-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: build modules pulsar-proxy
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -ntp -q install -Pcore-modules,-main -DskipTests
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
distribution: 'adopt'
java-version: 11

- name: Replace maven's wagon-http version
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: sudo ./build/replace_maven-wagon-http-version.sh

- name: run unit test 'OTHER'
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: ./build/run_unit_group.sh OTHER
Expand Down
28 changes: 0 additions & 28 deletions build/replace_maven-wagon-http-version.sh

This file was deleted.

0 comments on commit 061fb4b

Please sign in to comment.