Error installing maven in eclipse juno

While I am trying to install maven in eclipse juno, I got this error. Error Details:

Multiple annotations found at this line:
    - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (execution: default-compile, phase: 
     compile)
    - CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.5.1 or one of its dependencies could not be resolved: 
     Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1: ArtifactResolutionException: The repository system is offline but the 
     artifact org.apache.maven.plugins:maven-compiler-plugin:pom:2.5.1 is not available in the local repository.
    - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (execution: default-testCompile, 
     phase: test-compile)

please help me if you know the correct answer.

thank

+4
source share
1 answer

-, maven settings.xml. , maven, MAVEN_HOME/conf. <proxies> </proxies> , -. maven Eclipse (Preferences > Maven > Installations). - (Preferences > Maven > User Setting), settings.xml ( ). , .

: -, - settings.xml <active>false</active> <proxy>.

+3

Source: https://habr.com/ru/post/1540222/


All Articles