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
Allow to configure maven plugin from a property file #679
Comments
I raised an enhancement request with the MOJO project: MOJO-2005 but from the developer's comment, it does not look like there is anything they can do to help. |
Thanks for your suggestion. Your properties plugin argument convinced me. Accepted. This can build nicely on the property support present for the command-line tool. Pull request welcome. Cheers |
Implemented. |
I just tried release 3.0 of the maven plugin with the configFile configuration option. It works brilliantly! Also it simplifies quite significantly the POM.XML: at least 30 lines less. Thank you for that. |
Hey @adelinor @axelfontaine @MikielAgutu @Lyeeedar @juliahayward , I am trying to load the flyway properties from my application.yaml , but they dont seem to work. Can you please help me figure out what am I doing wrong here. I am trying to invoke the flyway clean goal, using the command:
my POM.xml:
My application yaml:
|
@abhi2495 What do you see happen? Do you get an error stack trace, a silent failure, a process hanging, something else? |
@juliahayward When I run the maven command, the build fails with the log:
|
#2876 tracks the new problem. |
It would be extremely useful to be able to get the values for the flyway maven plugin configuration from a property file. For instance:
The Maven properties plugin is not invoked when running flyway goals such as:
mvn flyway:info
Having this working would be extremely useful.
The text was updated successfully, but these errors were encountered: