maven 2 - Execution of "mvn sonar:sonar" with no external access -


I try to execute mvn sonar: sonar command on a machine where Maven is configured There is no access to the external treasures (in fact, it is not at all, but it helps me to explain my problem).

Therefore, if I run this command, I get the following error:

[Error] Build error [INFO] ------- --------------------------------------------------- --------------- [INFO] plugin 'org.codehaus.mojo: sonar-maven-plugin' does not exist or no valid version can be found

I think that means there is some wrong metadata in my local store because I have local repo] \ org \ codehaus \ mojo \ sonar-maven-plugin \ 1.0-beta-1 \ / Code> Independent Complaints and s (of course inside, of course).

Do you have any idea why my order is failing?

Tech Infos: Maven 2.2.1, Java 1.6, Sonar 2.1.2

Did you try to dry? Section of frequently asked questions:

If you receive this error message after launching the Maven command line "MNN Sonar: Sonar" then in the command Add the "-U" parameter to the line. After this, Maven will update its local store with the latest version of the Sonar Maven Plugin.

When adding your "-U" parameter does not fix your problem, you have certainly encountered the Maven bug. The only known solution is to delete org \ codehaus \ mojo directory in your local Mewen repository. Of course, if your local Maven repository has been synchronized with a repository manager like Nexus, then this operation should also be on behalf of the repository manager.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -