Commit c46a7a9a authored by Dennis Hendriks's avatar Dennis Hendriks
Browse files

#34 Added coverage to Maven build.

parent fd607c78
......@@ -25,12 +25,10 @@
<packaging>pom</packaging>
<modules>
<module>releng/org.eclipse.escet.target</module>
<module>releng/org.eclipse.escet.license.mit</module>
<module>chi</module>
<module>cif</module>
<module>common</module>
<module>releng</module>
<module>setext</module>
<module>thirdparty</module>
<module>tooldef</module>
......
......@@ -54,6 +54,9 @@ SPDX-License-Identifier: MIT
<!-- Eclipse Dash license tool. -->
<eclipse.dash.license.tool.version>0.0.1-SNAPSHOT</eclipse.dash.license.tool.version>
<!-- JaCoCo code coverage tool. -->
<jacoco.version>0.8.7</jacoco.version>
</properties>
<pluginRepositories>
......@@ -215,6 +218,27 @@ SPDX-License-Identifier: MIT
</execution>
</executions>
</plugin>
<!-- Enable JaCoCo code coverage. -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<configuration>
<output>file</output>
</configuration>
<executions>
<execution>
<id>jacoco-initialize</id>
<phase>pre-integration-test</phase>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
......
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.escet.releng.tests</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Eclipse ESCET Tests (Incubation)
Bundle-SymbolicName: org.eclipse.escet.releng.tests;singleton:=true
Bundle-Version: 0.4.0.qualifier
Bundle-Vendor: Eclipse ESCET
Automatic-Module-Name: org.eclipse.escet.releng.tests
Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.escet.chi.codegen.tests;bundle-version="0.4.0",
org.eclipse.escet.chi.runtime.tests;bundle-version="0.4.0",
org.eclipse.escet.chi.tests;bundle-version="0.4.0",
org.eclipse.escet.cif.cif2mcrl2.tests;bundle-version="0.4.0",
org.eclipse.escet.cif.cif2plc.tests;bundle-version="0.4.0",
org.eclipse.escet.cif.codegen.tests;bundle-version="0.4.0",
org.eclipse.escet.cif.common.tests;bundle-version="0.4.0",
org.eclipse.escet.cif.controllercheck.tests;bundle-version="0.4.0",
org.eclipse.escet.cif.datasynth.tests;bundle-version="0.4.0",
org.eclipse.escet.cif.eventbased.tests;bundle-version="0.4.0",
org.eclipse.escet.cif.io.tests;bundle-version="0.4.0",
org.eclipse.escet.cif.simulator.tests;bundle-version="0.4.0",
org.eclipse.escet.cif.tests;bundle-version="0.4.0",
org.eclipse.escet.cif.typechecker.tests;bundle-version="0.4.0",
org.eclipse.escet.common.app.framework.tests;bundle-version="0.4.0",
org.eclipse.escet.common.box.tests;bundle-version="0.4.0",
org.eclipse.escet.common.emf.tests;bundle-version="0.4.0",
org.eclipse.escet.common.java.tests;bundle-version="0.4.0",
org.eclipse.escet.common.multivaluetrees.tests;bundle-version="0.4.0",
org.eclipse.escet.setext.generator.tests;bundle-version="0.4.0",
org.eclipse.escet.setext.runtime.tests;bundle-version="0.4.0",
org.eclipse.escet.setext.tests;bundle-version="0.4.0",
org.eclipse.escet.setext.texteditor.tests;bundle-version="0.4.0",
org.eclipse.escet.tooldef.common.tests;bundle-version="0.4.0",
org.eclipse.escet.tooldef.runtime.tests;bundle-version="0.4.0",
org.eclipse.escet.tooldef.tests;bundle-version="0.4.0"
###############################################################################
# Copyright (c) 2021 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the terms
# of the MIT License which is available at https://opensource.org/licenses/MIT
#
# SPDX-License-Identifier: MIT
###############################################################################
bin.includes = META-INF/
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2021 Contributors to the Eclipse Foundation
See the NOTICE file(s) distributed with this work for additional
information regarding copyright ownership.
This program and the accompanying materials are made available under the terms
of the MIT License which is available at https://opensource.org/licenses/MIT
SPDX-License-Identifier: MIT
-->
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.escet</groupId>
<artifactId>org.eclipse.escet.root</artifactId>
<version>0.4.0-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<artifactId>org.eclipse.escet.releng.tests</artifactId>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
<!-- JaCoCo code coverage aggregate report. -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>report-aggregate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment