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

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