Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Resolve Maven plugin dependencies from target platform?



On 2014-11-07, 3:17, Andreas Sewe wrote:
I don't see how to make this work. I don't believe there way to
express "this plugin depends on the same version of xtext runtime
as the project being built". If this was plain Maven project you
could use ${xtext-version} property to link dependency and
plugin/dependency versions, but with Tycho this is not possible
because xtext version isn't known until well into the build.

Does that mean that Maven resolves plugin versions for all the
projects in the reactor at the very start rather than when building
each project. If that is the case, then I can see why this feature
would be very hard, if not impossible to implement.


Maven plugins and their dependencies are resolved before the build
starts, iirc, and project dependencies are normally resolved right
before execution of individual plugin goals.

But even if plugins were resolved after project dependencies, how would
you express "this plugin depends on the same version of xtext runtime as
the project being built"? Can you provide pom.xml snippet?

--
Regards,
Igor


Back to the top