Build: Only add ASL license to pom for elasticsearch project (#22664)
Build: Only add ASL license to pom for elasticsearch project (#22664)

The extra plugins that may be attached to the elasticsearch build
contain their own license. In the past, the ASL license elasticsearch
uses was avoided by specially checking for the gradle project prefix of
`:x-plugins`. However, since refactoring to the elasticsearch-extra dir
structure, this mechanism was broken. This change fixes the pom license
adding to only be applied to projects that fall under the root project
(ie elasticsearch).
sneivandt/elasticsearch,pozhidaevak/elasticsearch,obourgain/elasticsearch,markwalkom/elasticsearch,rajanm/elasticsearch,Stacey-Gammon/elasticsearch,kalimatas/elasticsearch,mortonsykes/elasticsearch,nilabhsagar/elasticsearch,obourgain/elasticsearch,mikemccand/elasticsearch,mortonsykes/elasticsearch,lks21c/elasticsearch,strapdata/elassandra,JackyMai/elasticsearch,nknize/elasticsearch,nazarewk/elasticsearch,JSCooke/elasticsearch,MisterAndersen/elasticsearch,s1monw/elasticsearch,i-am-Nathan/elasticsearch,shreejay/elasticsearch,MisterAndersen/elasticsearch,Helen-Zhao/elasticsearch,maddin2016/elasticsearch,umeshdangat/elasticsearch,mohit/elasticsearch,ZTE-PaaS/elasticsearch,pozhidaevak/elasticsearch,brandonkearby/elasticsearch,qwerty4030/elasticsearch,GlenRSmith/elasticsearch,mohit/elasticsearch,kalimatas/elasticsearch,mohit/elasticsearch,masaruh/elasticsearch,nezirus/elasticsearch,C-Bish/elasticsearch,geidies/elasticsearch,gingerwizard/elasticsearch,fernandozhu/elasticsearch,LewayneNaidoo/elasticsearch,kalimatas/elasticsearch,nknize/elasticsearch,elasticdog/elasticsearch,mortonsykes/elasticsearch,ThiagoGarciaAlves/elasticsearch,HonzaKral/elasticsearch,scottsom/elasticsearch,ThiagoGarciaAlves/elasticsearch,a2lin/elasticsearch,shreejay/elasticsearch,jprante/elasticsearch,Stacey-Gammon/elasticsearch,nilabhsagar/elasticsearch,scorpionvicky/elasticsearch,MisterAndersen/elasticsearch,bawse/elasticsearch,a2lin/elasticsearch,jprante/elasticsearch,nilabhsagar/elasticsearch,rajanm/elasticsearch,LeoYao/elasticsearch,masaruh/elasticsearch,sneivandt/elasticsearch,LeoYao/elasticsearch,jprante/elasticsearch,njlawton/elasticsearch,ThiagoGarciaAlves/elasticsearch,alexshadow007/elasticsearch,s1monw/elasticsearch,brandonkearby/elasticsearch,fred84/elasticsearch,wenpos/elasticsearch,Shepard1212/elasticsearch,nazarewk/elasticsearch,ZTE-PaaS/elasticsearch,pozhidaevak/elasticsearch,glefloch/elasticsearch,ThiagoGarciaAlves/elasticsearch,ZTE-PaaS/elasticsearch,C-Bish/elasticsearch,strapdata/elassandra,njlawton/elasticsearch,strapdata/elassandra,rajanm/elasticsearch,bawse/elasticsearch,sneivandt/elasticsearch,IanvsPoplicola/elasticsearch,HonzaKral/elasticsearch,MisterAndersen/elasticsearch,lks21c/elasticsearch,coding0011/elasticsearch,qwerty4030/elasticsearch,GlenRSmith/elasticsearch,mjason3/elasticsearch,JackyMai/elasticsearch,wangtuo/elasticsearch,jprante/elasticsearch,rajanm/elasticsearch,markwalkom/elasticsearch,lks21c/elasticsearch,nazarewk/elasticsearch,gingerwizard/elasticsearch,Helen-Zhao/elasticsearch,mjason3/elasticsearch,LewayneNaidoo/elasticsearch,uschindler/elasticsearch,s1monw/elasticsearch,geidies/elasticsearch,alexshadow007/elasticsearch,jprante/elasticsearch,mikemccand/elasticsearch,rlugojr/elasticsearch,obourgain/elasticsearch,HonzaKral/elasticsearch,LeoYao/elasticsearch,i-am-Nathan/elasticsearch,vroyer/elasticassandra,vroyer/elasticassandra,JSCooke/elasticsearch,elasticdog/elasticsearch,LeoYao/elasticsearch,gfyoung/elasticsearch,coding0011/elasticsearch,mikemccand/elasticsearch,Shepard1212/elasticsearch,geidies/elasticsearch,robin13/elasticsearch,StefanGor/elasticsearch,scorpionvicky/elasticsearch,geidies/elasticsearch,strapdata/elassandra,gfyoung/elasticsearch,nknize/elasticsearch,i-am-Nathan/elasticsearch,shreejay/elasticsearch,artnowo/elasticsearch,gfyoung/elasticsearch,gfyoung/elasticsearch,mikemccand/elasticsearch,uschindler/elasticsearch,nilabhsagar/elasticsearch,gingerwizard/elasticsearch,geidies/elasticsearch,wenpos/elasticsearch,GlenRSmith/elasticsearch,maddin2016/elasticsearch,jimczi/elasticsearch,glefloch/elasticsearch,JSCooke/elasticsearch,markwalkom/elasticsearch,vroyer/elasticassandra,i-am-Nathan/elasticsearch,umeshdangat/elasticsearch,rlugojr/elasticsearch,naveenhooda2000/elasticsearch,fernandozhu/elasticsearch,winstonewert/elasticsearch,pozhidaevak/elasticsearch,maddin2016/elasticsearch,LewayneNaidoo/elasticsearch,masaruh/elasticsearch,naveenhooda2000/elasticsearch,sneivandt/elasticsearch,StefanGor/elasticsearch,strapdata/elassandra,elasticdog/elasticsearch,jimczi/elasticsearch,robin13/elasticsearch,naveenhooda2000/elasticsearch,Helen-Zhao/elasticsearch,HonzaKral/elasticsearch,jimczi/elasticsearch,mortonsykes/elasticsearch,Stacey-Gammon/elasticsearch,StefanGor/elasticsearch,Helen-Zhao/elasticsearch,Shepard1212/elasticsearch,scottsom/elasticsearch,gingerwizard/elasticsearch,fred84/elasticsearch,masaruh/elasticsearch,StefanGor/elasticsearch,scorpionvicky/elasticsearch,artnowo/elasticsearch,uschindler/elasticsearch,lks21c/elasticsearch,alexshadow007/elasticsearch,obourgain/elasticsearch,rlugojr/elasticsearch,mortonsykes/elasticsearch,GlenRSmith/elasticsearch,wenpos/elasticsearch,wangtuo/elasticsearch,mjason3/elasticsearch,a2lin/elasticsearch,JackyMai/elasticsearch,ThiagoGarciaAlves/elasticsearch,scorpionvicky/elasticsearch,kalimatas/elasticsearch,artnowo/elasticsearch,C-Bish/elasticsearch,nilabhsagar/elasticsearch,LeoYao/elasticsearch,bawse/elasticsearch,wangtuo/elasticsearch,maddin2016/elasticsearch,artnowo/elasticsearch,kalimatas/elasticsearch,Stacey-Gammon/elasticsearch,umeshdangat/elasticsearch,IanvsPoplicola/elasticsearch,i-am-Nathan/elasticsearch,JackyMai/elasticsearch,shreejay/elasticsearch,JSCooke/elasticsearch,fernandozhu/elasticsearch,Helen-Zhao/elasticsearch,sneivandt/elasticsearch,C-Bish/elasticsearch,robin13/elasticsearch,MisterAndersen/elasticsearch,gfyoung/elasticsearch,mjason3/elasticsearch,scottsom/elasticsearch,obourgain/elasticsearch,JackyMai/elasticsearch,LewayneNaidoo/elasticsearch,qwerty4030/elasticsearch,s1monw/elasticsearch,winstonewert/elasticsearch,mikemccand/elasticsearch,robin13/elasticsearch,qwerty4030/elasticsearch,a2lin/elasticsearch,Shepard1212/elasticsearch,markwalkom/elasticsearch,markwalkom/elasticsearch,glefloch/elasticsearch,LewayneNaidoo/elasticsearch,umeshdangat/elasticsearch,rlugojr/elasticsearch,wenpos/elasticsearch,winstonewert/elasticsearch,bawse/elasticsearch,nezirus/elasticsearch,IanvsPoplicola/elasticsearch,elasticdog/elasticsearch,nezirus/elasticsearch,GlenRSmith/elasticsearch,mohit/elasticsearch,scottsom/elasticsearch,fred84/elasticsearch,nazarewk/elasticsearch,ThiagoGarciaAlves/elasticsearch,gingerwizard/elasticsearch,IanvsPoplicola/elasticsearch,rajanm/elasticsearch,markwalkom/elasticsearch,s1monw/elasticsearch,uschindler/elasticsearch,coding0011/elasticsearch,vroyer/elassandra,nazarewk/elasticsearch,artnowo/elasticsearch,brandonkearby/elasticsearch,fred84/elasticsearch,winstonewert/elasticsearch,pozhidaevak/elasticsearch,jimczi/elasticsearch,jimczi/elasticsearch,njlawton/elasticsearch,rlugojr/elasticsearch,ZTE-PaaS/elasticsearch,alexshadow007/elasticsearch,bawse/elasticsearch,naveenhooda2000/elasticsearch,elasticdog/elasticsearch,fernandozhu/elasticsearch,LeoYao/elasticsearch,wangtuo/elasticsearch,StefanGor/elasticsearch,nknize/elasticsearch,vroyer/elassandra,coding0011/elasticsearch,alexshadow007/elasticsearch,IanvsPoplicola/elasticsearch,njlawton/elasticsearch,brandonkearby/elasticsearch,coding0011/elasticsearch,C-Bish/elasticsearch,wenpos/elasticsearch,gingerwizard/elasticsearch,lks21c/elasticsearch,gingerwizard/elasticsearch,maddin2016/elasticsearch,LeoYao/elasticsearch,umeshdangat/elasticsearch,naveenhooda2000/elasticsearch,nezirus/elasticsearch,glefloch/elasticsearch,fernandozhu/elasticsearch,scorpionvicky/elasticsearch,vroyer/elassandra,mohit/elasticsearch,ZTE-PaaS/elasticsearch,rajanm/elasticsearch,masaruh/elasticsearch,robin13/elasticsearch,scottsom/elasticsearch,JSCooke/elasticsearch,nknize/elasticsearch,shreejay/elasticsearch,uschindler/elasticsearch,brandonkearby/elasticsearch,glefloch/elasticsearch,wangtuo/elasticsearch,njlawton/elasticsearch,mjason3/elasticsearch,Stacey-Gammon/elasticsearch,Shepard1212/elasticsearch,qwerty4030/elasticsearch,geidies/elasticsearch,a2lin/elasticsearch,fred84/elasticsearch,nezirus/elasticsearch,winstonewert/elasticsearch