Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] [EXTERNAL] Re: Build with Neon site and Artifactory

In fact, you probably don’t even have to pre-emptively create the remote repository. If you add the remote URL when setting up the Virtual, Artifactory will create the Remote repo as described if it doesn’t already exist.

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Dirk Fauth
Sent: Tuesday, October 25, 2016 9:04 AM
To: Tycho user list
Subject: [EXTERNAL] Re: [tycho-user] Build with Neon site and Artifactory

 

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@xxxxxxxxxxx] 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


This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.

Back to the top