-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Enable running prepare-agent goal within a pom packaged project #119
Conversation
…or the prepare-agent goal
@Godin Can you please review this? |
@marchof Added into todo-list. |
I'd also like to see the |
@mfriedenhagen What do you think about this request? |
I can see a value in having pure pom projects with the ability for |
@mfriedenhagen I've written the integration test for what I wanted to achieve with this pull request. I can also see the value in having pure pom projects for The buildhive issue looks like it's attempting to auto merge and failing, which is odd since I've rebaselined this branch this evening. |
@mfriedenhagen Mirko, may I ask you to review and merge this PR? |
I changed the milestone to 0.6.5 as @Godin is already running preparations for the 0.6.4 release. |
|
@mfriedenhagen I fully agree with you here about the prepare-agent goal. Especially as there can be cases where a project execute tests but does not have its own target/classes folder. The original request was for AbstractJacocoMojo. At least for the instrument goal it might make sense to skip it there is no target/classes. |
@marchof: IMO we have to differentiate between mojos, some need |
@mfriedenhagen Indeed - this is reasonable. |
#171 removes the check for pom projects and instead checks in the relevant mojos for the existence of target/classes where appropriate. This also means, prepare-agent always set the agent property. |
Provides a mechanism to allow subclasses of AbstractJacocoMojo to allow pom packaged projects, and use that within the AgentMojo. See also #118