Unknown Host: http://download.eclipse.org/releases/photon/content.xml

Guru guru.hb at oracle.com
Fri Nov 16 03:42:21 UTC 2018

I believe you are following the Jmc build step mentioned in README.md. 
There could be any of the below : 
1. Photon update site might have been down for temporarily. (May be for periodic maintenance). 
	You can cross check the same from, eclipse —> Help —> Install new software —> Work with (add) http://download.eclipse.org/releases/photon <http://download.eclipse.org/releases/photon> . This will let you know if the photon p2 site is reachable or not. 
2. If you are behind proxy , please do set the proxy in ~/.m2/settings.xml 
3. If you are building the `Jmc` for the first time , ~/jmc/releng/third-party/ : mvn p2:site && mvn jetty:run will take some time to fetch dependency. (This might not be the case for the below problem).

I tried a `mvn clean package` now and didn’t see any failure. 

> On 16-Nov-2018, at 8:35 AM, Gary Morrison <Gary.Morrison at arm.com> wrote:
> I got side-tracked on a separate assignment, but I'm back to trying to build JMC under JDK 8.
> From the README, I'm through to the (almost) final "mvn package" command, which gives me:
>      ...
>      [INFO] Adding repository http://localhost:8080/site
>      [INFO] Fetching content.jar from http://localhost:8080/site/ (1.46kB)
>      [INFO] Adding repository http://download.eclipse.org/releases/photon
>      [ERROR] Failed to resolve target definition /home/ubuntu/jmc/releng/platform-definitions/platform-definition-photon/platform-definition-photon.target: Failed to load p2 metadata repository from location http://download.eclipse.org/releases/photon/: Unknown Host: http://download.eclipse.org/releases/photon/content.xml: Unknown host my.proxy.example.org -> [Help 1]
>      [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/MavenExecutionException
>      ubuntu at tx2inst-c143:~/jmc$
> When I point my browser over to http://download.eclipse.org/releases/photon/content.xml (browser running on a separate, Windows machine, BTW, so probably not proxies), it really does seem to be "Not Found."  It says:
>      Not Found
>      We're sorry, the page or file cannot be found. Here are some reasons why:
>      A file may have moved to the archives. Please contact the project members on their user forum.
>      Your file was part of a nightly or integration build which is no longer there. Simply download the latest version.
>      The project is uploading a new build, and this file is not there yet. Try again later.
> Does this sound familiar to any of you gentlefolks?
> Thanks for any suggestions!
> IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

More information about the jmc-dev mailing list