[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-dev] tycho-p2-repository-plugin includes too manydependencies
|
This is a good workaround. In fact this will become the default when we introduce the eclipse-product packaging type: https://bugs.eclipse.org/bugs/show_bug.cgi?id=348586
Only if you choose to include a product definition from an eclipse-product into the eclipse-repository, you will get the included features included. Also, the new concept supports non-transitive includes (e.g. only the product definition without content).
Regards
Tobias
> -----Original Message-----
> From: tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-bounces@xxxxxxxxxxx]
> On Behalf Of Dahanne, Anthony
> Sent: 09 June 2011 23:33
> To: Tycho developers list
> Subject: Re: [tycho-dev] tycho-p2-repository-plugin includes too
> manydependencies
>
> I found a workaround, just creating 2 eclipse-repository maven projects
> * repository : that just contains the category.xml
> * product : that just contains the .product files and has its pom
> containing
>
> <plugin>
> <groupId>org.eclipse.tycho</groupId>
> <artifactId>tycho-p2-director-plugin</artifactId>
> <version>${tycho-version}</version>
> <executions>
> <execution>
> <id>materialize-products</id>
> <goals>
> <goal>materialize-
> products</goal>
> </goals>
> </execution>
> <execution>
> <id>archive-products</id>
> <goals>
> <goal>archive-products</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <products>
> <product>
> <id>client.product.id</id>
>
> <attachId>client.product.attachId</attachId>
> <rootFolder>client</rootFolder>
> </product>
> </products>
> </configuration>
> </plugin>
>
> That way, I have a clean repo with just my features in the repository
> project, and my project built in the product project.
> Regards,
> Anthony
>
>
>
>
> Le contenu de ce courriel s'adresse au destinataire seulement. Il contient
> de l'information pouvant être confidentielle. Vous ne devez ni le copier
> ni l'utiliser ni le divulguer à qui que ce soit à moins que vous soyez le
> destinataire ou une personne désignée autorisée. Si vous le receviez par
> erreur, veuillez nous aviser immédiatement et le détruire.
>
> The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or
> disclose it to anyone else. If you received it in error please notify us
> immediately and then destroy it.
>
>
> De : tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-bounces@xxxxxxxxxxx]
> De la part de Dahanne, Anthony
> Envoyé : 9 juin 2011 16:55
> À : tycho-dev@xxxxxxxxxxx
> Objet : [tycho-dev] tycho-p2-repository-plugin includes too
> manydependencies
>
> Hello all !
> Recently, bug 551 got solved
> https://issues.sonatype.org/browse/TYCHO-551 , it made possible to
> "Include all transitive dependencies into the generated repository."
> My problem here is the contrary, by default, tycho-p2-repository-plugin
> includes too many dependencies (when there is a .product defined)
> I mean, if I have a .product in my eclipse-repository maven project,
> tycho will read it and get all of its features and put them in the
> target/repository, along with the features I just built.
> So at the end I'll get a repo with my features + the features needed by
> my product; but I wanted a repo with only my features !
> The only way I found to publish a repo with my only my features, was to
> remove my .product from my eclipse-repository maven project ...
>
> Should I create a new bug ?
> Is there another way to perform this (light p2 repo), and still having
> my products built ?
> Thank you !
>
>
> Anthony Dahanne
> Software Developer
> Compuware Montreal
> 75 Rue Queen, Suite 6500
> Montreal, QC, Canada H3C 2N6
> +1-514-798-8949
>
>
>
> Le contenu de ce courriel s'adresse au destinataire seulement. Il contient
> de l'information pouvant être confidentielle. Vous ne devez ni le copier
> ni l'utiliser ni le divulguer à qui que ce soit à moins que vous soyez le
> destinataire ou une personne désignée autorisée. Si vous le receviez par
> erreur, veuillez nous aviser immédiatement et le détruire.
>
> The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or
> disclose it to anyone else. If you received it in error please notify us
> immediately and then destroy it.
>
>
> _______________________________________________
> tycho-dev mailing list
> tycho-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-dev
>
> _______________________________________________
> tycho-dev mailing list
> tycho-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-dev