-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Target platform "system_property" feature doesn't work for update sites with addIUTargetRepositoryReferences #3040
Comments
@kysmith-csg thats an interesting case indeed, do you like to try providing a PR for that (at best We should already have an abstraction about the variable resolving itself but if you have any problems let me know. |
I assume this is fixed now. @kysmith-csg Can youtry the current tycho snapshot build if you still see any issues? |
It does work now with the latest 4.0.5-SNAPSHOT now, thanks. content.xml in my eclipse-repository project <references size='4'>
<repository uri='https://download.eclipse.org/releases/2023-09' url='https://download.eclipse.org/releases/2023-09' type='1' options='1'/> target-platform.target 4 <locations>
5 <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
6 <repository location="https://download.eclipse.org/releases/${system_property:eclipse.version}"/> maven.config
|
I have in my target definition file an update site defined as
where
eclipse.version
is defined in.mvn/maven.config
as-Declipse.version=2023-09
. This works fine during target resolution and the build will succeed.In the same reactor build, I have an update site project that has the following property set:
If I have the location site defined with the
${system_property:eclipse.version}
, the build will now fail because I guess this mojo doesn't resolve the properties and just uses the url literally.The text was updated successfully, but these errors were encountered: