Re: [tycho-user] Build with Neon site and Artifactory

It is an artifactory issue. You need to specify the repository only for download.eclipse.org and point to the sub path via virtual repository.

Am 25.10.2016 13:53 schrieb "BERNARD, Alain" <alain.bernard@xxxxxxxxxx>:

Hi All,

We are starting to set up an Artifactory server in the company. So we have created a p2 Virtual Repository in Artifactory to point to

When we go into the “Install new software” window in Eclipse and select our Artifactory mirror, all artifacts are correctly resolved.

So we updated our target platform to point to the Artifactory mirror, but when it comes to dependency resolution we have an error which seems due to the fact that the Neon URL points to another site:

org.apache.maven.MavenExecutionException: Failed to resolve target definition C:\Users\to106014\Documents\Eclipse\TychoWS\com.codeandme.tycho.releng.targetplatform\com.codeandme.tycho.releng.targetplatform.target: Failed to load p2 metadata repository from location https://artifactory.eu.airbus.corp/IN00/eclipse-neon/

What I don’t understand is that if I put our proxy settings in Maven settings.xml file the Tycho build works fine, but normally it should not be required as we use Artifactory precisely to avoid that.

I’m quite sure that I’m setting up the Tycho build the wrong way, but I cannot find what. Maybe should I use directly the other URL for the Neon site? In this case, where can I find how the update-sites are organized on Eclipse servers? (I’m not admin of our Artifactory instance so I cannot make all the tests I would like to do)

Alain


The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx