This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to create maven project in netbeans

 
Rajasekhar Pentakota
Ranch Hand
Posts: 38
Java MyEclipse IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

Im unable to create a maven project using netbeans 7.2.


Im getting below log while trying to create new maven project. I have just installed netbeans and not sure if anything is missing as its trying to download. its showing 1% downloaded but not proceeding further. I have well connected internet though.

cd D:\temp; JAVA_HOME=C:\\Progra~1\\Java\\jdk1.7.0_03 M2_HOME=D:\\apache-maven-3.0.4-bin\\apache-maven-3.0.4 D:\\apache-maven-3.0.4-bin\\apache-maven-3.0.4\\bin\\mvn.bat -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.1 -DarchetypeRepository=http://repo.maven.apache.org/maven2 -DgroupId=com.mycompany -DartifactId=mavenproject1 -Dversion=1.0-SNAPSHOT -Dpackage=com.mycompany.mavenproject1 -Dbasedir=D:\\temp -Darchetype.interactive=false --batch-mode archetype:generate
Scanning for projects...
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.jar
Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Could not transfer artifact org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 from/to central (http://repo.maven.apache.org/maven2): GET request of: org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.jar from central failed
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.1/maven-dependency-plugin-2.1.jar
Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.1: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.1 or one of its dependencies could not be resolved: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:jar:2.1 from/to central (http://repo.maven.apache.org/maven2): GET request of: org/apache/maven/plugins/maven-dependency-plugin/2.1/maven-dependency-plugin-2.1.jar from central failed
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.0/maven-release-plugin-2.0.jar


Please advise to resolve.

Thanks, Rajasekhar
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you don't have access to Maven Central. Perhaps you need to configure a proxy?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic