Forum Stats

  • 3,837,409 Users
  • 2,262,256 Discussions
  • 7,900,271 Comments

Discussions

error when compiling in eclipse luna

Tony007
Tony007 Member Posts: 4,248 Bronze Trophy
edited Nov 12, 2015 11:09AM in Enterprise Pack for Eclipse

hi am in eclipse luna am having this error

Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for co.za.hostaname.dsn:dsnweb:jar:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.mongodb:mongo-java-driver:jar -> version 2.11.3 vs 3.0.4 @ line 144, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]                                                                  
[INFO] ------------------------------------------------------------------------
[INFO] Building dsnweb 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/properties-maven-plugin/1.0-alpha-2/properties-maven-plugin-1.0-alpha-2.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.419 s
[INFO] Finished at: 2015-10-14T14:34:11+02:00
[INFO] Final Memory: 2M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:properties-maven-plugin:jar:1.0-alpha-2: Could not transfer artifact org.codehaus.mojo:properties-maven-plugin:pom:1.0-alpha-2 from/to central (http://repo.maven.apache.org/maven2): connect timed out -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException


I have done this
Captureproxy.PNG

when I check out the code and compile am getting this error

Answers

This discussion has been closed.