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

Skip compile-stage for certain goals #405

Open
4soft-liebig opened this issue Jun 20, 2024 · 2 comments
Open

Skip compile-stage for certain goals #405

4soft-liebig opened this issue Jun 20, 2024 · 2 comments

Comments

@4soft-liebig
Copy link

Hi,
we are using gitflow-maven-plugin for a while now (version: 1.21.0). I was wondering if there is a way to skip the compile step for a project for certain goals, such as support:start. The reason is that the goal does not add new code/functionality at the time of being started. Another goal -- with respect to our workflow -- would be release:start, since compilation and testing happens during release:finish.

Just an idea to improve CI/CD times a bit.

Thanks in advance
Jörg

@aleksandr-m
Copy link
Owner

There is installProject property. Is that what you are looking for?

@4soft-liebig
Copy link
Author

Sorry. I missed that option.

One more question. I configure installProject=true in my pom.xml and want to disable it for a specific call via command line -DinstallProject=false (overwriting the global config in pom.xml). This did not work. So I can either set the gitflow-maven-plugin options globally in pom.xml or via comand-line overwriting the existing default. Is that correct?

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