How to work around a needed Maven (or Gradles) plugin

71 views
Skip to first unread message

Esben Nielsen

unread,
Apr 7, 2022, 4:45:49 AM4/7/22
to bazel-discuss
Hi,

I would like to use Bazel in a Java project building Azure Function Apps - currently using Maven.
The final steps, however, is based on custom Maven plugins by Microsoft. When I look at the Microsoft documentation, there are only two ways of doing this: Using a Maven or a Gradle plugin.
There is no command line tool, I could have called from a genrule :-(.

I have played around making a genrule calling maven using the existing pom files, but it is very hard to prepare a suiteable sandbox for it, since I have to download/create all the dependencies and put into a local repository first, so I have more less given up on that.

/Esben

Simon Stewart

unread,
Apr 7, 2022, 4:53:13 AM4/7/22
to Esben Nielsen, bazel-discuss
Since it's a plugin that works for more than one java build tool, the chances are pretty high that there's an underlying shared library that they share. Is the code available? If it is, you can likely find the entry point to that shared code and call it yourself (perhaps with a custom `java_binary` target)

Simon

--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/cec451e4-b533-49b3-95bb-bc2c8dc43c62n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages