EBuild external repository


(Mateusz Gałązka) #1

Elements version
Hi I want to add dependency in Android application to

repositories {
    maven {
    	url "https://repo.eclipse.org/content/repositories/paho-releases/"

dependencies {
    compile('org.eclipse.paho:org.eclipse.paho.android.service:1.0.2') {
        exclude module: 'support-v4'

I changed my Visual Studio .elements file adding :

<GradleRepository Include="https://repo.eclipse.org/content/repositories/paho-releases’’/>
<GradleReference Include="org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.0.2*’’>

But I got message :
Registering Maven Repository ‘https://repo.eclipse.org/content/repositories/paho-releases/
C:\Program Files (x86)\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Cooper.Android.targets(42,3): error : Gradle package org.eclipse.paho:org.eclipse.paho.client.mqttv3 Version 1.0.2* not found in any repositories.

Did I forget about something or doing something wrong ?


(marc hoffman) #2

That looks correct, and from

it seems that the new repository works. Sure the package is in there?

(marc hoffman) #3

there’s no


so this does not seem to be a valid moved repository.

(Mateusz Gałązka) #4

file is located here :
Should I changed repository to this path ?

(marc hoffman) #5

yes. the maven-metadata.xml bust be in the root of the repo (afaik, and EBuild thus expects it there).

(Mateusz Gałązka) #6

It doesn’t work too…
Can you help me with proper configuration for this library , please :slight_smile: ?

(marc hoffman) #7

That looks better. I’ll trace thru the code to see what fails, in a short bit.

(Mateusz Gałązka) #8

Thank you :slight_smile:

(marc hoffman) #9

Hmm. it’s looking for


but the repo has


(dots instead of subfolders). It seems this repo is still not standard Maven format :frowning:

(marc hoffman) #10

Fixed (i.e. implemented support for this repository format)

(Mateusz Gałązka) #11

Great:) Thank you:) how should look proper confuguration as i wrote in first post ?

(marc hoffman) #12

is correct, with my fixes.

(Mateusz Gałązka) #13

Next build from Today oraz next week?

(marc hoffman) #14

Well, there’s won’t be a new build today because reasons :(. but the next build we do put out will have it. Do you use Water, or just VS? in the latter case, I can shoot you an interim build in a while (but the compiler team broke something that prevents Water from building with latest, right now).

(Mateusz Gałązka) #15

I will wait …I dowloaded jar and add reference to it.I use VS now.