Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse project build automation
Eclipse project build automation [message #1806885] Fri, 17 May 2019 07:05 Go to next message
David CHARLET is currently offline David CHARLETFriend
Messages: 12
Registered: January 2018
Junior Member
Hello,

I am trying to automate builds of my eclipse plugins using maven with the Tycho plugin. The issue is that my company forbids access to eclipse repositories (http://download.eclipse.org/releases/oxygen/) since it is not a secure url with https. As a consequence, maven can't get its required dependencies.

Therefore I thought I could create a local eclipse repository clone using nexus (a kind of target platform). Could this approach work ? Has anyone faced a similar issue and figured out a better solution ? And how can I deal with my issue? Any documentation is also welcome.
Re: Eclipse project build automation [message #1806888 is a reply to message #1806885] Fri, 17 May 2019 08:10 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
It's not really a JDT question.

I assume the fundamental problem is that it is a composite like this:
<?xml version='1.0' encoding='UTF-8'?>
<?compositeMetadataRepository version='1.0.0'?>
<repository name='Eclipse Repository'  type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
  <properties size='3'>
    <property name='p2.timestamp' value='1313779613118'/>
    <property name='p2.compressed' value='true'/>
    <property name='p2.atomic.composite.loading' value='true'/>
  </properties>
  <children size='3'>
     <child location='http://download.eclipse.org/technology/epp/packages/oxygen/'/>
    <child location='201804111000' />
    <child location='201803211000' />
    <child location='201712201001' />
  </children>
</repository>

So instead of using this site directly use https://download.eclipse.org/releases/oxygen/201804111000 (the final maintenance release) and https//download.eclipse.org/technology/epp/packages/oxygen instead. The latter is not a composite but an aggregate (simple) repository.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse project build automation [message #1806896 is a reply to message #1806888] Fri, 17 May 2019 08:43 Go to previous messageGo to next message
David CHARLET is currently offline David CHARLETFriend
Messages: 12
Registered: January 2018
Junior Member
Thanks for your answer.
Sorry, I didn't know where to post my issue. I will try that.
Re: Eclipse project build automation [message #1806911 is a reply to message #1806896] Fri, 17 May 2019 13:18 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
If for any reasons you still want a local mirror, have a look at https://wiki.eclipse.org/Equinox_p2_Repository_Mirroring
Previous Topic:What are those numbers in hover-popup: "java#11.awt#55.Graphics#32603"
Next Topic:Imported Maven project can't find JUnit or Mockito artifacts, but builds from maven
Goto Forum:
  


Current Time: Wed Apr 24 20:17:54 GMT 2024

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

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

Back to the top