|
|
Re: Git / Maven Setup for standalone build [message #1841589 is a reply to message #1841583] |
Fri, 21 May 2021 10:53 |
Konrad Jünemann Messages: 93 Registered: December 2018 |
Member |
|
|
OK, I see (I assume you meant maven SHADE not SHARE).
Two follow-up question:
1. I assume I would create a new module in my parent POM that refers to the child POM, in which I would configure the maven shade plugin. Is that correct? So when I build my DSL i would also automatically build the standalone.jar, right?
2. If I want to compile .myDsl files in a maven build process (obviously I mean a pipeline different from my DSL-pipeline). Is my approach (compile a simple standalone.jar, then run this jar through maven) suboptimal in your opinion? It seems that the other approach is to create a maven plugin that does the compilation in the maven pipeline for me, instead of using the standalone.jar-file? Did I understand you correctly this time? I would assume this is what the "Integration in Standard Maven Builds" is about.
Thanks for your help.
€:
OK, after Reading this article and looking into this class I think I have been doing in fundamentally wrong. Your "Integration in Standard Maven Builds" already describes how I can compile .mydsl files in client-projects. I will give this a try.
[Updated on: Thu, 30 September 2021 08:49] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04993 seconds