How to build maven packages from gradle command

Now Elasticsearch use gradle to build. I change some client code, and wander to know how to build maven packages. Who can tell me the command, Thanks!

What do you mean by "maven packages"? Which artifact are you trying to build? And why are you not using the maven artifacts published to maven central?