I checked ad I can access the http://repo1.maven.org/maven2/org/apache/apache/16/ from a browser but both Eclipse maven build and command line maven build fail with the same error.
On Mon, Oct 5, 2015 at 2:03 PM, Kasper Sørensen < [email protected]> wrote: > Hi Aviad, > > That's a bit strange. It's having trouble locating Apache's parent POM > file. But that's available publically in the central repo [1] so I can only > imagine that very strict network or maven settings can block this. By > default you should certainly have access. > > Best regards, > Kasper > > [1] http://repo1.maven.org/maven2/org/apache/apache/16/ > > 2015-10-05 13:55 GMT+02:00 Aviad Tamir <[email protected]>: > > > Hi! > > > > Question from a newbie: > > > > Trying to build the source locally and getting the following error (see > > below) > > Anyone can share the .m2/settings.xml? > > Other ideas of how to fix are appreciated as well! > > > > > > > > > > ../git/metamodel>mvn clean install [INFO] Scanning for projects... > > Downloading: > > https://repo.maven.apache.org/maven2/org/apache/apache/16/apache-16.pom > > [ERROR] [*ERROR*] Some problems were encountered while processing the > POMs: > > [FATAL] Non-resolvable parent POM for > > org.apache.metamodel:MetaModel:4.4.0-SNAPSHOT: Could not transfer > artifact > > org.apache:apache:pom:16 from/to central ( > > https://repo.maven.apache.org/maven2): Connec t to > > repo.maven.apache.org:443 > > [repo.maven.apache.org/10.254.3.15] failed: Connection timed out: > connect > > and 'parent.relativePath' points at wrong local POM @ line 38, column 10 > @ > > [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] > The > > project org.apache.metamodel:MetaModel:4.4.0-SNAPSHOT > > (../git/metamodel/pom.xml) has 1 error [ERROR] Non-resolvable parent POM > > for org.apache.metamodel:MetaModel:4.4.0-SNAPSHOT: Could not transfer > > artifact org.apache:apache:pom:16 from/to central ( > > https://repo.maven.apache.org/maven2): Co nnect to > > repo.maven.apache.org:443 > > [repo.maven.apache.org/10.254.3.15] failed: Connection timed out: > connect > > and 'parent.relativePath' points at wrong local POM @ line 38, column 10 > -> > > [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, > re-run > > Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to > > enable full debug logging. [ERROR] [ERROR] For more information about the > > errors and possible solutions, please read the following articles: > [ERROR] > > [Help 1] > > > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > > [ERROR] [Help 2] > > > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > > ../git/metamodel> > > >
