This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-spi-extensions.git
The following commit(s) were added to refs/heads/master by this push:
new c082718 Fix jacoco (#46)
c082718 is described below
commit c082718523d79733f7d60b7d6bc8648ce5093ceb
Author: Albumen Kevin <[email protected]>
AuthorDate: Sun Aug 1 20:53:16 2021 +0800
Fix jacoco (#46)
* fix argline
* fix jacoco
* change default
---
.../dubbo-cluster-broadcast-1/pom.xml | 1 +
pom.xml | 17 ++++++++++++++---
2 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/dubbo-cluster-extensions/dubbo-cluster-broadcast-1/pom.xml
b/dubbo-cluster-extensions/dubbo-cluster-broadcast-1/pom.xml
index 9761a2c..759af8f 100644
--- a/dubbo-cluster-extensions/dubbo-cluster-broadcast-1/pom.xml
+++ b/dubbo-cluster-extensions/dubbo-cluster-broadcast-1/pom.xml
@@ -27,6 +27,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>dubbo-cluster-broadcast-1</artifactId>
+ <packaging>jar</packaging>
<dependencies>
<dependency>
diff --git a/pom.xml b/pom.xml
index 4729d94..05de88a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,7 +17,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
-
+
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
@@ -109,6 +109,10 @@
<java_source_version>1.8</java_source_version>
<java_target_version>1.8</java_target_version>
<file_encoding>UTF-8</file_encoding>
+ <!-- Build args -->
+ <argline>-server -Xms256m -Xmx512m -Dfile.encoding=UTF-8
+ -Djava.net.preferIPv4Stack=true -XX:MetaspaceSize=64m
-XX:MaxMetaspaceSize=128m
+ </argline>
<maven_jar_version>3.2.0</maven_jar_version>
<maven_surefire_version>2.22.2</maven_surefire_version>
@@ -125,7 +129,7 @@
<checkstyle.skip>true</checkstyle.skip>
<checkstyle_unix.skip>true</checkstyle_unix.skip>
<rat.skip>true</rat.skip>
- <jacoco.skip>true</jacoco.skip>
+ <jacoco.skip>false</jacoco.skip>
</properties>
<dependencyManagement>
@@ -229,8 +233,15 @@
<id>report-aggregate</id>
<phase>verify</phase>
<goals>
- <goal>report-aggregate</goal>
+ <goal>report</goal>
</goals>
+ <configuration>
+ <includes>
+ <include>target/classes/**/*</include>
+ <include>target/classes/**</include>
+ <include>**/*</include>
+ </includes>
+ </configuration>
</execution>
</executions>
</plugin>