-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[MNG-7664] consolidate Velocity templates used to generate code from models #949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
uh, I'm surprised that commit 38fc24b creates an IT failure... next steps:
|
d15cc3f to
c8e8d79
Compare
|
at this stage:
|
|
here it is: everything is shared in root module the 2 specific generator Velocity templates are named |
michael-o
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't be shared resources module better than ${basedir}/.. magic?
What would be the benefit of creating an additional module and publishing the artifact if it's purely internal ? |
First of all, the deployment can be skipped. I remember that in this exact situation we recommend users to share a module in reactor instead of dealing with path traversal. Of course, it is a bit more work. The result is the same. I will leave the decision to @hboutemy . |
|
thinking again at Modello Velocity Plugin, instead of magically reusing existing |
|
done: I'm now happy with the result:
last review before I work on doing the Modello 2.1.1 release that includes necessary changes then I can merge this PR |
|
Resolve #8788 |
https://issues.apache.org/jira/browse/MNG-7664