ARTEMIS-1265 Fixing jacoco profile for IDE integration Idea and Eclipse integration was broken because of the surefire plugin options
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/14fe149f Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/14fe149f Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/14fe149f Branch: refs/heads/master Commit: 14fe149fa5c8a0e7851e4dd52ddf6361adf98bf0 Parents: e27a0f8 Author: Clebert Suconic <[email protected]> Authored: Mon Jul 24 15:10:13 2017 -0400 Committer: Clebert Suconic <[email protected]> Committed: Mon Jul 24 15:11:24 2017 -0400 ---------------------------------------------------------------------- pom.xml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/14fe149f/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 163d928..bab26df 100644 --- a/pom.xml +++ b/pom.xml @@ -155,14 +155,10 @@ --> - <!-- Property set by Jacoco plugin --> - <jacoco.agent></jacoco.agent> - <activemq-surefire-argline>-Djava.util.logging.manager=org.jboss.logmanager.LogManager -Dlogging.configuration="file:${activemq.basedir}/tests/config/logging.properties" -Djava.library.path="${activemq.basedir}/artemis-native/bin" -Djgroups.bind_addr=localhost -Dorg.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory.localBindAddress=localhost -Djava.net.preferIPv4Stack=true -Dbasedir=${basedir} - @{jacoco.agent} -Djacoco.agent=@{jacoco.agent} </activemq-surefire-argline> <activemq.basedir>${project.basedir}</activemq.basedir> <skipLicenseCheck>true</skipLicenseCheck> @@ -986,6 +982,18 @@ <artifactId>org.jacoco.core</artifactId> </dependency> </dependencies> + <properties> + + <!-- Property set by Jacoco plugin --> + <jacoco.agent></jacoco.agent> + + <activemq-surefire-argline>-Djava.util.logging.manager=org.jboss.logmanager.LogManager + -Dlogging.configuration="file:${activemq.basedir}/tests/config/logging.properties" + -Djava.library.path="${activemq.basedir}/artemis-native/bin" -Djgroups.bind_addr=localhost -Dorg.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory.localBindAddress=localhost + -Djava.net.preferIPv4Stack=true -Dbasedir=${basedir} + @{jacoco.agent} -Djacoco.agent=@{jacoco.agent} + </activemq-surefire-argline> + </properties> <build> <plugins> <plugin>
