Replies: 5 comments 4 replies
-
I was trying to figure out how to use that option. Any suggestions, please? |
Beta Was this translation helpful? Give feedback.
-
The best option is to create a small (github) project showing the error then we can discuss/improve on it. |
Beta Was this translation helpful? Give feedback.
-
@laeubi I didn't experience any error: I simply have no idea on how to use that option.. |
Beta Was this translation helpful? Give feedback.
-
Hi @laeubi ! I'm bumping this discussion as I faced the same issue. I'm currently using the Based on this documentation and the mirror goal doc, I tried several configurations and I couldn't make it work. Using a target file I always get a empty repository (with just a I used Maven 3.9.3, Tycho 4.0.0 and Java 17 to run it. It would be really helpful to have a working example that could mirror a target file that contains different kind of declarations (plugins, features, with or without specific versions, with maven coordinates and maybe others). Below you could find a simple reproducer example with up-to-date versions:
|
Beta Was this translation helpful? Give feedback.
-
Well, I just found out that since 4.0.5 there is a I will leave an example here as future reference:
|
Beta Was this translation helpful? Give feedback.
-
Trying to use tycho-p2-extras-plugin:mirror mojo to mirror a targetplatform which should be possible according to https://www.eclipse.org/tycho/sitedocs/tycho-extras/tycho-p2-extras-plugin/mirror-mojo.html#targetPlatformAsSource but I couldn't find an example or further info anywhere.
So I tried around but couldn't figure it out.
Example pom
Execution via
mvn package
results in a mostly empty p2 repository.Direct mojo execution results in
Beta Was this translation helpful? Give feedback.
All reactions