You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (Jira)" <ji...@apache.org> on 2020/05/09 15:23:00 UTC

[jira] [Commented] (MSHARED-856) Require Maven 3.1 or later

    [ https://issues.apache.org/jira/browse/MSHARED-856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17103334#comment-17103334 ] 

Sylwester Lachiewicz commented on MSHARED-856:
----------------------------------------------

Based latest decision to move to Maven 3.1 as the base version - do we still need to maintain this component?

> Require Maven 3.1 or later
> --------------------------
>
>                 Key: MSHARED-856
>                 URL: https://issues.apache.org/jira/browse/MSHARED-856
>             Project: Maven Shared Components
>          Issue Type: Dependency upgrade
>          Components: maven-artifact-transfer
>            Reporter: Elliotte Rusty Harold
>            Priority: Major
>
> Can we remove support for pre-3.1 Mavens now? This is pulling in some really old dependencies I don't trust and would like to get rid of:
> {{}}{{ private MavenArtifactDeployer getMavenArtifactDeployer( ProjectBuildingRequest buildingRequest )}}
> {{ throws ComponentLookupException, ArtifactDeployerException}}
> {{ {}}
> {{ if ( isMaven31() )}}
> {{ {}}
> {{ org.eclipse.aether.RepositorySystem repositorySystem =}}
> {{ container.lookup( org.eclipse.aether.RepositorySystem.class );}}
> {{ org.eclipse.aether.RepositorySystemSession session =}}
> {{ (org.eclipse.aether.RepositorySystemSession) Invoker.invoke( buildingRequest, "getRepositorySession" );}}
> {{ return new Maven31ArtifactDeployer( repositorySystem, session );}}
> {{ }}}
> {{ else}}
> {{ {}}
> {{ org.sonatype.aether.RepositorySystem repositorySystem =}}
> {{ container.lookup( org.sonatype.aether.RepositorySystem.class );}}
> {{ org.sonatype.aether.RepositorySystemSession session =}}
> {{ (org.sonatype.aether.RepositorySystemSession) Invoker.invoke( buildingRequest, "getRepositorySession" );}}
> {{ return new Maven30ArtifactDeployer( repositorySystem, session );}}
> {{ }}}
> {{ }}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)