Quantcast
Channel: tycho-user
Viewing all articles
Browse latest Browse all 4647

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

$
0
0

Yes


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

Thanks for the tip. There is also something explained in the documentation of Artifactory but it is not very clear for me.

So I understand that I would have to create only one âremoteâ repository to download.eclipse.org and then create my several âvirtualâ repositories to download.eclipse.org/releases/neon, and other subpaths? (or either delegate the creation of the single remote to Artifactory when setting up one of my virtual repos)

Â

Â

DeÂ: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@eclipse.org] De la part de Dirk Fauth
EnvoyÃÂ: mardi 25 octobre 2016 15:22
ÃÂ: Tycho user list
ObjetÂ: 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 http://download.eclipse.org/releases/neon

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:

Â

[ERROR] 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/: Unable to read repository at https://artifactory.eu.airbus.corp/IN00/eclipse-neon. Unknown Host: http://download.eclipse.org/technology/epp/packages/neon/content.xml: Unknown host download.eclipse.org -> [Help 1]

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)

Â

Â

Thanks for your help,

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
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

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
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

Viewing all articles
Browse latest Browse all 4647

Trending Articles