Discussion:
[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
khady lo seck
2017-03-24 18:26:03 UTC
Permalink
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
Tel: 438-830-4117 <(438)%20830-4117>
Justin Georgeson
2017-03-24 18:34:31 UTC
Permalink
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-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of khady lo seck
Sent: Friday, March 24, 2017 1:26 PM
To: Tycho user list <tycho-***@eclipse.org>
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
Tel: 438-830-4117<tel:(438)%20830-4117>

----------------------------------------------------------------------
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.
khady lo seck
2017-03-24 18:59:43 UTC
Permalink
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
Post by Justin Georgeson
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
eclipse.org] *On Behalf Of *khady lo seck
*Sent:* Friday, March 24, 2017 1:26 PM
*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
Tel: 438-830-4117 <(438)%20830-4117>
------------------------------
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
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
Justin Georgeson
2017-03-24 19:03:34 UTC
Permalink
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-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of khady lo seck
Sent: Friday, March 24, 2017 2:00 PM
To: Tycho user list <tycho-***@eclipse.org>
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<https://urldefense.proofpoint.com/v2/url?u=http-3A__osgi.ws&d=DwMFaQ&c=PskvixtEUDK7wuWU-tIg6oKuGYBRbrMXk2FZvF0UfTo&r=dLxYM3PBhAqFnkH7uKz_OVZL1uyui4QoEmBCjCmEiTk&m=op4axVQrmBE2a0yU2hJmrqr1FhEqA4bmwR1h1q6SZpw&s=jKO6t-yvUNTDMYcgG3SUxdK94gs78aVdmM90b_6M3G0&e=>=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 <***@lgc.com<mailto:***@lgc.com>> wrote:
Thease?

https://search.maven.org/#artifactdetails%7Ccom.google.code.gson%7Cgson%7C2.8.0%7Cjar<https://urldefense.proofpoint.com/v2/url?u=https-3A__search.maven.org_-23artifactdetails-257Ccom.google.code.gson-257Cgson-257C2.8.0-257Cjar&d=DwMFaQ&c=PskvixtEUDK7wuWU-tIg6oKuGYBRbrMXk2FZvF0UfTo&r=dLxYM3PBhAqFnkH7uKz_OVZL1uyui4QoEmBCjCmEiTk&m=op4axVQrmBE2a0yU2hJmrqr1FhEqA4bmwR1h1q6SZpw&s=xhSTa22aExRWlRiKxQqYBWSc2Dfk0YrnnG63kVInVRw&e=>

https://search.maven.org/#artifactdetails%7Corg.antlr%7Cstringtemplate%7C3.2.1%7Cjar<https://urldefense.proofpoint.com/v2/url?u=https-3A__search.maven.org_-23artifactdetails-257Corg.antlr-257Cstringtemplate-257C3.2.1-257Cjar&d=DwMFaQ&c=PskvixtEUDK7wuWU-tIg6oKuGYBRbrMXk2FZvF0UfTo&r=dLxYM3PBhAqFnkH7uKz_OVZL1uyui4QoEmBCjCmEiTk&m=op4axVQrmBE2a0yU2hJmrqr1FhEqA4bmwR1h1q6SZpw&s=Russx8reNJctpiZkUc_F_cyuppzsaSqf2eo27FpBeik&e=>

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<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.eclipse.org_Tycho_How-5FTos_Dependency-5Fon-5Fpom-2Dfirst-5Fartifacts&d=DwMFaQ&c=PskvixtEUDK7wuWU-tIg6oKuGYBRbrMXk2FZvF0UfTo&r=dLxYM3PBhAqFnkH7uKz_OVZL1uyui4QoEmBCjCmEiTk&m=op4axVQrmBE2a0yU2hJmrqr1FhEqA4bmwR1h1q6SZpw&s=OsMrFPg1_SKbTzOXZJQEsUFTK68-k5K2dCCUIx4eFoI&e=>


From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org>] On Behalf Of khady lo seck
Sent: Friday, March 24, 2017 1:26 PM
To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
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
Tel: 438-830-4117<tel:(438)%20830-4117>
________________________________
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-***@eclipse.org<mailto:tycho-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user<https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_tycho-2Duser&d=DwMFaQ&c=PskvixtEUDK7wuWU-tIg6oKuGYBRbrMXk2FZvF0UfTo&r=dLxYM3PBhAqFnkH7uKz_OVZL1uyui4QoEmBCjCmEiTk&m=op4axVQrmBE2a0yU2hJmrqr1FhEqA4bmwR1h1q6SZpw&s=Hj0YJReQZSJrIx1ooMgxhuaUNl9wOcLVYFEUhvRANz0&e=>
--
Best regards,

Khady L. Seck
Full Stack Java Developer
Tel: 438-830-4117
khady lo seck
2017-03-24 19:05:38 UTC
Permalink
Okay thank you.
Post by Justin Georgeson
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.
eclipse.org] *On Behalf Of *khady lo seck
*Sent:* Friday, March 24, 2017 2:00 PM
*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>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[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
<https://urldefense.proofpoint.com/v2/url?u=http-3A__osgi.ws&d=DwMFaQ&c=PskvixtEUDK7wuWU-tIg6oKuGYBRbrMXk2FZvF0UfTo&r=dLxYM3PBhAqFnkH7uKz_OVZL1uyui4QoEmBCjCmEiTk&m=op4axVQrmBE2a0yU2hJmrqr1FhEqA4bmwR1h1q6SZpw&s=jKO6t-yvUNTDMYcgG3SUxdK94gs78aVdmM90b_6M3G0&e=>=win32,
org.eclipse.update.install.features=true, osgi.arch=x86}
[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
Thease?
https://search.maven.org/#artifactdetails%7Ccom.google.
code.gson%7Cgson%7C2.8.0%7Cjar
<https://urldefense.proofpoint.com/v2/url?u=https-3A__search.maven.org_-23artifactdetails-257Ccom.google.code.gson-257Cgson-257C2.8.0-257Cjar&d=DwMFaQ&c=PskvixtEUDK7wuWU-tIg6oKuGYBRbrMXk2FZvF0UfTo&r=dLxYM3PBhAqFnkH7uKz_OVZL1uyui4QoEmBCjCmEiTk&m=op4axVQrmBE2a0yU2hJmrqr1FhEqA4bmwR1h1q6SZpw&s=xhSTa22aExRWlRiKxQqYBWSc2Dfk0YrnnG63kVInVRw&e=>
https://search.maven.org/#artifactdetails%7Corg.antlr%
7Cstringtemplate%7C3.2.1%7Cjar
<https://urldefense.proofpoint.com/v2/url?u=https-3A__search.maven.org_-23artifactdetails-257Corg.antlr-257Cstringtemplate-257C3.2.1-257Cjar&d=DwMFaQ&c=PskvixtEUDK7wuWU-tIg6oKuGYBRbrMXk2FZvF0UfTo&r=dLxYM3PBhAqFnkH7uKz_OVZL1uyui4QoEmBCjCmEiTk&m=op4axVQrmBE2a0yU2hJmrqr1FhEqA4bmwR1h1q6SZpw&s=Russx8reNJctpiZkUc_F_cyuppzsaSqf2eo27FpBeik&e=>
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
<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.eclipse.org_Tycho_How-5FTos_Dependency-5Fon-5Fpom-2Dfirst-5Fartifacts&d=DwMFaQ&c=PskvixtEUDK7wuWU-tIg6oKuGYBRbrMXk2FZvF0UfTo&r=dLxYM3PBhAqFnkH7uKz_OVZL1uyui4QoEmBCjCmEiTk&m=op4axVQrmBE2a0yU2hJmrqr1FhEqA4bmwR1h1q6SZpw&s=OsMrFPg1_SKbTzOXZJQEsUFTK68-k5K2dCCUIx4eFoI&e=>
eclipse.org] *On Behalf Of *khady lo seck
*Sent:* Friday, March 24, 2017 1:26 PM
*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
Tel: 438-830-4117 <(438)%20830-4117>
------------------------------
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
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
<https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_tycho-2Duser&d=DwMFaQ&c=PskvixtEUDK7wuWU-tIg6oKuGYBRbrMXk2FZvF0UfTo&r=dLxYM3PBhAqFnkH7uKz_OVZL1uyui4QoEmBCjCmEiTk&m=op4axVQrmBE2a0yU2hJmrqr1FhEqA4bmwR1h1q6SZpw&s=Hj0YJReQZSJrIx1ooMgxhuaUNl9wOcLVYFEUhvRANz0&e=>
--
Best regards,
*Khady L. Seck*
Full Stack Java Developer
Tel: 438-830-4117 <(438)%20830-4117>
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
Loading...