Skip to content

Commit

Permalink
[MRESOLVER-311] Upgrade Parent to 39 (s4u#250)
Browse files Browse the repository at this point in the history
No code change, only formatting applied. Two key plugins install/deploy upped to latest 3.1.0. Followup commit with git-blame-ignore-revs incoming.

---

https://issues.apache.org/jira/browse/MRESOLVER-311
  • Loading branch information
slachiewicz authored Feb 20, 2023
1 parent 18a16c8 commit 97dfd1c
Show file tree
Hide file tree
Showing 691 changed files with 27,869 additions and 38,622 deletions.
6 changes: 1 addition & 5 deletions maven-resolver-api/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
Expand All @@ -18,7 +17,6 @@
specific language governing permissions and limitations
under the License.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

Expand All @@ -31,9 +29,7 @@
<artifactId>maven-resolver-api</artifactId>

<name>Maven Artifact Resolver API</name>
<description>
The application programming interface for the repository system.
</description>
<description>The application programming interface for the repository system.</description>

<properties>
<Automatic-Module-Name>org.apache.maven.resolver</Automatic-Module-Name>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package org.eclipse.aether;

/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -9,7 +7,7 @@
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
Expand All @@ -18,6 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.eclipse.aether;

import java.util.Map;

Expand All @@ -42,16 +41,12 @@
* A special repository system session to enable decorating or proxying another session. To do so, clients have to
* create a subclass and implement {@link #getSession()}, and optionally override other methods.
*/
public abstract class AbstractForwardingRepositorySystemSession
implements RepositorySystemSession
{
public abstract class AbstractForwardingRepositorySystemSession implements RepositorySystemSession {

/**
* Creates a new forwarding session.
*/
protected AbstractForwardingRepositorySystemSession()
{
}
protected AbstractForwardingRepositorySystemSession() {}

/**
* Gets the repository system session to which this instance forwards calls. It's worth noting that this class does
Expand All @@ -63,158 +58,132 @@ protected AbstractForwardingRepositorySystemSession()
protected abstract RepositorySystemSession getSession();

@Override
public boolean isOffline()
{
public boolean isOffline() {
return getSession().isOffline();
}

@Override
public boolean isIgnoreArtifactDescriptorRepositories()
{
public boolean isIgnoreArtifactDescriptorRepositories() {
return getSession().isIgnoreArtifactDescriptorRepositories();
}

@Override
public ResolutionErrorPolicy getResolutionErrorPolicy()
{
public ResolutionErrorPolicy getResolutionErrorPolicy() {
return getSession().getResolutionErrorPolicy();
}

@Override
public ArtifactDescriptorPolicy getArtifactDescriptorPolicy()
{
public ArtifactDescriptorPolicy getArtifactDescriptorPolicy() {
return getSession().getArtifactDescriptorPolicy();
}

@Override
public String getChecksumPolicy()
{
public String getChecksumPolicy() {
return getSession().getChecksumPolicy();
}

@Override
public String getUpdatePolicy()
{
public String getUpdatePolicy() {
return getSession().getUpdatePolicy();
}

@Override
public LocalRepository getLocalRepository()
{
public LocalRepository getLocalRepository() {
return getSession().getLocalRepository();
}

@Override
public LocalRepositoryManager getLocalRepositoryManager()
{
public LocalRepositoryManager getLocalRepositoryManager() {
return getSession().getLocalRepositoryManager();
}

@Override
public WorkspaceReader getWorkspaceReader()
{
public WorkspaceReader getWorkspaceReader() {
return getSession().getWorkspaceReader();
}

@Override
public RepositoryListener getRepositoryListener()
{
public RepositoryListener getRepositoryListener() {
return getSession().getRepositoryListener();
}

@Override
public TransferListener getTransferListener()
{
public TransferListener getTransferListener() {
return getSession().getTransferListener();
}

@Override
public Map<String, String> getSystemProperties()
{
public Map<String, String> getSystemProperties() {
return getSession().getSystemProperties();
}

@Override
public Map<String, String> getUserProperties()
{
public Map<String, String> getUserProperties() {
return getSession().getUserProperties();
}

@Override
public Map<String, Object> getConfigProperties()
{
public Map<String, Object> getConfigProperties() {
return getSession().getConfigProperties();
}

@Override
public MirrorSelector getMirrorSelector()
{
public MirrorSelector getMirrorSelector() {
return getSession().getMirrorSelector();
}

@Override
public ProxySelector getProxySelector()
{
public ProxySelector getProxySelector() {
return getSession().getProxySelector();
}

@Override
public AuthenticationSelector getAuthenticationSelector()
{
public AuthenticationSelector getAuthenticationSelector() {
return getSession().getAuthenticationSelector();
}

@Override
public ArtifactTypeRegistry getArtifactTypeRegistry()
{
public ArtifactTypeRegistry getArtifactTypeRegistry() {
return getSession().getArtifactTypeRegistry();
}

@Override
public DependencyTraverser getDependencyTraverser()
{
public DependencyTraverser getDependencyTraverser() {
return getSession().getDependencyTraverser();
}

@Override
public DependencyManager getDependencyManager()
{
public DependencyManager getDependencyManager() {
return getSession().getDependencyManager();
}

@Override
public DependencySelector getDependencySelector()
{
public DependencySelector getDependencySelector() {
return getSession().getDependencySelector();
}

@Override
public VersionFilter getVersionFilter()
{
public VersionFilter getVersionFilter() {
return getSession().getVersionFilter();
}

@Override
public DependencyGraphTransformer getDependencyGraphTransformer()
{
public DependencyGraphTransformer getDependencyGraphTransformer() {
return getSession().getDependencyGraphTransformer();
}

@Override
public SessionData getData()
{
public SessionData getData() {
return getSession().getData();
}

@Override
public RepositoryCache getCache()
{
public RepositoryCache getCache() {
return getSession().getCache();
}

@Override
public FileTransformerManager getFileTransformerManager()
{
public FileTransformerManager getFileTransformerManager() {
return getSession().getFileTransformerManager();
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package org.eclipse.aether;

/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -8,105 +6,63 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.eclipse.aether;

/**
* A skeleton implementation for custom repository listeners. The callback methods in this class do nothing.
*/
public abstract class AbstractRepositoryListener
implements RepositoryListener
{
public abstract class AbstractRepositoryListener implements RepositoryListener {

/**
* Enables subclassing.
*/
protected AbstractRepositoryListener()
{
}

public void artifactDeployed( RepositoryEvent event )
{
}
protected AbstractRepositoryListener() {}

public void artifactDeploying( RepositoryEvent event )
{
}
public void artifactDeployed(RepositoryEvent event) {}

public void artifactDescriptorInvalid( RepositoryEvent event )
{
}
public void artifactDeploying(RepositoryEvent event) {}

public void artifactDescriptorMissing( RepositoryEvent event )
{
}
public void artifactDescriptorInvalid(RepositoryEvent event) {}

public void artifactDownloaded( RepositoryEvent event )
{
}
public void artifactDescriptorMissing(RepositoryEvent event) {}

public void artifactDownloading( RepositoryEvent event )
{
}
public void artifactDownloaded(RepositoryEvent event) {}

public void artifactInstalled( RepositoryEvent event )
{
}
public void artifactDownloading(RepositoryEvent event) {}

public void artifactInstalling( RepositoryEvent event )
{
}
public void artifactInstalled(RepositoryEvent event) {}

public void artifactResolved( RepositoryEvent event )
{
}
public void artifactInstalling(RepositoryEvent event) {}

public void artifactResolving( RepositoryEvent event )
{
}
public void artifactResolved(RepositoryEvent event) {}

public void metadataDeployed( RepositoryEvent event )
{
}
public void artifactResolving(RepositoryEvent event) {}

public void metadataDeploying( RepositoryEvent event )
{
}
public void metadataDeployed(RepositoryEvent event) {}

public void metadataDownloaded( RepositoryEvent event )
{
}
public void metadataDeploying(RepositoryEvent event) {}

public void metadataDownloading( RepositoryEvent event )
{
}
public void metadataDownloaded(RepositoryEvent event) {}

public void metadataInstalled( RepositoryEvent event )
{
}
public void metadataDownloading(RepositoryEvent event) {}

public void metadataInstalling( RepositoryEvent event )
{
}
public void metadataInstalled(RepositoryEvent event) {}

public void metadataInvalid( RepositoryEvent event )
{
}
public void metadataInstalling(RepositoryEvent event) {}

public void metadataResolved( RepositoryEvent event )
{
}
public void metadataInvalid(RepositoryEvent event) {}

public void metadataResolving( RepositoryEvent event )
{
}
public void metadataResolved(RepositoryEvent event) {}

public void metadataResolving(RepositoryEvent event) {}
}
Loading

0 comments on commit 97dfd1c

Please sign in to comment.