Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Target Platform + Maven Dependency

Hi,

Thank both of you for your quick response.

@Mickael that is my feeling too. That this library is not OSGI compliant. If this is the case, How can I make it work? Would you know any blog/tutorial that gives me a hint of how to trace this? Is this related to: https://blog.osgi.org/2013/02/javautilserviceloader-in-osgi.html and https://www.eclipse.org/forums/index.php/t/474446/ ?

Should I use this http://aries.apache.org/documentation/modules/spi-fly.html ?

I will like to know if at least I am in a good direction. Thanks!

Kind regards,
Antonio

On Thu, Jun 24, 2021 at 10:02 AM Christoph Läubrich <laeubi@xxxxxxxxxxxxxx> wrote:
You should check where the error originates and make sure to either set
an appropriate context-classloader or maybe let transform some
dependencies to fragments of the 'main' artifact.

Am 24.06.21 um 09:43 schrieb Antonio Garmendía:
> Hi all,
>
> I was trying to use this new feature of adding a maven dependency using
> a target platform (
> https://läubisoft.gmbh/en/articles/using-maven-artifacts-in-pde-rcp-and-tycho-builds/
> <https://xn--lubisoft-0za.gmbh/en/articles/using-maven-artifacts-in-pde-rcp-and-tycho-builds/>
> ). In this sense, I added Roaster API (https://github.com/forge/roaster
> <https://github.com/forge/roaster>) in my Eclipse plug-in using exactly
> the dependencies that they described. Then, when I use this plug-in I am
> getting this error.
>
> No instances of [org.jboss.forge.roaster.spi.JavaParser] were found on
> the classpath.
>
> Eclipse: 2020-09
> Maven: 1.18
>
> I really do not know if this is a problem of Roaster or a problem
> related to this new feature. It seems to be a problem with the class
> loader, so, I start asking in this group. Sorry if I am mistaken.
>
> I don't know what I'm missing, Any hints?
>
> Thanks in advance.
>
> Kind regards,
> Anthony
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>       Virus-free. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>
>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user
>
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user

Back to the top