Work on codecov integration

This commit is contained in:
jamesagnew 2019-09-25 13:25:59 -04:00
parent 7700bb85ef
commit b2c13f3018
5 changed files with 27 additions and 11 deletions

View File

@ -318,6 +318,7 @@
<fileSet implementation="org.apache.maven.shared.model.fileset.FileSet"> <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
<directory>${basedir}/..</directory> <directory>${basedir}/..</directory>
<includes> <includes>
<!--
<include>hapi-fhir-base/target/jacoco.exec</include> <include>hapi-fhir-base/target/jacoco.exec</include>
<include>hapi-fhir-client/target/jacoco.exec</include> <include>hapi-fhir-client/target/jacoco.exec</include>
<include>hapi-fhir-server/target/jacoco.exec</include> <include>hapi-fhir-server/target/jacoco.exec</include>
@ -326,13 +327,16 @@
<include>hapi-fhir-structures-hl7org-dstu2/target/jacoco.exec</include> <include>hapi-fhir-structures-hl7org-dstu2/target/jacoco.exec</include>
<include>hapi-fhir-structures-dstu3/target/jacoco.exec</include> <include>hapi-fhir-structures-dstu3/target/jacoco.exec</include>
<include>hapi-fhir-structures-r4/target/jacoco.exec</include> <include>hapi-fhir-structures-r4/target/jacoco.exec</include>
-->
<include>hapi-fhir-jpaserver-model/target/jacoco.exec</include> <include>hapi-fhir-jpaserver-model/target/jacoco.exec</include>
<include>hapi-fhir-jpaserver-searchparam/target/jacoco.exec</include> <include>hapi-fhir-jpaserver-searchparam/target/jacoco.exec</include>
<include>hapi-fhir-jpaserver-subscription/target/jacoco.exec</include> <include>hapi-fhir-jpaserver-subscription/target/jacoco.exec</include>
<include>hapi-fhir-jpaserver-base/target/jacoco.exec</include> <include>hapi-fhir-jpaserver-base/target/jacoco.exec</include>
<!--
<include>hapi-fhir-client-okhttp/target/jacoco.exec</include> <include>hapi-fhir-client-okhttp/target/jacoco.exec</include>
<include>hapi-fhir-android/target/jacoco.exec</include> <include>hapi-fhir-android/target/jacoco.exec</include>
<include>hapi-fhir-validation/target/jacoco.exec</include> <include>hapi-fhir-validation/target/jacoco.exec</include>
-->
</includes> </includes>
</fileSet> </fileSet>
</fileSets> </fileSets>
@ -351,6 +355,7 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<!--
<plugin> <plugin>
<groupId>org.eluder.coveralls</groupId> <groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId> <artifactId>coveralls-maven-plugin</artifactId>
@ -381,7 +386,8 @@
<version>2.3.0</version> <version>2.3.0</version>
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>
-->
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId> <artifactId>build-helper-maven-plugin</artifactId>
@ -394,9 +400,11 @@
</goals> </goals>
<configuration> <configuration>
<sources> <sources>
<!--
<source>../hapi-fhir-base/src/main/java</source> <source>../hapi-fhir-base/src/main/java</source>
<source>../hapi-fhir-client/src/main/java</source> <source>../hapi-fhir-client/src/main/java</source>
<source>../hapi-fhir-server/src/main/java</source> <source>../hapi-fhir-server/src/main/java</source>
-->
<source>../hapi-fhir-jpaserver-model/src/main/java</source> <source>../hapi-fhir-jpaserver-model/src/main/java</source>
<source>../hapi-fhir-jpaserver-searchparam/src/main/java</source> <source>../hapi-fhir-jpaserver-searchparam/src/main/java</source>
<source>../hapi-fhir-jpaserver-subscription/src/main/java</source> <source>../hapi-fhir-jpaserver-subscription/src/main/java</source>
@ -424,9 +432,11 @@
<resources> <resources>
</resources> </resources>
<testResources> <testResources>
<!--
<testResource> <testResource>
<directory>../hapi-fhir-base/src/test/resources</directory> <directory>../hapi-fhir-base/src/test/resources</directory>
</testResource> </testResource>
-->
<testResource> <testResource>
<directory>../hapi-fhir-jpaserver-model/src/test/resources</directory> <directory>../hapi-fhir-jpaserver-model/src/test/resources</directory>
</testResource> </testResource>
@ -439,6 +449,7 @@
<testResource> <testResource>
<directory>../hapi-fhir-jpaserver-base/src/test/resources</directory> <directory>../hapi-fhir-jpaserver-base/src/test/resources</directory>
</testResource> </testResource>
<!--
<testResource> <testResource>
<directory>../hapi-fhir-structures-dstu/src/test/resources</directory> <directory>../hapi-fhir-structures-dstu/src/test/resources</directory>
</testResource> </testResource>
@ -454,6 +465,7 @@
<testResource> <testResource>
<directory>../hapi-fhir-client-okhttp/src/test/resources</directory> <directory>../hapi-fhir-client-okhttp/src/test/resources</directory>
</testResource> </testResource>
-->
</testResources> </testResources>
</build> </build>
<reporting> <reporting>

View File

@ -660,14 +660,6 @@
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
<configuration> <configuration>
<classFolders>
<classFolder>${basedir}/target/classes</classFolder>
<classFolder>${basedir}../hapi-fhir-base/target/classes</classFolder>
</classFolders>
<sourceFolders>
<sourceFolder>${basedir}/src/main/java</sourceFolder>
<sourceFolder>${basedir}/../hapi-fhir-base/src/main/java</sourceFolder>
</sourceFolders>
<dumpOnExit>true</dumpOnExit> <dumpOnExit>true</dumpOnExit>
</configuration> </configuration>
<executions> <executions>
@ -677,6 +669,17 @@
<goal>prepare-agent</goal> <goal>prepare-agent</goal>
</goals> </goals>
</execution> </execution>
<execution>
<id>post-integration-test</id>
<phase>install</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<dataFile>${project.build.directory}/jacoco.exec</dataFile>
<outputDirectory>${project.reporting.outputDirectory}/jacoco-report</outputDirectory>
</configuration>
</execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>

View File

@ -324,7 +324,7 @@ public class FhirResourceDaoR4SearchPageExpiryTest extends BaseJpaR4Test {
} }
}); });
DatabaseSearchCacheSvcImpl.setNowForUnitTests(search3timestamp.get() + 1100); DatabaseSearchCacheSvcImpl.setNowForUnitTests(search3timestamp.get() + 2100);
myStaleSearchDeletingSvc.pollForStaleSearchesAndDeleteThem(); myStaleSearchDeletingSvc.pollForStaleSearchesAndDeleteThem();
newTxTemplate().execute(new TransactionCallbackWithoutResult() { newTxTemplate().execute(new TransactionCallbackWithoutResult() {

View File

@ -607,7 +607,7 @@
<httpcore_version>4.4.11</httpcore_version> <httpcore_version>4.4.11</httpcore_version>
<httpclient_version>4.5.9</httpclient_version> <httpclient_version>4.5.9</httpclient_version>
<jackson_version>2.9.9</jackson_version> <jackson_version>2.9.9</jackson_version>
<jackson_databind_version>2.9.9.1</jackson_databind_version> <jackson_databind_version>2.9.10</jackson_databind_version>
<maven_assembly_plugin_version>3.1.0</maven_assembly_plugin_version> <maven_assembly_plugin_version>3.1.0</maven_assembly_plugin_version>
<maven_license_plugin_version>1.8</maven_license_plugin_version> <maven_license_plugin_version>1.8</maven_license_plugin_version>
<resteasy_version>4.0.0.Beta3</resteasy_version> <resteasy_version>4.0.0.Beta3</resteasy_version>

View File

@ -13,6 +13,7 @@
<![CDATA[ <![CDATA[
<ul> <ul>
<li>Hibernate Core (Core): 5.4.2.Final -&gt; 5.4.4.Final</li> <li>Hibernate Core (Core): 5.4.2.Final -&gt; 5.4.4.Final</li>
<li>Jackson Databind (JPA): 2.9.9 -&gt; 2.9.10 (CVE-2019-16335, CVE-2019-14540)</li>
</ul> </ul>
]]> ]]>
</action> </action>