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

For more, see the build log at 
https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Faws-secrets-manager-credentials-provider-plugin/detail/support%2Fenable-ci/1/pipeline

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

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/562704a4-084f-47f6-a03a-d8779f159410%40www.fastmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to