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.
<groupId>org.antlr</groupId>
<artifactId>stringtemplate</artifactId>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
Exact same error for second project
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[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:
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
--
Full Stack Java Developer
|