You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rajiv Jain (JIRA)" <ji...@apache.org> on 2016/07/20 21:35:20 UTC

[jira] [Comment Edited] (MNG-5995) Maven itself cannot run without maven-compat

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

Rajiv Jain edited comment on MNG-5995 at 7/20/16 9:34 PM:
----------------------------------------------------------

Why do you say that? 

To build the project I ran mvn -Drat.skip=true clean package and mvn -Drat.skip=true validate. -Drat.skip=true was required so that I avoid the RATException. Have I missed anything?

What else am I missing?

Below is the build output:

[INFO] RAT will not execute since it is configured to be skipped via system property rat.skip.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Maven ....................................... SUCCESS [ 0.991 s]
[INFO] Maven Model ........................................ SUCCESS [ 0.146 s]
[INFO] Maven Artifact ..................................... SUCCESS [ 0.047 s]
[INFO] Maven Plugin API ................................... SUCCESS [ 5.272 s]
[INFO] Maven Builder Support .............................. SUCCESS [ 0.021 s]
[INFO] Maven Model Builder ................................ SUCCESS [ 3.280 s]
[INFO] Maven Settings ..................................... SUCCESS [ 0.023 s]
[INFO] Maven Settings Builder ............................. SUCCESS [ 2.879 s]
[INFO] Maven Repository Metadata Model .................... SUCCESS [ 0.021 s]
[INFO] Maven Aether Provider .............................. SUCCESS [ 11.856 s]
[INFO] Maven Core ......................................... SUCCESS [ 13.564 s]
[INFO] Maven Embedder ..................................... SUCCESS [ 5.267 s]
[INFO] Apache Maven Distribution .......................... SUCCESS [ 2.977 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.962 s
[INFO] Finished at: 2016-07-20T21:02:34+01:00
[INFO] Final Memory: 47M/328M
[INFO] ------------------------------------------------------------------------


was (Author: rajivpj):
Why do you say that? 

To build the project I ran mvn -Drat.skip=true clean package and mvn -Drat.skip=true validate. -Drat.skip=true was required so that I avoid the RATException. Have I missed anything?

What else am I missing?

> Maven itself cannot run without maven-compat
> --------------------------------------------
>
>                 Key: MNG-5995
>                 URL: https://issues.apache.org/jira/browse/MNG-5995
>             Project: Maven
>          Issue Type: Bug
>          Components: Bootstrap & Build, core
>    Affects Versions: 3.3.9
>            Reporter: Robert Scholte
>            Priority: Critical
>
> For all the 3.0 versions of the maven-plugins we require to not depend on maven-compat anymore. However, the Maven distribution still requires maven-compat. A simple proof: remove {{lib/maven-compat-3.x.y}} and execute {{mvn validate}}.
> You'll get the following exception: 
> {noformat}
> No implementation for org.apache.maven.repository.RepositorySystem was bound.
> {noformat}
> Reason: there's only one implementation: o.a.m.r.l.LegacyRepositorySystem, which is part of maven-compat.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)