Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] m2e PDE extension and Tycho

Thanks Christoph for enabling (finally) Eclipse developers to consume
Maven libs without hassle. Once this is rounded up, it will finally be
possible to develop Eclipse apps similar to other Maven or Gradle
projects without the "convert JAR to OSGi somehow -> put into a p2
update site -> update your target platform" circle.

Does this already resolve dependencies of the Maven artifacts? So far
I'm using the bnd plug-in in Gradle which will automatically pull also
dependencies of the referred library. I described that here:
https://www.vogella.com/tutorials/EclipseJarToPlugin/article.html#bnd-platform-conversion

Best regards, Lars

On Wed, Nov 11, 2020 at 5:12 PM Christoph Läubrich
<laeubi@xxxxxxxxxxxxxx> wrote:
>
> Hi Lars,
>
> I'm glad you liked it, the m2e feature is a bit experimental atm and
> your right this is currently not (yet) supported, so feedback / testing
> is welcome.
>
> I hope I'll be able to add support for this hopefully in Tycho 2.2.0
> release, of course feel free to also add an enhancement request to the
> bug-tracker to express interest in this feature :-)
>
> At the moment you can use the tycho counter-part "wrapAsBundle" with
> maven dependencies (also relative new feature that could need some
> deeper inspection) added to the pom but be aware that the naming scheme
> is a bit different.
>
> Am 11.11.20 um 16:49 schrieb Lars Vogel:
> > Hi,
> >
> > I'm trying to use the new m2e PDE extension for accessing Maven
> > central artifacts and converting them, if necessary, directly into
> > OSGi bundles.
> >
> > Super cool! Works great in the IDE AFAICS.
> >
> > Unfortunately this seems not directly support in Tycho 2.1.0, I get
> > the following warning / error:
> >
> > [WARNING] Target location type 'Maven' is not supported and the
> > library is not found.
> >
> > I know that Tycho 2.1.0 also added support for accessing Maven
> > central. Do I have to configure this independently? Or can the
> > target-platform setup be re-used by Tycho?
> >
> > Best regards, Lars
> >
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user



-- 
Eclipse Platform project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com


Back to the top