HPE Anywhere Developer Forum
Showing results for 
Search instead for 
Do you mean 

Failed to create new HPA App Project

SOLVED
Go to Solution
Highlighted
Honored Contributor

Failed to create new HPA App Project

Creation of the new HPA App Project is failed with warning:

 

[WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central ([http://repo.maven.apache.org/maven2):] Connection to [http://repo.maven.apache.org] refused

 

--------------------------------------------------------------------------------------
If some answer solves your problem, please mark it as a solution.
1 REPLY
Honored Contributor

Re: Failed to create new HPA App Project

The proxy settings should be added to the maven configuration file

  1. If exists, rename file %USERPROFILE%/.m2/settings.xml
  2. Edit file C:\HP\HPAnywhere\apache-maven-3.0.4\conf\settings.xml and add to the proxies element the following:
<proxy>
      <id>HPQNETPROXY</id>
      <active>true</active>
      <protocol>http</protocol>
      <host>rhvwebcachevip.bastion.europe.hp.com</host>
      <port>8080</port>
      <nonProxyHosts>*.devlab.ad</nonProxyHosts>
</proxy>

3. Create the new project again (pay attention to change its name)

--------------------------------------------------------------------------------------
If some answer solves your problem, please mark it as a solution.