Skip to content

Commit

Permalink
[MDEPLOY-316] Parent 42 and prerequisite 3.6.3 (#54)
Browse files Browse the repository at this point in the history
Update parent to 42 and prerequisite to Maven 3.6.3

---

https://issues.apache.org/jira/browse/MDEPLOY-316
  • Loading branch information
cstamas authored Apr 24, 2024
1 parent ac9c49d commit 74d331b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/maven-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ jobs:
build:
name: Verify
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v4
with:
jdk-distribution-matrix: '[ "zulu" ]'
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ under the License.
<parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugins</artifactId>
<version>41</version>
<version>42</version>
<relativePath />
</parent>

Expand All @@ -43,7 +43,7 @@ under the License.
</contributors>

<prerequisites>
<maven>3.2.5</maven>
<maven>3.6.3</maven>
</prerequisites>

<scm>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ protected void warnIfAffectedPackagingAndMaven(final String packaging) {
* Creates resolver {@link RemoteRepository} equipped with needed whistles and bells.
*/
protected RemoteRepository getRemoteRepository(final String repositoryId, final String url) {
// TODO: RepositorySystem#newDeploymentRepository does this very same thing!
RemoteRepository result = new RemoteRepository.Builder(repositoryId, "default", url).build();

if (result.getAuthentication() == null || result.getProxy() == null) {
Expand Down

0 comments on commit 74d331b

Please sign in to comment.