Creating a snap with maven for eclipse papyrus

Hello Snapcraft community, I would like to compile Eclipse Papyrus into a snap. The problem is that with Github Action I can compile it and create the snapshot. But with the snapcraft site I can’t do it. Eclipse Papyrus uses maven for compilation and Java 11 minimum.

Here is the snapcraft.yaml file: snapcraft.yaml

Here are the logs of the snapcraft site: Logs Snapcraft

Thank you for your help. Great regards