Allow plugins to use self-provided licenses for used Maven Jars
Allow plugins to use self-provided licenses for used Maven Jars

maven_jar only allowed to use licenses that were defined in
'//lib:'. But plugins may need further licenses that are not yet in
core (E.g.: plugins/its-jira relies on a jar with CPL1.0
license). Since, plugins cannot add rules underneath '//lib:', we add
the local_license parameter to maven_jar, which allows plugins to use
licenses from ':' instead of '//lib:'.

Change-Id: Icc40c413eed65a0b6e3003021050d91086ca4c34

renchaorevee/gerrit,gerrit-review/gerrit,supriyantomaftuh/gerrit,gerrit-review/gerrit,hdost/gerrit,thesamet/gerrit,gerrit-review/gerrit,renchaorevee/gerrit,netroby/gerrit,gerrit-review/gerrit,MerritCR/merrit,quyixia/gerrit,Distrotech/gerrit,netroby/gerrit,Distrotech/gerrit,pkdevbox/gerrit,gerrit-review/gerrit,jackminicloud/test,GerritCodeReview/gerrit,quyixia/gerrit,GerritCodeReview/gerrit,Seinlin/gerrit,thesamet/gerrit,pkdevbox/gerrit,thesamet/gerrit,pkdevbox/gerrit,qtproject/qtqa-gerrit,thesamet/gerrit,qtproject/qtqa-gerrit,TonyChai24/test,supriyantomaftuh/gerrit,supriyantomaftuh/gerrit,GerritCodeReview/gerrit,renchaorevee/gerrit,thesamet/gerrit,netroby/gerrit,jackminicloud/test,TonyChai24/test,renchaorevee/gerrit,renchaorevee/gerrit,WANdisco/gerrit,pkdevbox/gerrit,WANdisco/gerrit,thesamet/gerrit,hdost/gerrit,joshuawilson/merrit,qtproject/qtqa-gerrit,joshuawilson/merrit,joshuawilson/merrit,quyixia/gerrit,GerritCodeReview/gerrit,Seinlin/gerrit,MerritCR/merrit,Seinlin/gerrit,pkdevbox/gerrit,WANdisco/gerrit,MerritCR/merrit,Distrotech/gerrit,TonyChai24/test,WANdisco/gerrit,supriyantomaftuh/gerrit,joshuawilson/merrit,netroby/gerrit,qtproject/qtqa-gerrit,hdost/gerrit,jackminicloud/test,quyixia/gerrit,WANdisco/gerrit,quyixia/gerrit,jackminicloud/test,WANdisco/gerrit,Distrotech/gerrit,TonyChai24/test,supriyantomaftuh/gerrit,hdost/gerrit,MerritCR/merrit,GerritCodeReview/gerrit,quyixia/gerrit,jackminicloud/test,hdost/gerrit,Seinlin/gerrit,GerritCodeReview/gerrit,joshuawilson/merrit,netroby/gerrit,joshuawilson/merrit,TonyChai24/test,MerritCR/merrit,WANdisco/gerrit,MerritCR/merrit,joshuawilson/merrit,TonyChai24/test,renchaorevee/gerrit,hdost/gerrit,netroby/gerrit,quyixia/gerrit,qtproject/qtqa-gerrit,thesamet/gerrit,supriyantomaftuh/gerrit,jackminicloud/test,GerritCodeReview/gerrit,supriyantomaftuh/gerrit,Seinlin/gerrit,MerritCR/merrit,Seinlin/gerrit,netroby/gerrit,Distrotech/gerrit,MerritCR/merrit,pkdevbox/gerrit,Seinlin/gerrit,pkdevbox/gerrit,joshuawilson/merrit,qtproject/qtqa-gerrit,Distrotech/gerrit,qtproject/qtqa-gerrit,TonyChai24/test,Distrotech/gerrit,gerrit-review/gerrit,jackminicloud/test,hdost/gerrit,renchaorevee/gerrit,GerritCodeReview/gerrit,gerrit-review/gerrit