Replies: 3 comments 8 replies
-
The use-case is mainly intended for projects that are "plain-maven" (e.g. no tycho build) but still producing maven bundles (e.g bnd/felix-maven plugin) to allow them publish a P2 site without extra effort. As an example one could take a look at the jetty-p2 module. The resulting site is deployed to a maven repository and could then be consumed from there, assuming the "plain-maven" artifacts are already deployed there. You should also be able to use this within a tycho build given the following perquisites:
The maven p2 site mojo is relative new. So feel free to describe a bit more your use-case and we might be able to extend/enhance the mojo so it could be used in that scenario as well. I could imagine that for a tycho build it would be a good idea to have a separate packaging type that takes care of the reactor project order and alike. |
Beta Was this translation helpful? Give feedback.
-
In our company we use Gitlab and its project-associated Maven Repositories for plain Java projects. This is great, because it allows us to store and verify everything in one go. For Tycho builds, we currently post our sites to cloud buckets as Gitlab does not offer P2. This creates a separate silo that needs to be managed, cleaned and is not amenable to standard tooling. P2 tooling is not great to start with. |
Beta Was this translation helpful? Give feedback.
-
I have created #436 to investigate more convenient ways to use this inside a tycho build. In the meantime you can use the following approach:
This will then create a repository under |
Beta Was this translation helpful? Give feedback.
-
I am looking for a use case description and ideally example for the tycho-p2-repository:assemble-maven-repository. My understanding is that this would allow publishing P2 equivalent information to an M2 repository, such that it can be consumed by PDE with M2E or tycho builds. If so, this would be a great simplification for our usecases in the company. Ideally I would like to know how this integrates with pomless builds.
Thanks for helping the noobie.
Beta Was this translation helpful? Give feedback.
All reactions