I solved the problem by editing proxies section in my C:\Program 
Files\NetBeans\8.2\java\maven\conf\settings.xml file

From: Greenberg, Gary [mailto:ggree...@visa.com]
Sent: Wednesday, March 7, 2018 11:54 AM
To: John McDonnell <mcdonnell.j...@gmail.com>
Cc: us...@netbeans.incubator.apache.org
Subject: RE: Can't create a new project in NB 8.2

Just tried it and got same errors.

From: John McDonnell [mailto:mcdonnell.j...@gmail.com]
Sent: Wednesday, March 7, 2018 11:34 AM
To: Greenberg, Gary <ggree...@visa.com<mailto:ggree...@visa.com>>
Cc: 
us...@netbeans.incubator.apache.org<mailto:us...@netbeans.incubator.apache.org>
Subject: Re: Can't create a new project in NB 8.2

Hi Gary,

I just tried it there, created a new project in NetBeans 8.2 (Maven -> Web 
Application) and didn't have any issues.

Have you tried the command line, i.e. creating the project using a Maven 
archetype?

$ mvn archetype:generate -DgroupId={project-packaging}
            -DartifactId={project-name}
            -DarchetypeArtifactId=maven-archetype-webapp
            -DinteractiveMode=false


Regards

John

On 7 March 2018 at 17:50, Greenberg, Gary 
<ggree...@visa.com<mailto:ggree...@visa.com>> wrote:
I am trying to create new Maven Web project.
Filled out all fields in the dialog box but then I am getting the following:

Scanning for projects...
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.pom
Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin 
org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies 
could not be resolved: Failed to read artifact descriptor for 
org.apache.maven.plugins:maven-deploy-plugin:jar:2.7
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.0/maven-site-plugin-3.0.pom
Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-site-plugin:3.0: Plugin 
org.apache.maven.plugins:maven-site-plugin:3.0 or one of its dependencies could 
not be resolved: Failed to read artifact descriptor for 
org.apache.maven.plugins:maven-site-plugin:jar:3.0
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom
Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin 
org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies 
could not be resolved: Failed to read artifact descriptor for 
org.apache.maven.plugins:maven-antrun-plugin:jar:1.3
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.pom
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: Failed to read artifact descriptor for 
org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.1/maven-dependency-plugin-2.1.pom
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: Failed to read artifact descriptor for 
org.apache.maven.plugins:maven-dependency-plugin:jar:2.1
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.0/maven-release-plugin-2.0.pom
Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-release-plugin:2.0: Plugin 
org.apache.maven.plugins:maven-release-plugin:2.0 or one of its dependencies 
could not be resolved: Failed to read artifact descriptor for 
org.apache.maven.plugins:maven-release-plugin:jar:2.0
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to 
central (http://repo.maven.apache.org/maven2): 
repo.maven.apache.org<http://repo.maven.apache.org>
Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to 
central (http://repo.maven.apache.org/maven2): 
repo.maven.apache.org<http://repo.maven.apache.org>
Failure to transfer org.apache.maven.plugins/maven-metadata.xml from 
http://repo.maven.apache.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 metadata 
org.apache.maven.plugins/maven-metadata.xml from/to central 
(http://repo.maven.apache.org/maven2): 
repo.maven.apache.org<http://repo.maven.apache.org>
Failure to transfer org.codehaus.mojo/maven-metadata.xml from 
http://repo.maven.apache.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 metadata 
org.codehaus.mojo/maven-metadata.xml from/to central 
(http://repo.maven.apache.org/maven2): 
repo.maven.apache.org<http://repo.maven.apache.org>
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 0.891s
Finished at: Tue Mar 06 18:26:09 PST 2018
Final Memory: 14M/489M
------------------------------------------------------------------------

I can open http://repo.maven.apache.org/maven2 in my browser, so it doesn’t 
look like a firewall issue.
Where is the catch?

Thanks,
Gary Greenberg
Staff Software Engineer
ggree...@visa.com<mailto:ggree...@visa.com>
Mobile: (650)269-7902


Reply via email to