Skip to content

Commit

Permalink
[MDEPLOY-316] Parent 42 and prerequisite 3.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cstamas committed Apr 24, 2024
1 parent ac9c49d commit a6def64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pom.xml
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
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 a6def64

Please sign in to comment.