Generating a release is something very broad and involves many things. But the most basic can be achieved with Maven itself, via "release:prepare" and "release:perform". More details about the "release" plugin can be found in official documentation.
Based on the comments of these answers: with Maven, you specify the type of project you have (jar, War, Ear), and Maven automatically generates the artifact via "mvn package". The package is in the "target" directory. Libraries that are defined as "normal" dependencies (Scope=Compile, or no defined scope), are placed in the final package, whether War or Ear. If it is a jar, you need to use a plugin like the "Assembly", that will end up generating a great jar with all the dependencies included.
As it is, the question is hard to answer. What exactly do you call
gerar releases
? What kind of functionality/behavior do you expect?– elias