Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Use jar from Artifact Registry Maven in batch

Hello,

I am curretly testing possibilities of running application in dataproc serverless batch. I know it is possible to run it as jar from bucket or in container image. Is it also possible to use jar from Artifact Registry of type Maven? In our opinion, it is better for storing jars then just bucket.

Thank you for any tips.

0 2 119
2 REPLIES 2

Hi @vitstransky,

Welcome to the Google Cloud community!

Yes, you can run your application in Dataproc Serverless Batch using a JAR stored in Artifact Registry with the Maven repository format. This approach offers advantages over using Cloud Storage buckets, such as enhanced security and version control.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.

Hello @ChieKo,

thank you for your answer. May I ask you how to pass the JAR stored in Maven format Artifact Registry to Dataproc Serverless Batch? For example for JAR from bucket I set it in "Main jar URI". I wasn't able to find similar way for Maven stored one.

Thank you.