Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install dependencies #629

Closed
attibalazs opened this issue Aug 18, 2016 · 2 comments
Closed

Unable to install dependencies #629

attibalazs opened this issue Aug 18, 2016 · 2 comments
Labels

Comments

@attibalazs
Copy link

attibalazs commented Aug 18, 2016

Hi, I am just getting started with this. I was unable to install the dependencies for the project.

mvn antrun:run -X

Looks like this file might not be accessible:
Downloading: http://maven.codelibs.org/org/sonatype/oss/oss-parent/9/oss-parent-9.pom

      [ERROR] The build could not read 1 project -> [Help 1]
        org.apache.maven.project.ProjectBuildingException: Some problems were encountered while            processing the POMs:
    [FATAL] Non-resolvable parent POM for org.codelibs.fess:fess:10.2.0-SNAPSHOT: Could not transfer artifact org.sonatype.oss:oss-parent:pom:9 from/to codelibs.org (http://maven.codelibs.org/): Connect to maven.codelibs.org:80 [maven.codelibs.org/49.212.198.183] failed: Connection timed out: connect and 'parent.relativePath' points at wrong local POM @ line 31, column 10

    at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:422)
    at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419)
    at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:410)
    at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83)
    at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    [ERROR]
    [ERROR]   The project org.codelibs.fess:fess:10.2.0-SNAPSHOT (C:\Users\atti\Projects\fess\pom.xml) has 1 error
    [ERROR]     Non-resolvable parent POM for org.codelibs.fess:fess:10.2.0-SNAPSHOT: Could not transfer artifact org.sonatype.oss:oss-parent:pom:9 from/to codelibs.org (http://maven.codelibs.org/): Connect to maven.codelibs.org:80 [maven.codelibs.org/49.212.198.183] failed: Connection timed out: connect and 'parent.relativePath' points at wrong local POM @ line 31,
@marevol
Copy link
Contributor

marevol commented Aug 18, 2016

Connect to maven.codelibs.org:80 [maven.codelibs.org/49.212.198.183] failed: Connection timed out

I think it's a network problem.
Could you check if your mvn connects to maven.codelibs.org?

@attibalazs
Copy link
Author

attibalazs commented Aug 18, 2016

hi, thanks for the quick answer and for putting together a great solution.
You are right it was a connection problem, i am behind a proxy.

This article helped:
https://maven.apache.org/guides/mini/guide-proxies.html
http://stackoverflow.com/questions/16729023/maven-build-issue-connection-to-repository-refused

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants