Results 1 to 2 of 2

Thread: Error creating a simple maven project

  1. #1
    Join Date
    Aug 2012
    Posts
    1

    Default Error creating a simple maven project

    Hi, I am new to Spring Sts,I downloaded the 2.9.2 zipped version for windows OS. I am trying to create a simple maven project
    New-> Other -> Maven -> Maven project.

    I am getting some errors from the pom file after the project is generated. Can someone help explain to me what i have done wrong or is there some extra setting needed?

    I did a search on similar errors and the closest I can get was about firewall and proxy. I am not using any proxy and i have try disable the windows firewall and I am not using other firewall application and it is still getting the same error.


    Error Message below:

    Plugin execution not covered by lifecycle configuration:org.apache.maven.plugin(click for 3 more)

    CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-pluginom:2.3.2 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-compiler-pluginom:2.3.2 from/to central (http://repo1.maven.org/maven2): Invalid argument: getsockname to http://repo1.maven.org/maven2/org/ap...ugin-2.3.2.pom


    plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (execution: default-testCompile, phase: test-compile)

    Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (execution: default-compile, phase: compile)


    Failure to transfer org.apache.maven.plugins:maven-resources-pluginom:2.4.3 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-resources-pluginom:2.4.3 from/to central (http://repo1.maven.org/maven2): Invalid argument: getsockname to http://repo1.maven.org/maven2/org/ap...ugin-2.4.3.pom

  2. #2
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,637

    Default

    Hey!

    Regarding the "plugin execution not covered by lifecycle configuration", I would recommend to take a look here:
    http://wiki.eclipse.org/M2E_plugin_e...on_not_covered

    But that doesn't seem to be the real problem. It looks indeed like a connectivity problem. If you have disabled the Windows firewall already, it could be a JDK 1.7 problem. Can you try to run STS with JDK 1.6 instead to see if that solves the problem?

    HTH,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •