I'm wondering how are you trying to compile it? From CLI with `mvn compile`
or from your IDE?

>From the IDE, you would need to add to classpath the folder
`target/generated-sources/localise` (not sure about the last folder, but
you should have only two folders in this path).

If there is nothing there, run `mvn generate-sources` first.

The class missing are generated from the `Messages.properties` files and
are the localisation messages, generally for the UI.

-- Adrien

Le mar. 26 mars 2019 à 00:52, Richard Landon <bldengr...@gmail.com> a
écrit :

> I see the following 3 error messages trying to compile the Docker plugin
> from sources on github.
>
> git repo: https://github.com/jenkinsci/docker-plugin.git (branch is
> master).
> Envronment Idea; MacOS Mojave; JDK 8 (8.0.202-zulu); followed plugin
> development getting started et al:
> https://wiki.jenkins.io/display/JENKINS/Plugin+tutorial#Plugintutorial-SettingupaproductiveenvironmentwithyourIDE
>
> Here are the message failures.
> Any help appreciated.
>
> Error:(183, 37) java: cannot find symbol
>   symbol:   variable Messages
>   location: class
> com.nirima.jenkins.plugins.docker.DockerDisabled.DescriptorImpl
>
> Error:(42, 16) java: cannot find symbol
>   symbol:   variable Messages
>   location: class com.nirima.jenkins.plugins.docker.DockerManagement
>
> Error:(47, 16) java: cannot find symbol
>   symbol:   variable Messages
>   location: class com.nirima.jenkins.plugins.docker.DockerManagement
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/634d2308-5664-4306-a407-a84f3f8bf07b%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/634d2308-5664-4306-a407-a84f3f8bf07b%40googlegroups.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 Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAKwJSvz8g9ERbFPrBMrrnxHTo4q5zdLveKq4GWOc5muy3z2%3DjQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to