Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] [EXTERNAL] Looking for Plugin dependencies org.antlr.stringtemplate 3.2.0 and com.google.gson 2.8.0 in public repositories that are still working

Right, you can't directly depend on non-OSGI libraries from Maven repos. You have to use the techniques in the wiki.eclipse.org link to locally produce OSGi versions that you can depend on.

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of khady lo seck
Sent: Friday, March 24, 2017 2:00 PM
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: Re: [tycho-user] [EXTERNAL] Looking for Plugin dependencies org.antlr.stringtemplate 3.2.0 and com.google.gson 2.8.0 in public repositories that are still working

 

External Sender: Use caution with links/attachments.

These are the two dependencies I found these online added the same <dependency></dependency> snippets in my pom but I get the message dependency not found. Maven central repo is mentioned in the repositories listed in the parent pom.

 

 

<dependency>

  <groupId>org.antlr</groupId>

  <artifactId>stringtemplate</artifactId>

  <version>3.2.1</version>

</dependency>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 Cannot resolve project dependencies:

[ERROR]   Software being installed: com.company.model 1.3.0.qualifier

[ERROR]   Missing requirement: com.company.model 1.3.0.qualifier requires 'package org.antlr.stringtemplate 3.2.1' but it could not be found

[ERROR]

 

Exact same error for second project 

<dependency>

  <groupId>com.google.code.gson</groupId>

  <artifactId>gson</artifactId>

  <version>2.8.0</version>

</dependency>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[INFO] {osgi.os=win32, osgi.ws=win32, org.eclipse.update.install.features=true, osgi.arch=x86}

[ERROR] Cannot resolve project dependencies:

[ERROR]   Software being installed: com.company.oauth2.connector 1.0.0.qualifier

[ERROR]   Missing requirement: com.company.oauth2.connector 1.0.0.qualifier requires 'package com.google.gson 2.8.0' but it could not be found

 

On Fri, Mar 24, 2017 at 2:34 PM, Justin Georgeson <JGeorgeson@xxxxxxx> wrote:

Thease?

 

https://search.maven.org/#artifactdetails%7Ccom.google.code.gson%7Cgson%7C2.8.0%7Cjar

 

https://search.maven.org/#artifactdetails%7Corg.antlr%7Cstringtemplate%7C3.2.1%7Cjar

 

If you need OSGi versions you can use the pomDependencies mode to wrap them into OSGI plugins and build a local P2 that has those wrapped versions.

 

https://wiki.eclipse.org/Tycho/How_Tos/Dependency_on_pom-first_artifacts

 

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of khady lo seck
Sent: Friday, March 24, 2017 1:26 PM
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: [EXTERNAL] [tycho-user] Looking for Plugin dependencies org.antlr.stringtemplate 3.2.0 and com.google.gson 2.8.0 in public repositories that are still working

 

External Sender: Use caution with links/attachments.

Hello, 

 

I am trying to build a couple of Maven Tycho projects that requires org.antlr.stringtemplate 3.2.0 and com.google.gson 2.8.0. I can't find these dependencies in public repositories. Has anyone used these and if so where did they take the third party libraries from. I have lost hope in local p2 repos and have resorted to use versions of these already available in public repositories. Thank you in advance for the help. 

 

--

Best regards, 

 

Khady L. Seck

Full Stack Java Developer


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.


_______________________________________________
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



 

--

Best regards, 

 

Khady L. Seck

Full Stack Java Developer

Tel: 438-830-4117


Back to the top