Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] OSGi and eclipse bundles

Glad that have worked for you...

Well, I used to explicitly declare all, just because I want to have more control on what is being published, but I think you could try this:

<plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>tycho-p2-repository-plugin</artifactId>
                <version>${tycho-version}</version>
                <configuration>
                    <includeAllDependencies>true</includeAllDependencies>
                </configuration>
            </plugin>

cheers,

Cristiano


On 02/02/12 14:13, Kristoffer Sjögren wrote:
That worked surprisingly well actually. Thank you for the tip!

One thing though. It is fine to add every bundle to feature.xml. But is it possible for the feature to "suck" in all transitive pom/manifest dependencies into p2 without explicitly defining them in the pom?

For example:

<dependency>
 <groupId>org.hibernate</groupId>
 <artifactId>hibernate-validator</artifactId>
</dependency>
<dependency>
 <groupId>org.slf4j</groupId>
 <artifactId>slf4j-api</artifactId>
</dependency>

I need hibernate-validator which in turn needs slf4j. Is there a configuration that allow me to skip transitive dependencies.

Cheers,
-Kristoffer


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top