Replies: 1 comment 3 replies
-
The mojo is quite new (if not to say: experimental :-) ) so its possibly room for improvements. i think as a first step you should use Tycho 4.0.8 (what it the latest release), then we can see how to enhance this, in general sources are always handled a little bit different. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to use the new
mirror-target-platform
goal added in 4.0.5 to mirror a custom Target Platform definition in a.target
file (as using the goalmirror
with a target platform seems to not be working as expected. See this discussion #1554)To start, the only way I found to make this goal work without having to create a feature is to set
eclipse-target-definition
as<packaging>
inpom.xml
Having said that, the issue I encounter now is that it doesn't download the source of the corresponding units (unless the source unit is included explicitly by some feature). I have set
includeSource="true"
in the<location>
node of the.target
file and I also added<targetDefinitionIncludeSource>force</targetDefinitionIncludeSource>
to the target platform configuration.When it starts the execution I see it says
include source mode=ignore
(see below) even when I have set it asforce
.I debugged it a little bit and found this:
https://github.com/eclipse-tycho/tycho/blob/tycho-4.0.8/tycho-core/src/main/java/org/eclipse/tycho/p2resolver/P2DependencyResolver.java#L230-L231
Find a reproducer example at the end.
Question
Is it possible to have a minimal configuration in order to mirror a target platform?
Example
pom.xml
custom.target
Beta Was this translation helpful? Give feedback.
All reactions