If I recall correctly, since `plugin-pom` 2.0, the version of the Jenkins
the plugin is built for is set with the `jenkins.version` property, as
Victor said. So you could basically use the latest `plugin-pom` (3.37) and
stil compile for `1.651.3`.
It's a minimal core version requirement. Doesn't mean that it won't work on
older versions nor it will work either on newer versions.
-- Adrien

Le mer. 6 févr. 2019 à 11:06, Victor Martinez <[email protected]>
a écrit :

> IIUC, you would like to use a WAR file different than the default one, if
> so, then you might need to use the properties section to enforce the
> version you'd like to:
>
> - https://github.com/jenkinsci/plugin-pom/tree/plugin-2.0
>
> ...
>  <parent>
>
>     <groupId>org.jenkins-ci.plugins</groupId>
>     <artifactId>plugin-pom</artifactId>
>     <version>2.0</version>
> </parent>
>
> <properties>
>     <jenkins.version>1.651.3</jenkins.version>
>
> ....
>
>
>
> I have not tried though, but something like that it should work I guess
> so. Other than that, if you got some specific questions about plugin
> developoment it's worth to ask to the Jenkins Developers mailing
> list jenkinsci-dev
>
> Cheers
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/c4f4ed52-8ca4-4e5e-b0c0-2e44f3ad6681%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/c4f4ed52-8ca4-4e5e-b0c0-2e44f3ad6681%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Adrien Lecharpentier

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAKwJSvx21MoXOMoLaM2odEUgovdBZfrG0o%2BXuiU2q0nV7%3DSOKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to