Skip to content
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

How to run a groovy script at generate-source phase #187

Closed
CrowleyPrograms opened this issue Jul 13, 2016 · 1 comment
Closed

How to run a groovy script at generate-source phase #187

CrowleyPrograms opened this issue Jul 13, 2016 · 1 comment

Comments

@CrowleyPrograms
Copy link

Hello everyone and thanks for taking your time to read through this!
This is the first time I work with groovy and I decided to write up a script to automatically create an enum out of a properties file.
So far so good, but how do I make the script compile at the generate-sources phase? I have only found solutions with maven, however I keep getting errors when I try to install this plugin via maven. Note: This is also the first time I am working with maven.

Have a nice day ~Crowley

@eric-milles
Copy link
Member

This sounds like a question for a Maven forum. You want to run an executable at a specific phase of a Maven build. The fact that the process is a Groovy script is not important in this context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants