I’m seeing problems with localizer in plugin builds on
ci.jenkins.io, and wondering if other plugin authors have seen them too.
My plugin generates translations (the Messages classes) before compilation just fine on my laptop. But when the very same plugin is built on
ci.jenkins.io I see compilation errors:
[2019-05-14T09:32:58.909Z] [ERROR] /src/main/java/...packages.../Filters.java:[3,67] cannot find symbol
[2019-05-14T09:32:58.909Z] symbol: class Messages
I also see Javadoc warnings that it can’t find the Messages class.
The build log shows that localize:generate has run multiple times before either the Javadoc or compiler Maven plugins run.
I compared my plugin’s POM to the Jira plugin (which seems to work just fine on
ci.jenkins.io), and there is no significant difference in their localizer or generated source config.
Has anyone seen this before, and what’s the fix?
Regards,
Chris