EBuild external repository

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 ?


That looks correct, and from

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

there’s no


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

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

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

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

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

Thank you :slight_smile:

Hmm. it’s looking for


but the repo has


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

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

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

is correct, with my fixes.

Next build from Today oraz next week?

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).

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

1 Like

Marc i found some time and I back to this post and I have problem with paho.service
<GradleRepository Include="https://repo.eclipse.org/content/repositories/paho-releases’’/>
<GradleReference Include="org.eclipse.paho:org.eclipse.paho.android.service:1.0.2*’’>

I get info :
Unsupported file type .pom from Gradle reference org.eclipse.paho:org.eclipse.paho.android.service:*.

Can You help me with this ? I’m trying to port android app to androidx and I need gradle refernce to compile it properly.

Best regards


this reference seems to include nom .aar or .jar file, just a .pom. As such, there’s nothing for EBuild to do with it. This is just a warning, no error, b ut it essentially means the package is useless to the build.

this one will be ok ( I mean version 1.1.1)?

"GradleRepository Include="https://repo.eclipse.org/content/repositories/paho-releases/"/">
“GradleReference Include=“org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.2]”/”>
“GradleReference Include=“org.eclipse.paho:org.eclipse.paho.android.service:1.1.1]”/>”

client added as reference service not…
I don’t understand log (found but it is not accessible in project or I missed something… ??)

HTTP Error 404 trying to load ‘https://dl.google.com/dl/android/maven2/org/eclipse/paho/org.eclipse.paho.client.mqttv3/maven-metadata.xml
D: Checking <MavenRepository https://repo1.maven.org/maven2>
D: Package org.eclipse.paho:org.eclipse.paho.client.mqttv3 found in repository <MavenRepository https://repo1.maven.org/maven2>
D: Available Versions of ‘org.eclipse.paho:org.eclipse.paho.client.mqttv3’: 1.2.2, 1.2.1, 1.2.0, 1.1.1, 1.1.0, 1.0.2.
D: Package org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.2 found in repository <MavenRepository https://repo1.maven.org/maven2>.
D: Checking <MavenRepository https://dl.google.com/dl/android/maven2>
HTTP Error 404 trying to load ‘https://dl.google.com/dl/android/maven2/org/eclipse/paho/org.eclipse.paho.android.service/maven-metadata.xml
D: Checking <MavenRepository https://repo1.maven.org/maven2>
D: Package org.eclipse.paho:org.eclipse.paho.android.service found in repository <MavenRepository https://repo1.maven.org/maven2>
D: Available Versions of ‘org.eclipse.paho:org.eclipse.paho.android.service’: 1.1.1, 1.0.2.
D: Package org.eclipse.paho:org.eclipse.paho.android.service:1.1.1 found in repository <MavenRepository https://repo1.maven.org/maven2>.

I’ll need to have. look in the morning, sorry.

Any chance to help me with this topic ?