java - Failed to execute MAVEN goal using netbeans 7.3.1, JDK 7x64 does not work on Win 8 64-bit -
i'm new , i'm starting maven using netbeans install 7.3.1, jdk 7x64, formatted win 8 64-bit machine have problems netbeans or maven've tried everything, create variables java_home, installed maven netbeans matter , have same error. i've used virtualbox win xp , perfect running maven, have no connection error not use proxy, in win 8 not work, turned off antivirus, firewall
mvn.bat -darchetypegroupid=org.codehaus.mojo.archetypes -darchetypeartifactid=webapp-javaee6 -darchetypeversion=1.5 -darchetyperepository=http://repo.maven.apache.org/maven2 -dgroupid=com.mycompany -dartifactid=mavenproject1 -dversion=1.0-snapshot -dpackage=com.mycompany.mavenproject1 -dbasedir=c:\\users\\jaime\\documents\\netbeansprojects -darchetype.interactive=false --batch-mode archetype:generate -x -e
downloading: http://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy/1.8.3/groovy-1.8.3.jar
downloading: http://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.1/ant-1.8.1.jar [debug] writing resolution tracking file c:\users\jaime.m2\repository\org\codehaus\groovy\groovy\1.8.3\groovy-1.8.3.jar.lastupdated [debug] writing resolution tracking file c:\users\jaime.m2\repository\org\apache\ant\ant\1.8.1\ant-1.8.1.jar.lastupdated
failed execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: execution default-cli of goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate failed: plugin org.apache.maven.plugins:maven-archetype-plugin:2.2 or 1 of dependencies not resolved: following artifacts not resolved: org.codehaus.groovy:groovy:jar:1.8.3, org.apache.ant:ant:jar:1.8.1: not transfer artifact org.codehaus.groovy:groovy:jar:1.8.3 from/to central (http://repo.maven.apache.org/maven2): request of: org/codehaus/groovy/groovy/1.8.3/groovy-1.8.3.jar central failed: connection reset -> [help 1]
i've run similar issues , never tracked down exact problem, somewhere along line, reinstalling java sets right.
Comments
Post a Comment