Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ebr-dev] how to use a local build of ebr
  • From: "Homer, Tony" <tony.homer@xxxxxxxxx>
  • Date: Thu, 23 Jan 2020 22:53:29 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EeJ3uxyYiy6S6Fu66K6V0m3XFtv6/3Aifba55e6Tfak=; b=DygKEZHmvnDmcybPV4hjE60QwjW1x6l0D2xazz4YbIYr0RdHvLqj1MuGl594NIDMI7d9DT1N1HVAPjP1ajqljrPwFw6N14HOGXb8pcPnfHMKR/a2b5Zy9mOcbKS+L55uowMONwr2ED4VfoJea9YeRySzybQTg+3X5rO2nCpRwHeQ/trn4AFHXgfp3mdnlTjqUQWWBvskzQnq2ClGz4p95XdEXQbYWkJWZ33ukDvka2+No4Ob11Nk8RoUebYje8a12bKPQssmoKGsC8pdBluwTue6tQVpDsszFtJezioVfG+KspV6Hti927rXKzw1fybu92zUqjT+JOPp8G45tqV6HA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ixsWRHs3yR7xj8zJzxlVEiDC3iAZOE143oDbt+HYv+lcXEkQNbgNLoqvyFKCRcxhVPMd4REc0KfcCwZlfmfIMD03uSm/atGGmpjbdxZHFqv7BaaRCbLlRSSoB9twgZelVNiY3kADm38NuIi+MtyQM2ulBIQtCl+gDrSxyPyCN5Qw68fNE6W+UdE8mFqnCatGquwyneVgnKlo6ecBeNqAAu3ROVAD19h82r6q0TtDkWmbQ4nTpT5xqPSqn8zYNE9DRrf6kxsHRec+qHFbo+jFThfHQSHiKV07ftHPi60Q+LDXvz5NgTWvVCUJ8UlXEWDT64Qu6ECew0T4vQkQBpd9Fw==
  • Delivered-to: ebr-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/ebr-dev>
  • List-help: <mailto:ebr-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/ebr-dev>, <mailto:ebr-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/ebr-dev>, <mailto:ebr-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHV0j/tishCgIMl7Ue3DNJ0InAfKA==
  • Thread-topic: how to use a local build of ebr
  • User-agent: Microsoft-MacOutlook/10.21.0.200113

Hi ebr-dev-

 

I’ve spent a couple hours today trying to figure something out but haven’t had any luck, so I thought I’d reach out here.

When ebr tries to retrieve the license file, it times out.

Up till now I have worked around this issue by just letting it time out and then manually adding the license, but this really slows things down.

I believe this happens because I am behind a proxy and AboutFilesUtil (which retrieves the license file) does not support proxies.

I cloned the repo and made some changes to hardcode my proxy in AboutFilesUtil (after I get this to work I will switch from hardcoding to getting it from environment).

I built the repo and installed my version of ebr using ‘mvn -f releng/maven-plugins/pom.xml clean install -DskipTests’.

However, when I try to use ebr (in conjunction with orbit-recipes), the release version gets used instead of the local build that was installed into my maven repository.

I verified that my fork is there in ~/.m2/repository by inspecting the contents of ~/.m2/repository/org/eclipse/ebr.

 

I’ve tried a couple things, including…

- delete ~/.m2/repository/org/eclipse/ebr, then install my fork (based on 1.1.1): the 1.1.0 release version gets downloaded and used instead

- repeat the above, then invoke ebr using an explicit version (e.g., instead of ebr:create-recipe, use org.eclipse.ebr:ebr-maven-plugin:1.1.1-SNAPSHOT:create-recipe): this seems to get closer, but the 1.1.0 release version gets downloaded and seems to be getting used instead

 

It seems like using a fork of a maven plugin should be a fairly common workflow, especially for maven plugin developers, so I imagine I am missing some fairly obvious documentation somewhere, but I can’t seem to find it on my own.

I’d also like to learn how maven resolves the string “ebr” to a plugin, but so far I haven’t found the docs which explain how this resolution occurs. 

 

Thanks in advance for any help with this!

Tony Homer

 


Back to the top