You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@eagle.apache.org by lzhshen <29...@qq.com> on 2015/12/29 15:25:32 UTC

Failed to build eagle

After cloning https://github.com/apache/incubator-eagle.git, I ran "mvn -DskipTests clean package" and met following error: 


[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:test-jar (default) on project eagle-query-parent: Execution default of goal org.apache.maven.plugins:maven-jar-plugin:2.6:test-jar failed: Plugin org.apache.maven.plugins:maven-jar-plugin:2.6 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven.shared:maven-shared-utils:jar:0.7, org.codehaus.plexus:plexus-utils:jar:3.0.20, org.codehaus.plexus:plexus-archiver:jar:2.9, org.codehaus.plexus:plexus-io:jar:2.4, commons-io:commons-io:jar:2.2, org.apache.commons:commons-compress:jar:1.9: Could not transfer artifact org.apache.maven.shared:maven-shared-utils:jar:0.7 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/218.85.65.150] failed: Connection refused -> [Help 1]



FYI, I already have a proxy to bypass the China firewall.
Any idea for that?


Leo

Re: Failed to build eagle

Posted by "Liangfei.Su" <su...@gmail.com>.
Leo

>From the error log, it still seems the connection error. Can you make sure
the proxy is used in the command line? like export HTTP_PROXY HTTPS_PROXY
in linux shell (not sure how you set the proxy. i'm assuming linux here).
Since maven jar is accessible through http get, you might want to try curl
https://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-utils/0.7/.....jar
to test it.




On Tue, Dec 29, 2015 at 10:25 PM, lzhshen <29...@qq.com> wrote:

> After cloning https://github.com/apache/incubator-eagle.git, I ran "mvn
> -DskipTests clean package" and met following error:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-jar-plugin:2.6:test-jar (default) on project
> eagle-query-parent: Execution default of goal
> org.apache.maven.plugins:maven-jar-plugin:2.6:test-jar failed: Plugin
> org.apache.maven.plugins:maven-jar-plugin:2.6 or one of its dependencies
> could not be resolved: The following artifacts could not be resolved:
> org.apache.maven.shared:maven-shared-utils:jar:0.7,
> org.codehaus.plexus:plexus-utils:jar:3.0.20,
> org.codehaus.plexus:plexus-archiver:jar:2.9,
> org.codehaus.plexus:plexus-io:jar:2.4, commons-io:commons-io:jar:2.2,
> org.apache.commons:commons-compress:jar:1.9: Could not transfer artifact
> org.apache.maven.shared:maven-shared-utils:jar:0.7 from/to central (
> https://repo.maven.apache.org/maven2): Connect to
> repo.maven.apache.org:443 [repo.maven.apache.org/218.85.65.150] failed:
> Connection refused -> [Help 1]
>
> FYI, I already have a proxy to bypass the China firewall.
> Any idea for that?
>
> Leo
>