This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-wagon.git
The following commit(s) were added to refs/heads/master by this push:
new f25b7673 Bump org.apache.maven:maven-parent from 45 to 47 (#854)
f25b7673 is described below
commit f25b76730f822169b64523c37f63a95ebabc777a
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Sun Feb 1 16:47:57 2026 +0100
Bump org.apache.maven:maven-parent from 45 to 47 (#854)
* Bump org.apache.maven:maven-parent from 45 to 47
Bumps
[org.apache.maven:maven-parent](https://github.com/apache/maven-parent) from 45
to 47.
- [Release notes](https://github.com/apache/maven-parent/releases)
- [Commits](https://github.com/apache/maven-parent/commits)
---
updated-dependencies:
- dependency-name: org.apache.maven:maven-parent
dependency-version: '47'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected]>
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot]
<49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sylwester Lachiewicz <[email protected]>
---
pom.xml | 2 +-
.../maven/wagon/providers/http/LightweightHttpWagon.java | 8 ++++----
.../maven/wagon/shared/http/AbstractHttpClientWagon.java | 14 +++++++-------
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/pom.xml b/pom.xml
index 71c78b03..e6dbd927 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@ under the License.
<parent>
<groupId>org.apache.maven</groupId>
<artifactId>maven-parent</artifactId>
- <version>45</version>
+ <version>47</version>
</parent>
<groupId>org.apache.maven.wagon</groupId>
diff --git
a/wagon-providers/wagon-http-lightweight/src/main/java/org/apache/maven/wagon/providers/http/LightweightHttpWagon.java
b/wagon-providers/wagon-http-lightweight/src/main/java/org/apache/maven/wagon/providers/http/LightweightHttpWagon.java
index 67e298bd..4db6b7bd 100644
---
a/wagon-providers/wagon-http-lightweight/src/main/java/org/apache/maven/wagon/providers/http/LightweightHttpWagon.java
+++
b/wagon-providers/wagon-http-lightweight/src/main/java/org/apache/maven/wagon/providers/http/LightweightHttpWagon.java
@@ -232,14 +232,14 @@ protected void finishPutTransfer(Resource resource,
InputStream input, OutputStr
int statusCode = putConnection.getResponseCode();
switch (statusCode) {
- // Success Codes
+ // Success Codes
case HttpURLConnection.HTTP_OK: // 200
case HttpURLConnection.HTTP_CREATED: // 201
case HttpURLConnection.HTTP_ACCEPTED: // 202
case HttpURLConnection.HTTP_NO_CONTENT: // 204
break;
- // TODO Move 401/407 to AuthenticationException after
WAGON-587
+ // TODO Move 401/407 to AuthenticationException after WAGON-587
case HttpURLConnection.HTTP_FORBIDDEN:
case HttpURLConnection.HTTP_UNAUTHORIZED:
case HttpURLConnection.HTTP_PROXY_AUTH:
@@ -251,7 +251,7 @@ protected void finishPutTransfer(Resource resource,
InputStream input, OutputStr
throw new
ResourceDoesNotExistException(formatResourceDoesNotExistMessage(
buildUrl(resource), statusCode, reasonPhrase,
getProxyInfo()));
- // add more entries here
+ // add more entries here
default:
throw new TransferFailedException(
formatTransferFailedMessage(buildUrl(resource),
statusCode, reasonPhrase, getProxyInfo()));
@@ -347,7 +347,7 @@ public boolean resourceExists(String resourceName) throws
TransferFailedExceptio
case HttpURLConnection.HTTP_GONE:
return false;
- // TODO Move 401/407 to AuthenticationException after
WAGON-587
+ // TODO Move 401/407 to AuthenticationException after WAGON-587
case HttpURLConnection.HTTP_FORBIDDEN:
case HttpURLConnection.HTTP_UNAUTHORIZED:
case HttpURLConnection.HTTP_PROXY_AUTH:
diff --git
a/wagon-providers/wagon-http-shared/src/main/java/org/apache/maven/wagon/shared/http/AbstractHttpClientWagon.java
b/wagon-providers/wagon-http-shared/src/main/java/org/apache/maven/wagon/shared/http/AbstractHttpClientWagon.java
index 92dc157b..9f1f2445 100644
---
a/wagon-providers/wagon-http-shared/src/main/java/org/apache/maven/wagon/shared/http/AbstractHttpClientWagon.java
+++
b/wagon-providers/wagon-http-shared/src/main/java/org/apache/maven/wagon/shared/http/AbstractHttpClientWagon.java
@@ -716,14 +716,14 @@ private void put(int wait, Resource resource, File
source, HttpEntity httpEntity
// Check that we didn't run out of retries.
switch (statusCode) {
- // Success Codes
+ // Success Codes
case HttpStatus.SC_OK: // 200
case HttpStatus.SC_CREATED: // 201
case HttpStatus.SC_ACCEPTED: // 202
case HttpStatus.SC_NO_CONTENT: // 204
break;
- // TODO Move 401/407 to AuthenticationException after
WAGON-587
+ // TODO Move 401/407 to AuthenticationException after
WAGON-587
case HttpStatus.SC_FORBIDDEN:
case HttpStatus.SC_UNAUTHORIZED:
case HttpStatus.SC_PROXY_AUTHENTICATION_REQUIRED:
@@ -748,7 +748,7 @@ private void put(int wait, Resource resource, File source,
HttpEntity httpEntity
EntityUtils.consumeQuietly(response.getEntity());
put(backoff(wait, url), resource, source, httpEntity,
url);
break;
- // add more entries here
+ // add more entries here
default:
EntityUtils.consumeQuietly(response.getEntity());
TransferFailedException e = new
TransferFailedException(formatTransferFailedMessage(
@@ -798,7 +798,7 @@ private boolean resourceExists(int wait, String
resourceName)
result = true;
break;
- // TODO Move 401/407 to AuthenticationException after
WAGON-587
+ // TODO Move 401/407 to AuthenticationException after
WAGON-587
case HttpStatus.SC_FORBIDDEN:
case HttpStatus.SC_UNAUTHORIZED:
case HttpStatus.SC_PROXY_AUTHENTICATION_REQUIRED:
@@ -816,7 +816,7 @@ private boolean resourceExists(int wait, String
resourceName)
case SC_TOO_MANY_REQUESTS:
return resourceExists(backoff(wait, resourceName),
resourceName);
- // add more entries here
+ // add more entries here
default:
throw new
TransferFailedException(formatTransferFailedMessage(
url,
@@ -1047,7 +1047,7 @@ private void fillInputData(int wait, InputData inputData)
// return, leaving last modified set to original value so
getIfNewer should return unmodified
return;
- // TODO Move 401/407 to AuthenticationException after
WAGON-587
+ // TODO Move 401/407 to AuthenticationException after WAGON-587
case HttpStatus.SC_FORBIDDEN:
case HttpStatus.SC_UNAUTHORIZED:
case HttpStatus.SC_PROXY_AUTHENTICATION_REQUIRED:
@@ -1073,7 +1073,7 @@ private void fillInputData(int wait, InputData inputData)
fillInputData(backoff(wait, url), inputData);
break;
- // add more entries here
+ // add more entries here
default:
EntityUtils.consumeQuietly(response.getEntity());
cleanupGetTransfer(resource);