'How can I compile & use Maven Protos in my Azure DevOps Pipelines?

I have a Java Project where the pom.xml requires maven protos to be compiled & used as an artifact in my Azure DevOps pipelines. This artifact has to be pushed to a nexus repository & then to be used before my docker build.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source