Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] Build issue due to firewall

Thanks Fred!
Works like a charm
/Lucas
28 aug 2013 kl. 12:53 skrev Fred Bricon:

my bad, <disableP2mirrors> is deprecated (http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/commit/?id=2cf1fec1499a12f2f8e10db7bbd1e356c198e6e8)

You should use -Dtycho.disableP2Mirrors=true


On Wed, Aug 28, 2013 at 12:50 PM, Fred Bricon <fbricon@xxxxxxxxx> wrote:
You can disable p2 mirrors in your tycho build using The target-platform-configuration parameter <disableP2Mirrors>true</disableP2Mirrors> or use the -Declipse.p2.mirrors=false argument in your CLI build

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=353175


On Wed, Aug 28, 2013 at 12:40 PM, Lucas Persson <lucas.persson@xxxxxxxxxx> wrote:
Hi

I am trying to build the plugins but I get stuck on this:

[INFO] Fetching org.eclipse.xsd_2.9.0.v20130610-0406.jar.pack.gz from http://ftp.osuosl.org/pub/eclipse/releases/kepler/201306260900/plugins/ (2.83kB of 547.78kB at 0B/s)
[ERROR] Internal error: java.lang.RuntimeException: "Messages while reading artifacts from child repositories": ["Messages while reading artifacts from child repositories": ["Problems while reading artifacts from http://download.eclipse.org/releases/kepler/201306260900": ["Retry another mirror": ["Unable to read repository at http://www.gtlib.gatech.edu/pub/eclipse/releases/kepler/201306260900/plugins/org.eclipse.jetty.io_8.1.10.v20130312.jar.pack.gz."], "Retry another mirror": ["Unable to read repository at ftp://ftp.cse.buffalo.edu/pub/Eclipse/releases/kepler/201306260900/plugins/org.eclipse.search_3.9.0.v20130312-1625.jar.pack.gz."]]]] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: "Messages while reading artifacts from child repositories": ["Messages while reading artifacts from child repositories": ["Problems while reading artifacts from http://download.eclipse.org/releases/kepler/201306260900": ["Retry another mirror": ["Unable to read repository at http://www.gtlib.gatech.edu/pub/eclipse/releases/kepler/201306260900/plugins/org.eclipse.jetty.io_8.1.10.v20130312.jar.pack.gz."], "Retry another mirror": ["Unable to read repository at ftp://ftp.cse.buffalo.edu/pub/Eclipse/releases/kepler/201306260900/plugins/org.eclipse.search_3.9.0.v20130312-1625.jar.pack.gz."]]]]
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.lang.RuntimeException: "Messages while reading artifacts from child repositories": ["Messages while reading artifacts from child repositories": ["Problems while reading artifacts from http://download.eclipse.org/releases/kepler/201306260900": ["Retry another mirror": ["Unable to read repository at http://www.gtlib.gatech.edu/pub/eclipse/releases/kepler/201306260900/plugins/org.eclipse.jetty.io_8.1.10.v20130312.jar.pack.gz."], "Retry another mirror": ["Unable to read repository at ftp://ftp.cse.buffalo.edu/pub/Eclipse/releases/kepler/201306260900/plugins/org.eclipse.search_3.9.0.v20130312-1625.jar.pack.gz."]]]]
at org.eclipse.tycho.p2.target.P2ArtifactDownloadTool.downloadArtifactsToLocalMavenRepository(P2ArtifactDownloadTool.java:59)
at org.eclipse.tycho.p2.target.TargetPlatformImpl.downloadArtifacts(TargetPlatformImpl.java:212)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:128)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:78)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:373)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:350)
at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:109)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
... 11 more
[ERROR] 


I think the reason might be that my company's firewall (or perhaps the Maven proxy settings) can not handle ftp.
Is there a way to configure the Tycho plugins to not use FTP mirrors?

Cheers
Lucas



-- 
<oracle_sig_logo.gif>
Lucas Persson | Principal Member of Technical Staff
Phone: +4684773644 | | | Mobile: +46730946656 
Oracle Communications Platform
ORACLE Sweden | Söder Mälarstrand 29, 6 tr | 118 25 Stockholm

Oracle Svenska AB, Kronborgsgränd 17, S-164 28 KISTA, reg.no. 556254-6746 
<green-for-email-sig_0.gif> Oracle is committed to developing practices and products that help protect the environment


_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev




-- 
"Have you tried turning it off and on again" - The IT Crowd



-- 
"Have you tried turning it off and on again" - The IT Crowd
_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev

-- 

Lucas Persson | Principal Member of Technical Staff
Phone: +4684773644 | | | Mobile: +46730946656 
Oracle Communications Platform
ORACLE Sweden | Söder Mälarstrand 29, 6 tr | 118 25 Stockholm

Oracle Svenska AB, Kronborgsgränd 17, S-164 28 KISTA, reg.no. 556254-6746 
 Oracle is committed to developing practices and products that help protect the environment


Back to the top