Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Tycho build fails(p2 repository- https://download.eclipse.org/releases/2018-12 not reachable)
Tycho build fails [message #1816963] Wed, 13 November 2019 06:51 Go to next message
Aruna Deshpande is currently offline Aruna DeshpandeFriend
Messages: 2
Registered: November 2019
Junior Member
Trying to automate the build process for my sample plugin project usinf maven tycho. Tried all known solutions, but no luck.

Set up details :
1. Using eclipse 2018-12 with PDE plugin installed for plugin development
2. Proxy settings are done
3. Maven(3.6.0) is installed
4. Converted my simple plugin to maven project. And pom looks like below,

.....
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.myorg</groupId>
	<artifactId>com.myorg.myplgin</artifactId>
	<version>1.0.0-SNAPSHOT</version>
	<packaging>eclipse-plugin</packaging>
	<properties>
		<tycho-version>1.4.0</tycho-version>
	</properties>
	<repositories>
		<repository>
			<id>2018-12</id>
			<layout>p2</layout>
			<url>https://download.eclipse.org/releases/2018-12/</url>
		</repository>
	</repositories>
	<build>
		<plugins>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>tycho-maven-plugin</artifactId>
				<version>${tycho-version}</version>
				<extensions>true</extensions>
			</plugin>
		</plugins>
	</build>
</project>


Upon building getting below error,
Caused by: java.net.UnknownHostException: download.eclipse.org
    at java.net.InetAddress.getAllByName0 (InetAddress.java:1280)
    at java.net.InetAddress.getAllByName (InetAddress.java:1192)
    at java.net.InetAddress.getAllByName (InetAddress.java:1126)
    at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve (SystemDefaultDnsResolver.java:45)
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname (DefaultClientConnectionOperator.java:263)
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection (DefaultClientConnectionOperator.java:162)
    at org.apache.http.impl.conn.ManagedClientConnectionImpl.open (ManagedClientConnectionImpl.java:326)
    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect (DefaultRequestDirector.java:610)
    at org.apache.http.impl.client.DefaultRequestDirector.execute (DefaultRequestDirector.java:445)
    at org.apache.http.impl.client.AbstractHttpClient.doExecute (AbstractHttpClient.java:835)
    at org.apache.http.impl.client.CloseableHttpClient.execute (CloseableHttpClient.java:83)
    at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest (HttpClientFileSystemBrowser.java:263)
    at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run (AbstractFileSystemBrowser.java:69)
    at org.eclipse.core.internal.jobs.Worker.run (Worker.java:63)


Not able to make out what is wrong here. All proxy settings are fine, still host is unknown. Seems like its very old issue and have been discussed plenty of times in this forum, but no solution mentioned in those posts worked for me. So re-posting the issue.

Re: Tycho build fails [message #1816994 is a reply to message #1816963] Wed, 13 November 2019 13:57 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30688
Registered: July 2009
Senior Member
A failure to find a server's name sounds like a fundamental DNS configuration problem in the server machine on which you run your Tycho build. I doubt than can be fixed via anything configurable in the Maven/Tycho build itself. Does the shell script "ping download.eclipse.org" work on that machine?
Previous Topic:Unable to read repository
Next Topic:Grey screen of death
Goto Forum:
  


Current Time: Tue Dec 10 15:28:47 GMT 2019

Powered by FUDForum. Page generated in 0.02752 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top