[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] multiple Tycho modules in one aggregator?
|
I don't think it is possible to improve much until enhancement 353889
[1] is implemented.
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=353889
--
Regards,
Igor
On 12-08-25 3:04 AM, Max Spring wrote:
I should have said that site-producer is not a regular Tycho module.
Via exec-maven [1], it pulls a Tycho codebase from a Subversion repository,
applies a patch and builds it with Maven/Tycho [2],
resulting in the update site which gets consumed by site-consumer.
I guess if Tycho didn't complain about the non-existing file://...
repository, the profile/module trickery wouldn't be necessary.
(Admittedly, once my patch gets applied to the source Subversion
repository by the maintainer of the same, my workaround is no longer
needed.)
-Max
[1]
https://github.com/jenkinsci/jenkow-plugin/blob/master/activiti-patch/pom.xml#L43
[2]
https://github.com/jenkinsci/jenkow-plugin/blob/master/activiti-patch/patch.sh
On 08/24/2012 06:08 PM, Igor Fedorenko wrote:
Tycho is expected to resolve dependencies among reactor modules
directly, without need to publish them in a p2 repository. You should
not need site-producer project at all.
--
Regards,
Igor
On 12-08-24 7:30 PM, Max Spring wrote:
I have a multi-module POM with two Tycho modules (and other non-Tycho
modules).
<modules>
<module>site-producer</module>
<module>non-tycho1</module>
<module>site-consumer</module>
<module>non-tycho2</module>
</modules>
The site-producer module results (among other) in an update site
(package=eclipse-repository).
The site-consumer module wants to use this update site as repository,
via a file:///../../site-producer/target/repository reference.
With the naive approach, when doing anything in a clean state on the
aggregator, Maven/Tycho complains with
No repository found at file:/.../target/repository.
As a workaround, I came up with some profile trickery to have
site-consumer only active if the needed repository is actually there.
Now, this requires running 'mvn package' twice.
Not great.
Is there a better way to do this?
Thanks!
-Max
P.S.: The actual project is at
https://github.com/jenkinsci/jenkow-plugin
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user