I think I'm doing something wrong.
If I remove the jars from the source code of the war project (ande keep all the M2_REPO/...jar in the buildpath), when I republish from jboss studio and I check the temporary folder (on Servers tab-> explore), there is no any jar in the war file inside the ear. Therefore, the jar were not copied to the deploy directory.
What I am doing wrong?