[FIXED JENKINS-15714] HTTP 500 Internal Exception accessing Maven Repository URL for specific builds

The code attempted to modify a read-only view returned by Guava collections utilities. Modified it to use filtering instead.
Merge pull request #11 from victorbr/master

Fixed JENKINS-15714
Method getPathInfo() does not contains context path which causes index out of bound error if there is any context path.
Improve the way upstream repositories are used.

Previously, 'upstream' would just use the url 'latest'. However, that
leads to instability, as if you repeated the build downstream you might
get 2 different builds, and it's difficult to see why one might fail.

Instead, stamp into the build the exact repository, so this can be
successfully traced. Also fix the repositoryChain behaviour.


Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
Merge pull request #13 from lvotypko/out-of-bound-error

Index out of bound error
Updated dependencies to newest Jenkins
#16 - repo broken if a context path is used - see https://github.com/magnayn/Jenkins-Repository/issues/16
Merge pull request #17 from timboudreau/master

Fix for #16 - works
Ok - we'll figure out the tests later
Update POMs to next -SNAPSHOT
Use SLF4J;
Start of support for promoted builds.

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
Minor things
- protecting against initialisation with nulls
- some toString implementations

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
Update some dependencies as, in true maven fashion, doesn't build
any more.

Bump to 1.2, becaue the maven release plugin managed to 'release'
a 1.1-SNAPSHOT (HUH?)

Abort trying to use that P.O.S., revert to mvn:deploy instead.

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
Prepare for next development iteration

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
prefer LTS
guava dependency conflicts with jenkins-core one when ran as unit test
[FIXED JENKINS-22302] consider servletPath when pathInfo is null
Merge pull request #20 from ndeloof/master

JENKINS-22302