If you use the 2.x line of the plugin parent pom (not to be confused by Jenkins core 2.x) then you can just run mvn hpi:run -Djenkins.version=2.6
If you are going all the way from 1.580 with java.level=6 you might need to add -Djava.level=7 for some dependency checks might fail. /B On Tue, May 24, 2016 at 4:37 PM, Rafael Rezende <[email protected]> wrote: > Let's say my parent pom is *1.580.1* *(or 2.9 with > jenkins.version=1.580.1)*. When I run mvn hpi:run, a Jenkins instance > with that version will be started with my plugin installed. > > Is there any parameter to start my dev Jenkins instance with a different > version of the parent pom? For example, I would like to see how that > version behaves with Jenkins 2.6... > > -- > 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/dc4ca7fc-0555-4e74-9971-ab3483854273%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/dc4ca7fc-0555-4e74-9971-ab3483854273%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Robert Sandell *Software Engineer* *CloudBees Inc.* -- 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/CALzHZS0VngT0_BN5bhq81KexVE7ZoZzn8uhvSsxPf_NthiNRKw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
