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

Report-aggregate better configurable from mvn command #1550

Open
jakoubektom opened this issue Dec 4, 2023 · 0 comments
Open

Report-aggregate better configurable from mvn command #1550

jakoubektom opened this issue Dec 4, 2023 · 0 comments

Comments

@jakoubektom
Copy link

Scenario

  • JaCoCo version: 0.8.11
  • Operating system: Ubuntu 22.04
  • Tool integration: Maven
  • Description of your use case: I want to be able to configure report-aggregate goal configuration properties (formats, includeCurrentProject) from mvn command in bash e.g. mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify org.jacoco:jacoco-maven-plugin:report-aggregate -Djacoco.includeCurrentProject=true as well as it is with jacoco.skip property.

Current Behaviour

<configuration>
   ...
   <formats implementation="java.util.List" default-value="HTML,XML,CSV"/>
   <includeCurrentProject implementation="boolean" default-value="false"/>
   <skip implementation="boolean" default-value="false">${jacoco.skip}</skip>
   ...
</configuration>

Wanted Behaviour

<configuration>
   ...
   <formats implementation="java.util.List" default-value="HTML,XML,CSV">${jacoco.formats}</formats>
   <includeCurrentProject implementation="boolean" default-value="false">${jacoco.includeCurrentProject}</includeCurrentProject>
   <skip implementation="boolean" default-value="false">${jacoco.skip}</skip>
   ...
</configuration>
@jakoubektom jakoubektom changed the title Report-aggregate more configurable from mvn command Report-aggregate better configurable from mvn command Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant