Hi Ullrich, Sure enough, Messages.properties had ended up in my gitignore file. When I fixed that, localizer behaved fine on CI.
Chris On Tue, 14 May 2019, at 12:14 PM, Ullrich Hafner wrote: > Did you check if the properties files are checked in? Did you test in another > folder on your laptop that checks out the sources from GitHub? > >> Am 14.05.2019 um 12:42 schrieb Chris Kilding >> <[email protected]>: >> >> 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 >> >> <https://groups.google.com/d/msgid/jenkinsci-dev/562704a4-084f-47f6-a03a-d8779f159410%40www.fastmail.com?utm_medium=email&utm_source=footer>. >> For more options, visit https://groups.google.com/d/optout. > > > -- > 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/9061BA5D-A38A-40F3-A967-0B60AC2F3207%40gmail.com > > <https://groups.google.com/d/msgid/jenkinsci-dev/9061BA5D-A38A-40F3-A967-0B60AC2F3207%40gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout. -- 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/29ad1c34-c2b9-42d7-8a58-564f06eb615a%40www.fastmail.com. For more options, visit https://groups.google.com/d/optout.
