• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Non-resolvable parent POM

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Need your help in resolving maven issues.

I have made all the basic set up for cTakes project(which is a freeware). I tried to run the parent pom I get this error both from command line and from eclipse.

Please help me resolve this.

cTakes 3.2.0\ctakes\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not transfer artifact org.apache:ap
ache:pom:13 from/to central (https://repo.maven.apache.org/maven2): repo.maven.a
pache.org and 'parent.relativePath' points at wrong local POM @ line 85, column
10: Unknown host repo.maven.apache.org -> [Help 2]
[ERROR]

D:\cTakes Dump\cTakes 3.2.0\ctakes>mvn -version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T10:29:
3-07:00)
Maven home: D:\maven
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_51\jre
Default locale: en_US, platform encoding: Cp1252

please let me know if any other information is required.
 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you behind a proxy? If yes, try setting it up:

A sample of your settings.xml from Maven looks like this:



 
best scout
Posts: 1294
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's a DNS problem. The error message "Unknown host repo.maven.apache.org" clearly says it. Maybe a firewall is blocking outgoing DNS requests or your general network setup is wrong.

Marco
 
Dhivya Krishnan
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is the proxy settings I have put in settings.xml inside m2 folder and the settings.xml in maven/conf/settings.xml

<proxies>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<host>proxy.xxx.com</host>
<port>8080</port>
<username>username</username>
<password>pwd</password>
<nonProxyHosts>www.google.com|*.example.com</nonProxyHosts>
</proxy>
</proxies>

The required repositories are available in local m2 repository. I have got it from someone here. But why is it trying to search in central repository when it is available in local repository.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic