Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Fwd: including pom-first bundle in feature and/or repository

I appreciate your help, but I still seem to be stuck. I feel like I'm trying random things but nothing is working. :( 

Let me try to give more detail. I would really appreciate if someone can help. 

1. I have pom first external bundle that built and deployed to maven repo. 
2. I have a plugin that depends on that bundle. It compiles fine
3. I have a feature that I would like to include plugin AND bundle, but if I add < plugin ..> section for bundle in feature.XML it fails with "could not be found"

4. If I don't include the bundle feature builds, but site with that feature fails due to missing required package (that comes from that bundle)


Any help or pointers highly appreciated. 
Vadim. 


Sent from my iPhone

On Jun 14, 2011, at 6:00 PM, Davy Meers <davymeers@xxxxxxxxxxx> wrote:

Hi,

AFAIK there is no website (yet) that contains all configuration options. For me the tycho its projects were a great source of information. (although they are not really up-to-date IMO; the eclipse-repository packaging type is not used)

I have no experience with POM-first dependencies, but the following project might help you:


>>This all works but I don't know how to either include that pomfirst bundle in the feature...

I would expect that it would work if you add the bundle to your feature as if it were only PDE, add that project as a dependency in the feature's POM and specify "<pomDependencies>consider<pomDependencies>".

A possible problem can be that you specify in your feature's POM a dependency on a snapshot version:
the qualifier will be filled in at the time the feature is built and is (if i am not mistaken) the same during one reactor build.
Since the dependency is built using another reactor it would end with another qualifier, thus not satisfying the dependency.

Regards,
Davy



From: striv@xxxxxxx
Date: Tue, 14 Jun 2011 17:06:18 -0400
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Fwd: including pom-first bundle in feature and/or repository



Hi,

i'm very excited to convert my build to tycho but I'm having problem building a site (either update-site or eclipse-repository). I have a pomfirst bundle that I compile as separate build and then a feature with plugins that uses that bundle. i followed instructions here:https://docs.sonatype.org/display/TYCHO/Dependency+on+pom-first+artifacts and also from related sample project, but there's no example repository project in that particular example.

This all works but I don't know how to either include that pomfirst bundle in the feature (that's part of the separate reactor build) or in eclipse-repository project that's part of same reactor build as the feature/plugin that is using this bundle. All my attemtps failed basically with unable to satisfy dependency of feature on the class that comes from that bundle.

I'm using 0.12.0

Any help or pointer to documentation would be appreciated.
-Vadim

PS. Is there website that list all possible configuration options of each tycho plugin as normally generated by mvn. I can't seem to find such a site on the web.

_______________________________________________ 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

Back to the top