If I understood well, this will also build my plugin against the Jenkins core 2.6, isn't?
from plugin-2.9.pom<dependency>
<groupId>org.jenkins-ci.main</groupId>
<artifactId>jenkins-core</artifactId>
<version>${jenkins.version}</version>
</dependency>
What I'm trying to do is just to build it with the minimum version I need (1.580.1) and test it against a Jenkins instance v2.6.
I could do that by packaging my plugin with dependency to 1.580.1, then installing it in a standalone Jenkins v2.6. But I would like to avoid the pain of packaging, reinstalling the plugin, restarting the instance etc...