-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log code coverage for unit tests by Codecov
- Loading branch information
Showing
2 changed files
with
207 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
language: java | ||
|
||
jdk: | ||
- oraclejdk8 | ||
|
||
before_script: pip install --user codecov | ||
script: mvn clean checkstyle:checkstyle findbugs:findbugs install | ||
after_success: codecov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,182 +1,203 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>org.tinylog</groupId> | ||
<artifactId>parent</artifactId> | ||
<version>2.0.0-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
<url>http://www.tinylog.org/</url> | ||
|
||
<modules> | ||
<module>tinylog</module> | ||
<module>jcl-binding</module> | ||
<module>log4j-facade</module> | ||
<module>slf4j-binding</module> | ||
</modules> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
|
||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
|
||
<jcl.version>[1.2,1.3)</jcl.version> | ||
<slf4j.version>[1.6,1.8)</slf4j.version> | ||
<junit.version>4.12</junit.version> | ||
<hamcrest.version>1.3</hamcrest.version> | ||
<jmockit.version>1.20</jmockit.version> | ||
<h2.version>1.4.190</h2.version> | ||
|
||
<maven-compiler-plugin.version>3.3</maven-compiler-plugin.version> | ||
<maven-jar-plugin.version>2.6</maven-jar-plugin.version> | ||
<maven-source-plugin.version>2.4</maven-source-plugin.version> | ||
<maven-javadoc-plugin.version>2.10.3</maven-javadoc-plugin.version> | ||
<maven-bundle-plugin.version>3.0.1</maven-bundle-plugin.version> | ||
<maven-assembly-plugin.version>2.6</maven-assembly-plugin.version> | ||
<maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version> | ||
<findbugs-maven-plugin.version>3.0.3</findbugs-maven-plugin.version> | ||
</properties> | ||
|
||
<licenses> | ||
<license> | ||
<name>The Apache Software License, Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
</license> | ||
</licenses> | ||
|
||
<organization> | ||
<name>PMW Media</name> | ||
</organization> | ||
|
||
<developers> | ||
<developer> | ||
<name>Martin Winandy</name> | ||
<email>martin.winandy@tinylog.org</email> | ||
</developer> | ||
</developers> | ||
|
||
<scm> | ||
<connection>scm:git:github.com/pmwmedia/tinylog.git</connection> | ||
<developerConnection>scm:git:git@github.com:pmwmedia/tinylog.git</developerConnection> | ||
<url>https://github.com/pmwmedia/tinylog</url> | ||
</scm> | ||
|
||
<issueManagement> | ||
<system>GitHub</system> | ||
<url>https://github.com/pmwmedia/tinylog/issues</url> | ||
</issueManagement> | ||
|
||
<build> | ||
<plugins> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>${maven-compiler-plugin.version}</version> | ||
<configuration> | ||
<debug>false</debug> | ||
<optimize>true</optimize> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>${maven-jar-plugin.version}</version> | ||
<configuration> | ||
<archive> | ||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> | ||
<manifestEntries> | ||
<Built-By>${project.organization.name}</Built-By> | ||
</manifestEntries> | ||
<addMavenDescriptor>false</addMavenDescriptor> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.felix</groupId> | ||
<artifactId>maven-bundle-plugin</artifactId> | ||
<version>${maven-bundle-plugin.version}</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<instructions> | ||
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}; singleton:=true</Bundle-SymbolicName> | ||
</instructions> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>bundle-manifest</id> | ||
<phase>compile</phase> | ||
<goals> | ||
<goal>manifest</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>${maven-source-plugin.version}</version> | ||
<executions> | ||
<execution> | ||
<id>attach-sources</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>${maven-javadoc-plugin.version}</version> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-checkstyle-plugin</artifactId> | ||
<version>${maven-checkstyle-plugin.version}</version> | ||
<configuration> | ||
<consoleOutput>true</consoleOutput> | ||
<configLocation>${project.parent.basedir}/configuration/tinylog-checkstyle.xml</configLocation> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>findbugs-maven-plugin</artifactId> | ||
<version>${findbugs-maven-plugin.version}</version> | ||
<configuration> | ||
<excludeFilterFile>${project.parent.basedir}/configuration/tinylog-findbugs.xml</excludeFilterFile> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<version>${maven-assembly-plugin.version}</version> | ||
<configuration> | ||
<appendAssemblyId>false</appendAssemblyId> | ||
<descriptors> | ||
<descriptor>${project.parent.basedir}/distribution.xml</descriptor> | ||
</descriptors> | ||
</configuration> | ||
</plugin> | ||
|
||
</plugins> | ||
</build> | ||
|
||
</project> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>org.tinylog</groupId> | ||
<artifactId>parent</artifactId> | ||
<version>2.0.0-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
<url>http://www.tinylog.org/</url> | ||
|
||
<modules> | ||
<module>tinylog</module> | ||
<module>jcl-binding</module> | ||
<module>log4j-facade</module> | ||
<module>slf4j-binding</module> | ||
</modules> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
|
||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
|
||
<jcl.version>[1.2,1.3)</jcl.version> | ||
<slf4j.version>[1.6,1.8)</slf4j.version> | ||
<junit.version>4.12</junit.version> | ||
<hamcrest.version>1.3</hamcrest.version> | ||
<jmockit.version>1.20</jmockit.version> | ||
<h2.version>1.4.190</h2.version> | ||
|
||
<maven-compiler-plugin.version>3.3</maven-compiler-plugin.version> | ||
<maven-jar-plugin.version>2.6</maven-jar-plugin.version> | ||
<maven-source-plugin.version>2.4</maven-source-plugin.version> | ||
<maven-javadoc-plugin.version>2.10.3</maven-javadoc-plugin.version> | ||
<maven-bundle-plugin.version>3.0.1</maven-bundle-plugin.version> | ||
<maven-assembly-plugin.version>2.6</maven-assembly-plugin.version> | ||
<maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version> | ||
<findbugs-maven-plugin.version>3.0.3</findbugs-maven-plugin.version> | ||
<jacoco-maven-plugin.version>0.7.5.201505241946</jacoco-maven-plugin.version> | ||
</properties> | ||
|
||
<licenses> | ||
<license> | ||
<name>The Apache Software License, Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
</license> | ||
</licenses> | ||
|
||
<organization> | ||
<name>PMW Media</name> | ||
</organization> | ||
|
||
<developers> | ||
<developer> | ||
<name>Martin Winandy</name> | ||
<email>martin.winandy@tinylog.org</email> | ||
</developer> | ||
</developers> | ||
|
||
<scm> | ||
<connection>scm:git:github.com/pmwmedia/tinylog.git</connection> | ||
<developerConnection>scm:git:git@github.com:pmwmedia/tinylog.git</developerConnection> | ||
<url>https://github.com/pmwmedia/tinylog</url> | ||
</scm> | ||
|
||
<issueManagement> | ||
<system>GitHub</system> | ||
<url>https://github.com/pmwmedia/tinylog/issues</url> | ||
</issueManagement> | ||
|
||
<build> | ||
<plugins> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>${maven-compiler-plugin.version}</version> | ||
<configuration> | ||
<debug>false</debug> | ||
<optimize>true</optimize> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>${maven-jar-plugin.version}</version> | ||
<configuration> | ||
<archive> | ||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> | ||
<manifestEntries> | ||
<Built-By>${project.organization.name}</Built-By> | ||
</manifestEntries> | ||
<addMavenDescriptor>false</addMavenDescriptor> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.felix</groupId> | ||
<artifactId>maven-bundle-plugin</artifactId> | ||
<version>${maven-bundle-plugin.version}</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<instructions> | ||
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}; singleton:=true</Bundle-SymbolicName> | ||
</instructions> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>bundle-manifest</id> | ||
<phase>compile</phase> | ||
<goals> | ||
<goal>manifest</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>${maven-source-plugin.version}</version> | ||
<executions> | ||
<execution> | ||
<id>attach-sources</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>${maven-javadoc-plugin.version}</version> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-checkstyle-plugin</artifactId> | ||
<version>${maven-checkstyle-plugin.version}</version> | ||
<configuration> | ||
<consoleOutput>true</consoleOutput> | ||
<configLocation>${project.parent.basedir}/configuration/tinylog-checkstyle.xml</configLocation> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>findbugs-maven-plugin</artifactId> | ||
<version>${findbugs-maven-plugin.version}</version> | ||
<configuration> | ||
<excludeFilterFile>${project.parent.basedir}/configuration/tinylog-findbugs.xml</excludeFilterFile> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<version>${maven-assembly-plugin.version}</version> | ||
<configuration> | ||
<appendAssemblyId>false</appendAssemblyId> | ||
<descriptors> | ||
<descriptor>${project.parent.basedir}/distribution.xml</descriptor> | ||
</descriptors> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.jacoco</groupId> | ||
<artifactId>jacoco-maven-plugin</artifactId> | ||
<version>${jacoco-maven-plugin.version}</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>prepare-agent</goal> | ||
</goals> | ||
</execution> | ||
<execution> | ||
<id>report</id> | ||
<phase>test</phase> | ||
<goals> | ||
<goal>report</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
</plugins> | ||
</build> | ||
|
||
</project> |