MR is now opened: Resolve "Fix IntelliJ compilation issue" (!1178) · Merge requests · Orekit / Orekit · GitLab.
What was done:
- Move
com.sun.source.util.Pluginfromsrc/main/resourcestosrc/main/plugin-descriptor - In
maven-resources-plugin, add a new step to copycom.sun.source.util.Pluginfromsrc/main/plugin-descriptorto project build directory - Move
-Xplugin:dataContextPluginfrom defaultmaven-compiler-pluginto a dedicateddata-context-pluginprofile that automatically detects if IntelliJ’s build i being used- If true, skip this argument
- If not, re-add it to preserve original behaviour
Hence, when reloading & rebuilding project in intellij, the .idea/compiler.xml does not re-add -Xplugin:dataContextPlugin.
Plugin is still activated in CI and with standard maven build ![]()
You may want to take a look @evan.ward since you made the plugin.
Cheers,
Vincent