facebook

Maven cannot calculate your build plan error

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #287577 Reply

    kuno
    Member

    I get this error when i right click on pom.xml -> run -> Maven install

    [INFO] Scanning for projects…
    [INFO] ————————————————————————
    [INFO] Building TestUtilies
    [INFO]
    [INFO] Id: com.test:TestUtilies:jar:0.0.1-SNAPSHOT
    [INFO] task-segment: [install]
    [INFO] ————————————————————————
    url = http://repo1.maven.org/maven2
    Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom
    [ERROR]

    Maven cannot calculate your build plan, given the following information:

    Tasks:
    – install

    Current project:
    Group-Id: com.test
    Artifact-Id: TestUtilies
    Version: 0.0.1-SNAPSHOT
    From file: C:\Documents and Settings\ymcmilla\eclipse\workspace\YukiProjects\TestUtilies\pom.xml

    Error message: Failed to resolve plugin for mojo binding: org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
    Root error message: Unable to download the artifact from any repository

    [INFO] ————————————————————————
    [INFO] For more information, run with the -e flag
    [INFO] ————————————————————————
    [INFO] BUILD FAILED
    [INFO] ————————————————————————
    [INFO] Total time: 22 seconds
    [INFO] Finished at: Fri Jul 25 13:20:23 PDT 2008
    [INFO] Final Memory: 1M/3M
    [INFO] ————————————————————————

    #287647 Reply

    This is either a connectivity issue or http://repo1.maven.org/maven2 was down. Please make sure you can access this repository and retry your Maven build.

    #295749 Reply

    shijiangpeng
    Member

    Is this issue solved? I have the exact same issue here. I tried to open http://repo1.maven.org/maven2 from browser and it works ok; and I have set up network connection proxy for myeclipse, but still have this issue. Could anyone please give me some advice? Thanks.

    #295758 Reply

    shijiangpeng
    Member

    never mind, it works now. I guess it’s just network down.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Maven cannot calculate your build plan error

You must be logged in to post in the forum log in